Home
last modified time | relevance | path

Searched refs:MaskedValueIsZero (Results 1 – 25 of 53) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp92 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
132 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
156 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
643 MaskedValueIsZero(I.getOperand(0), in visitShl()
698 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitLShr()
744 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitAShr()
751 if (MaskedValueIsZero(Op0, in visitAShr()
DInstCombineMulDivRem.cpp240 if (MaskedValueIsZero(Op0, Negative2)) in visitMul()
242 else if (MaskedValueIsZero(Op1, Negative2)) in visitMul()
537 if (MaskedValueIsZero(Op0, Mask)) { in visitSDiv()
538 if (MaskedValueIsZero(Op1, Mask)) { in visitSDiv()
680 if (MaskedValueIsZero(Op1, Mask) && MaskedValueIsZero(Op0, Mask)) { in visitSRem()
DInstCombineAndOrXor.cpp433 if (MaskedValueIsZero(RHS, Mask)) in FoldLogicalPlusAnd()
1064 if (MaskedValueIsZero(Op0LHS, NotAndRHS)) { in visitAnd()
1071 MaskedValueIsZero(Op0RHS, NotAndRHS)) { in visitAnd()
1104 if (MaskedValueIsZero(Op0LHS, Mask)) { in visitAnd()
1819 MaskedValueIsZero(Op1, C1->getValue())) { in visitOr()
1828 MaskedValueIsZero(Op0, C1->getValue())) { in visitOr()
1849 if (V1 == B && MaskedValueIsZero(V2, C2->getValue())) in visitOr()
1851 if (V2 == B && MaskedValueIsZero(V1, C2->getValue())) in visitOr()
1858 if (V1 == A && MaskedValueIsZero(V2, C1->getValue())) in visitOr()
1860 if (V2 == A && MaskedValueIsZero(V1, C1->getValue())) in visitOr()
[all …]
DInstCombine.h295 bool MaskedValueIsZero(Value *V, const APInt &Mask,
297 return llvm::MaskedValueIsZero(V, Mask, TD, Depth);
DInstCombineCasts.cpp367 if (MaskedValueIsZero(I->getOperand(0), Mask) && in CanEvaluateTruncated()
368 MaskedValueIsZero(I->getOperand(1), Mask)) { in CanEvaluateTruncated()
391 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateTruncated()
695 if (MaskedValueIsZero(I->getOperand(1), in CanEvaluateZExtd()
785 if (MaskedValueIsZero(Res, APInt::getHighBitsSet(DestBitSize, in visitZExt()
DInstCombineAddSub.cpp130 if (!MaskedValueIsZero(XorLHS, Mask)) in visitAdd()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp96 if (IC.MaskedValueIsZero(SecondShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift()
139 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
713 MaskedValueIsZero(I.getOperand(0), in visitShl()
772 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitLShr()
817 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitAShr()
825 if (MaskedValueIsZero(Op0, in visitAShr()
DInstCombineMulDivRem.cpp377 if (MaskedValueIsZero(Op0, Negative2, 0, &I)) { in visitMul()
380 } else if (MaskedValueIsZero(Op1, Negative2, 0, &I)) { in visitMul()
1190 if (MaskedValueIsZero(Op0, Mask, 0, &I)) { in visitSDiv()
1191 if (MaskedValueIsZero(Op1, Mask, 0, &I)) { in visitSDiv()
1480 if (MaskedValueIsZero(Op1, Mask, 0, &I) && in visitSRem()
1481 MaskedValueIsZero(Op0, Mask, 0, &I)) { in visitSRem()
DInstCombineAndOrXor.cpp384 if (MaskedValueIsZero(RHS, Mask, 0, &I)) in FoldLogicalPlusAnd()
1345 if (MaskedValueIsZero(Op0LHS, NotAndRHS, 0, &I)) { in visitAnd()
1352 MaskedValueIsZero(Op0RHS, NotAndRHS, 0, &I)) { in visitAnd()
1389 if (MaskedValueIsZero(Op0LHS, Mask, 0, &I)) { in visitAnd()
2186 MaskedValueIsZero(Op1, C1->getValue(), 0, &I)) { in visitOr()
2195 MaskedValueIsZero(Op0, C1->getValue(), 0, &I)) { in visitOr()
2234 MaskedValueIsZero(V2, ~C1->getValue(), 0, &I)) || // (V|N) in visitOr()
2236 MaskedValueIsZero(V1, ~C1->getValue(), 0, &I)))) // (N|V) in visitOr()
2242 MaskedValueIsZero(V2, ~C2->getValue(), 0, &I)) || // (V|N) in visitOr()
2244 MaskedValueIsZero(V1, ~C2->getValue(), 0, &I)))) // (N|V) in visitOr()
[all …]
DInstCombineInternal.h483 bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0,
485 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
DInstCombineCasts.cpp371 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated()
372 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated()
395 if (IC.MaskedValueIsZero(I->getOperand(0), in canEvaluateTruncated()
769 if (IC.MaskedValueIsZero(I->getOperand(1), in canEvaluateZExtd()
871 if (MaskedValueIsZero(Res, in visitZExt()
/external/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp26 DAG.MaskedValueIsZero(Size, APInt(SizeBitWidth, 3))) { in EmitTargetCodeForMemcpy()
DXCoreISelLowering.cpp684 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) && in TryExpandADDWithMul()
685 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) { in TryExpandADDWithMul()
1777 DAG.MaskedValueIsZero(Mul0, HighMask) && in PerformDAGCombine()
1778 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine()
1779 DAG.MaskedValueIsZero(Addend0, HighMask) && in PerformDAGCombine()
1780 DAG.MaskedValueIsZero(Addend1, HighMask)) { in PerformDAGCombine()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DValueTracking.h69 bool MaskedValueIsZero(Value *V, const APInt &Mask,
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.cpp671 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) && in TryExpandADDWithMul()
672 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) { in TryExpandADDWithMul()
1455 DAG.MaskedValueIsZero(Mul0, HighMask) && in PerformDAGCombine()
1456 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine()
1457 DAG.MaskedValueIsZero(Addend0, HighMask) && in PerformDAGCombine()
1458 DAG.MaskedValueIsZero(Addend1, HighMask)) { in PerformDAGCombine()
/external/llvm/include/llvm/Analysis/
DValueTracking.h132 bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL,
/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp228 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp233 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelDAGToDAG.cpp92 !CurDAG->MaskedValueIsZero(LHS, in get_zapImm()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2284 if (N1C && DAG.MaskedValueIsZero(SDValue(N, 0), in visitAND()
2301 if (DAG.MaskedValueIsZero(N0Op0, Mask)) { in visitAND()
2378 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND()
2400 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND()
2576 !DAG.MaskedValueIsZero(N10, APInt::getHighBitsSet(OpSizeInBits, 16))) in MatchBSwapHWordLow()
2761 if (N1C && DAG.MaskedValueIsZero(N0, ~N1C->getAPIntValue())) in visitOR()
2848 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitOR()
2849 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitOR()
3263 if (DAG.MaskedValueIsZero(SDValue(N, 0), in visitSHL()
3533 if (N1C && DAG.MaskedValueIsZero(SDValue(N, 0), in visitSRL()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZOperators.td533 return CurDAG->MaskedValueIsZero(N->getOperand(0),
541 return CurDAG->MaskedValueIsZero(N->getOperand(1),
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp303 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
/external/llvm/lib/Analysis/
DValueTracking.cpp216 static bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth,
219 bool llvm::MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL, in MaskedValueIsZero() function in llvm
222 return ::MaskedValueIsZero(V, Mask, Depth, in MaskedValueIsZero()
1919 bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth, in MaskedValueIsZero() function
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1677 if (DAG.MaskedValueIsZero(N0, in SimplifySetCC()
2045 if (DAG.MaskedValueIsZero(N0.getOperand(0), ~LHSR->getAPIntValue())) in SimplifySetCC()
3010 if (DAG.MaskedValueIsZero(N->getOperand(0), HighMask) && in expandMUL()
3011 DAG.MaskedValueIsZero(N->getOperand(1), HighMask)) { in expandMUL()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBasicAliasAnalysis.cpp196 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &TD)) in GetLinearExpression()

123