Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp91 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
131 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
155 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
634 MaskedValueIsZero(I.getOperand(0), in visitShl()
689 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitLShr()
735 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitAShr()
742 if (MaskedValueIsZero(Op0, in visitAShr()
DInstCombineMulDivRem.cpp240 if (MaskedValueIsZero(Op0, Negative2)) in visitMul()
242 else if (MaskedValueIsZero(Op1, Negative2)) in visitMul()
538 if (MaskedValueIsZero(Op0, Mask)) { in visitSDiv()
539 if (MaskedValueIsZero(Op1, Mask)) { in visitSDiv()
681 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()
1818 MaskedValueIsZero(Op1, C1->getValue())) { in visitOr()
1827 MaskedValueIsZero(Op0, C1->getValue())) { in visitOr()
1848 if (V1 == B && MaskedValueIsZero(V2, C2->getValue())) in visitOr()
1850 if (V2 == B && MaskedValueIsZero(V1, C2->getValue())) in visitOr()
1857 if (V1 == A && MaskedValueIsZero(V2, C1->getValue())) in visitOr()
1859 if (V2 == A && MaskedValueIsZero(V1, C1->getValue())) in visitOr()
[all …]
DInstCombine.h292 bool MaskedValueIsZero(Value *V, const APInt &Mask,
294 return llvm::MaskedValueIsZero(V, Mask, TD, Depth);
DInstCombineCasts.cpp366 if (MaskedValueIsZero(I->getOperand(0), Mask) && in CanEvaluateTruncated()
367 MaskedValueIsZero(I->getOperand(1), Mask)) { in CanEvaluateTruncated()
390 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateTruncated()
694 if (MaskedValueIsZero(I->getOperand(1), in CanEvaluateZExtd()
784 if (MaskedValueIsZero(Res, APInt::getHighBitsSet(DestBitSize, in visitZExt()
DInstCombineAddSub.cpp130 if (!MaskedValueIsZero(XorLHS, Mask)) in visitAdd()
/external/llvm/include/llvm/Analysis/
DValueTracking.h69 bool MaskedValueIsZero(Value *V, const APInt &Mask,
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp668 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) && in TryExpandADDWithMul()
669 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) { in TryExpandADDWithMul()
1448 DAG.MaskedValueIsZero(Mul0, HighMask) && in PerformDAGCombine()
1449 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine()
1450 DAG.MaskedValueIsZero(Addend0, HighMask) && in PerformDAGCombine()
1451 DAG.MaskedValueIsZero(Addend1, HighMask)) { in PerformDAGCombine()
/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp233 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
/external/llvm/lib/Target/Alpha/
DAlphaISelDAGToDAG.cpp92 !CurDAG->MaskedValueIsZero(LHS, in get_zapImm()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2288 if (N1C && DAG.MaskedValueIsZero(SDValue(N, 0), in visitAND()
2305 if (DAG.MaskedValueIsZero(N0Op0, Mask)) { in visitAND()
2382 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND()
2404 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND()
2580 !DAG.MaskedValueIsZero(N10, APInt::getHighBitsSet(OpSizeInBits, 16))) in MatchBSwapHWordLow()
2765 if (N1C && DAG.MaskedValueIsZero(N0, ~N1C->getAPIntValue())) in visitOR()
2852 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitOR()
2853 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitOR()
3267 if (DAG.MaskedValueIsZero(SDValue(N, 0), in visitSHL()
3537 if (N1C && DAG.MaskedValueIsZero(SDValue(N, 0), in visitSRL()
[all …]
DTargetLowering.cpp2173 if (DAG.MaskedValueIsZero(N0, in SimplifySetCC()
2443 if (DAG.MaskedValueIsZero(N0.getOperand(0), ~LHSR->getAPIntValue())) in SimplifySetCC()
DLegalizeIntegerTypes.cpp1843 if (DAG.MaskedValueIsZero(N->getOperand(0), HighMask) && in ExpandIntRes_MUL()
1844 DAG.MaskedValueIsZero(N->getOperand(1), HighMask)) { in ExpandIntRes_MUL()
DSelectionDAGISel.cpp1244 if (CurDAG->MaskedValueIsZero(LHS, NeededMask)) in CheckAndMask()
DSelectionDAG.cpp1569 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth); in SignBitIsZero()
1575 bool SelectionDAG::MaskedValueIsZero(SDValue Op, const APInt &Mask, in MaskedValueIsZero() function in SelectionDAG
2298 !MaskedValueIsZero(Op.getOperand(0), in isBaseWithConstantOffset()
/external/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp303 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp195 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &TD)) in GetLinearExpression()
DValueTracking.cpp878 bool llvm::MaskedValueIsZero(Value *V, const APInt &Mask, in MaskedValueIsZero() function in llvm
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h953 bool MaskedValueIsZero(SDValue Op, const APInt &Mask, unsigned Depth = 0)
/external/llvm/lib/Target/X86/
DX86InstrCompiler.td1044 return CurDAG->MaskedValueIsZero(N->getOperand(0), CN->getAPIntValue());
DX86ISelLowering.cpp4530 if (DAG.MaskedValueIsZero(Item, APInt::getBitsSet(64, 32, 64))) { in LowerBUILD_VECTOR()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5965 if (DAG.MaskedValueIsZero(N1, MaskC->getAPIntValue()) && in PerformORCombine()