/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 92 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()
|
D | InstCombineMulDivRem.cpp | 240 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()
|
D | InstCombineAndOrXor.cpp | 433 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 …]
|
D | InstCombine.h | 295 bool MaskedValueIsZero(Value *V, const APInt &Mask, 297 return llvm::MaskedValueIsZero(V, Mask, TD, Depth);
|
D | InstCombineCasts.cpp | 367 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()
|
D | InstCombineAddSub.cpp | 130 if (!MaskedValueIsZero(XorLHS, Mask)) in visitAdd()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 96 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()
|
D | InstCombineMulDivRem.cpp | 377 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()
|
D | InstCombineAndOrXor.cpp | 384 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 …]
|
D | InstCombineInternal.h | 483 bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0, 485 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
|
D | InstCombineCasts.cpp | 371 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/ |
D | XCoreSelectionDAGInfo.cpp | 26 DAG.MaskedValueIsZero(Size, APInt(SizeBitWidth, 3))) { in EmitTargetCodeForMemcpy()
|
D | XCoreISelLowering.cpp | 684 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/ |
D | ValueTracking.h | 69 bool MaskedValueIsZero(Value *V, const APInt &Mask,
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 671 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/ |
D | ValueTracking.h | 132 bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL,
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelDAGToDAG.cpp | 228 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430ISelDAGToDAG.cpp | 233 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
|
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
D | AlphaISelDAGToDAG.cpp | 92 !CurDAG->MaskedValueIsZero(LHS, in get_zapImm()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 2284 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/ |
D | SystemZOperators.td | 533 return CurDAG->MaskedValueIsZero(N->getOperand(0), 541 return CurDAG->MaskedValueIsZero(N->getOperand(1),
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 303 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 216 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/ |
D | TargetLowering.cpp | 1677 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/ |
D | BasicAliasAnalysis.cpp | 196 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &TD)) in GetLinearExpression()
|