Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp94 if (MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
134 if (IC.MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
159 if (IC.MaskedValueIsZero(I->getOperand(0), in CanEvaluateShifted()
712 MaskedValueIsZero(I.getOperand(0), in visitShl()
771 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitLShr()
816 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt), in visitAShr()
824 if (MaskedValueIsZero(Op0, in visitAShr()
DInstCombineMulDivRem.cpp366 if (MaskedValueIsZero(Op0, Negative2, 0, &I)) in visitMul()
368 else if (MaskedValueIsZero(Op1, Negative2, 0, &I)) in visitMul()
1150 if (MaskedValueIsZero(Op0, Mask, 0, &I)) { in visitSDiv()
1151 if (MaskedValueIsZero(Op1, Mask, 0, &I)) { in visitSDiv()
1431 if (MaskedValueIsZero(Op1, Mask, 0, &I) && in visitSRem()
1432 MaskedValueIsZero(Op0, Mask, 0, &I)) { in visitSRem()
DInstCombineAndOrXor.cpp395 if (MaskedValueIsZero(RHS, Mask, 0, &I)) in FoldLogicalPlusAnd()
1242 if (MaskedValueIsZero(Op0LHS, NotAndRHS, 0, &I)) { in visitAnd()
1249 MaskedValueIsZero(Op0RHS, NotAndRHS, 0, &I)) { in visitAnd()
1282 if (MaskedValueIsZero(Op0LHS, Mask, 0, &I)) { in visitAnd()
2213 MaskedValueIsZero(Op1, C1->getValue(), 0, &I)) { in visitOr()
2222 MaskedValueIsZero(Op0, C1->getValue(), 0, &I)) { in visitOr()
2261 MaskedValueIsZero(V2, ~C1->getValue(), 0, &I)) || // (V|N) in visitOr()
2263 MaskedValueIsZero(V1, ~C1->getValue(), 0, &I)))) // (N|V) in visitOr()
2269 MaskedValueIsZero(V2, ~C2->getValue(), 0, &I)) || // (V|N) in visitOr()
2271 MaskedValueIsZero(V1, ~C2->getValue(), 0, &I)))) // (N|V) in visitOr()
[all …]
DInstCombineInternal.h477 bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0,
479 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
DInstCombineCasts.cpp372 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in CanEvaluateTruncated()
373 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in CanEvaluateTruncated()
396 if (IC.MaskedValueIsZero(I->getOperand(0), in CanEvaluateTruncated()
694 if (IC.MaskedValueIsZero(I->getOperand(1), in CanEvaluateZExtd()
796 if (MaskedValueIsZero(Res, in visitZExt()
DInstCombineAddSub.cpp1097 if (!MaskedValueIsZero(XorLHS, Mask, 0, &I)) in visitAdd()
/external/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp35 DAG.MaskedValueIsZero(Size, APInt(SizeBitWidth, 3))) { in EmitTargetCodeForMemcpy()
DXCoreISelLowering.cpp688 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) && in TryExpandADDWithMul()
689 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) { in TryExpandADDWithMul()
1789 DAG.MaskedValueIsZero(Mul0, HighMask) && in PerformDAGCombine()
1790 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine()
1791 DAG.MaskedValueIsZero(Addend0, HighMask) && in PerformDAGCombine()
1792 DAG.MaskedValueIsZero(Addend1, HighMask)) { in PerformDAGCombine()
/external/llvm/include/llvm/Analysis/
DValueTracking.h87 bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL,
/external/llvm/lib/Target/SystemZ/
DSystemZOperators.td361 return CurDAG->MaskedValueIsZero(N->getOperand(0),
369 return CurDAG->MaskedValueIsZero(N->getOperand(1),
DSystemZISelLowering.cpp2404 if (DAG.MaskedValueIsZero(HighOp0, APInt(64, ~(Mask | 0xffffffff)))) in lowerOR()
/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp229 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
/external/llvm/lib/Analysis/
DValueTracking.cpp171 static bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL,
174 bool llvm::MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL, in MaskedValueIsZero() function in llvm
177 return ::MaskedValueIsZero(V, Mask, DL, Depth, in MaskedValueIsZero()
1860 bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL, in MaskedValueIsZero() function
DInstructionSimplify.cpp1801 MaskedValueIsZero(V2, C2->getValue(), Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyOrInst()
1804 MaskedValueIsZero(V1, C2->getValue(), Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyOrInst()
1812 MaskedValueIsZero(V2, C1->getValue(), Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyOrInst()
1815 MaskedValueIsZero(V1, C1->getValue(), Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyOrInst()
DBasicAliasAnalysis.cpp224 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), DL, 0, AC, in GetLinearExpression()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1516 if (DAG.MaskedValueIsZero(N0, in SimplifySetCC()
1875 if (DAG.MaskedValueIsZero(N0.getOperand(0), ~LHSR->getAPIntValue())) in SimplifySetCC()
2837 if (DAG.MaskedValueIsZero(N->getOperand(0), HighMask) && in expandMUL()
2838 DAG.MaskedValueIsZero(N->getOperand(1), HighMask)) { in expandMUL()
DDAGCombiner.cpp2780 if (DAG.MaskedValueIsZero(N0.getOperand(1), Mask)) { in visitANDLike()
2844 if (N1C && DAG.MaskedValueIsZero(SDValue(N, 0), in visitAND()
2860 if (DAG.MaskedValueIsZero(N0Op0, Mask)) { in visitAND()
3071 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND()
3091 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND()
3207 !DAG.MaskedValueIsZero( in MatchBSwapHWordLow()
3437 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitORLike()
3438 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitORLike()
3563 if (N1C && DAG.MaskedValueIsZero(N0, ~N1C->getAPIntValue())) in visitOR()
4190 if (DAG.MaskedValueIsZero(SDValue(N, 0), in visitSHL()
[all …]
DSelectionDAG.cpp1949 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth); in SignBitIsZero()
1955 bool SelectionDAG::MaskedValueIsZero(SDValue Op, const APInt &Mask, in MaskedValueIsZero() function in SelectionDAG
2663 !MaskedValueIsZero(Op.getOperand(0), in isBaseWithConstantOffset()
DSelectionDAGISel.cpp1742 if (CurDAG->MaskedValueIsZero(LHS, NeededMask)) in CheckAndMask()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp1661 DAG.MaskedValueIsZero(RHS, APInt::getHighBitsSet(64, 32)) && in LowerUDIVREM64()
1662 DAG.MaskedValueIsZero(LHS, APInt::getHighBitsSet(64, 32))) { in LowerUDIVREM64()
1729 if (DAG.MaskedValueIsZero(Num, APInt::getHighBitsSet(32, 8)) && in LowerUDIVREM()
1730 DAG.MaskedValueIsZero(Den, APInt::getHighBitsSet(32, 8))) { in LowerUDIVREM()
DSIISelLowering.cpp1264 if (DAG.MaskedValueIsZero(Src, APInt::getHighBitsSet(32, 24))) { in performUCharToFloatCombine()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1130 bool MaskedValueIsZero(SDValue Op, const APInt &Mask, unsigned Depth = 0)
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9162 if (!DAG.MaskedValueIsZero(N->getOperand(0), in DAGCombineTruncBoolExt()
9164 !DAG.MaskedValueIsZero(N->getOperand(1), in DAGCombineTruncBoolExt()
9550 !DAG.MaskedValueIsZero(Inputs[i].getOperand(0), in DAGCombineExtBoolTrunc()
10117 if (DAG.MaskedValueIsZero( in PerformDAGCombine()
DPPCISelDAGToDAG.cpp3069 if (!CurDAG->MaskedValueIsZero(Op0, in combineToCMPB()
/external/llvm/lib/Target/X86/
DX86InstrCompiler.td1141 return CurDAG->MaskedValueIsZero(N->getOperand(0), CN->getAPIntValue());

12