Home
last modified time | relevance | path

Searched refs:computeKnownBits (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm/lib/Analysis/
DValueTracking.cpp127 static void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
131 void llvm::computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function in llvm
135 ::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, in computeKnownBits()
206 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub()
225 computeKnownBits(Op0, LHSKnownZero, LHSKnownOne, DL, Depth + 1, Q); in computeKnownBitsAddSub()
226 computeKnownBits(Op1, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsAddSub()
277 computeKnownBits(Op1, KnownZero, KnownOne, DL, Depth + 1, Q); in computeKnownBitsMul()
278 computeKnownBits(Op0, KnownZero2, KnownOne2, DL, Depth + 1, Q); in computeKnownBitsMul()
529 computeKnownBits(RHS, KnownZeroTemp, KnownOneTemp, DL, Depth + 1, Q); in computeKnownBitsFromTrueCondition()
538 computeKnownBits(RHS, KnownZero, KnownOne, DL, Depth + 1, Q); in computeKnownBitsFromTrueCondition()
[all …]
DLint.cpp713 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC, in isZero()
735 computeKnownBits(Elem, KnownZero, KnownOne, DL); in isZero()
DConstantFolding.cpp633 computeKnownBits(Op0, KnownZero0, KnownOne0, DL); in SymbolicallyEvaluateBinop()
634 computeKnownBits(Op1, KnownZero1, KnownOne1, DL); in SymbolicallyEvaluateBinop()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp159 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
173 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
175 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
197 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
199 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
224 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
226 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
238 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
251 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
626 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
[all …]
DInstCombineAddSub.cpp919 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd()
923 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd()
956 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub()
960 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub()
1113 computeKnownBits(XorLHS, LHSKnownZero, LHSKnownOne, 0, &I); in visitAdd()
1166 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &I); in visitAdd()
1170 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &I); in visitAdd()
DInstCombineInternal.h471 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function
473 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, in computeKnownBits()
DInstCombineCasts.cpp551 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI); in transformZExtICmp()
599 computeKnownBits(LHS, KnownZeroLHS, KnownOneLHS, 0, &CI); in transformZExtICmp()
600 computeKnownBits(RHS, KnownZeroRHS, KnownOneRHS, 0, &CI); in transformZExtICmp()
927 computeKnownBits(Op0, KnownZero, KnownOne, 0, &CI); in transformSExtICmp()
DInstCombineCalls.cpp430 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II); in visitCallInst()
448 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II); in visitCallInst()
1171 computeKnownBits(IIOperand, KnownZero, KnownOne, 0, II); in visitCallInst()
DInstructionCombining.cpp2010 computeKnownBits(ResultOp, KnownZero, KnownOne, 0, &RI); in visitReturnInst()
2078 computeKnownBits(Cond, KnownZero, KnownOne, 0, &SI); in visitSwitchInst()
/external/llvm/test/CodeGen/X86/
Dlive-out-reg-info.ll4 ; to an off-by-one bug with computeKnownBits information.
/external/llvm/test/CodeGen/ARM/
Dzextload_demandedbits.ll9 ; Make sure that the sext op does not get lost due to computeKnownBits.
/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp102 computeKnownBits(const_cast<Value *>(V1), KnownZero, KnownOne, DL, 0, in determineLiveOperandBits()
108 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits()
DSeparateConstOffsetFromGEP.cpp660 llvm::computeKnownBits(V, KnownZero, KnownOne, DL, 0); in ComputeKnownBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1958 computeKnownBits(Op, KnownZero, KnownOne, Depth); in MaskedValueIsZero()
1964 void SelectionDAG::computeKnownBits(SDValue Op, APInt &KnownZero, in computeKnownBits() function in SelectionDAG
1982 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
1983 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
1991 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
1992 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2000 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2001 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2011 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2012 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
[all …]
DTargetLowering.cpp395 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
425 TLO.DAG.computeKnownBits(Op.getOperand(0), LHSZero, LHSOne, Depth); in SimplifyDemandedBits()
1082 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
1154 DAG.computeKnownBits(Val, KnownZero, KnownOne); in ValueHasExactlyOneBitSet()
DSelectionDAGISel.cpp652 CurDAG->computeKnownBits(Src, KnownZero, KnownOne); in ComputeLiveOutVRegInfo()
1773 CurDAG->computeKnownBits(LHS, KnownZero, KnownOne); in CheckOrMask()
/external/llvm/include/llvm/Analysis/
DValueTracking.h40 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
/external/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp670 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne); in detectOrAndInsertion()
719 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); in expandRxSBG()
743 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); in expandRxSBG()
DSystemZISelLowering.cpp2368 DAG.computeKnownBits(Ops[0], KnownZero[0], KnownOne[0]); in lowerOR()
2369 DAG.computeKnownBits(Ops[1], KnownZero[1], KnownOne[1]); in lowerOR()
2427 DAG.computeKnownBits(Op, KnownZero, KnownOne); in lowerCTPOP()
/external/llvm/test/CodeGen/R600/
Dcvt_f32_ubyte.ll87 ; for each component, but computeKnownBits doesn't handle vectors very
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp421 DAG.computeKnownBits(Value, KnownZero, KnownOne); in isWordAligned()
1687 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
1710 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
1726 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp464 CurDAG->computeKnownBits(Op0, LKZ, LKO); in SelectBitfieldInsert()
465 CurDAG->computeKnownBits(Op1, RKZ, RKO); in SelectBitfieldInsert()
512 CurDAG->computeKnownBits(Op1.getOperand(1), MKZ, MKO); in SelectBitfieldInsert()
2582 CurDAG->computeKnownBits(N->getOperand(0), LHSKnownZero, LHSKnownOne); in Select()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp957 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC, CxtI, DT); in getOrEnforceKnownAlignment()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp2279 DAG.computeKnownBits(Op, KnownZero, KnownOne); in isU24()
2719 DAG.computeKnownBits(Op0, Op0Zero, Op0One, Depth); in computeKnownBitsForMinMax()
2720 DAG.computeKnownBits(Op1, Op1Zero, Op1One, Depth); in computeKnownBitsForMinMax()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1137 void computeKnownBits(SDValue Op, APInt &KnownZero, APInt &KnownOne,

12