/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 122 static void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 125 void llvm::computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function in llvm 129 ::computeKnownBits(V, KnownZero, KnownOne, Depth, in computeKnownBits() 143 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet() 144 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet() 249 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub() 268 computeKnownBits(Op0, LHSKnownZero, LHSKnownOne, Depth + 1, Q); in computeKnownBitsAddSub() 269 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub() 319 computeKnownBits(Op1, KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsMul() 320 computeKnownBits(Op0, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsMul() [all …]
|
D | DemandedBits.cpp | 90 computeKnownBits(const_cast<Value *>(V1), KnownZero, KnownOne, DL, 0, in determineLiveOperandBits() 96 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits()
|
D | Lint.cpp | 517 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC, in isZero() 539 computeKnownBits(Elem, KnownZero, KnownOne, DL); in isZero()
|
D | ConstantFolding.cpp | 650 computeKnownBits(Op0, KnownZero0, KnownOne0, DL); in SymbolicallyEvaluateBinop() 651 computeKnownBits(Op1, KnownZero1, KnownOne1, DL); in SymbolicallyEvaluateBinop()
|
D | InstructionSimplify.cpp | 1328 computeKnownBits(Op1, KnownZero, KnownOne, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift() 1364 computeKnownBits(Op0, Op0KnownZero, Op0KnownOne, Q.DL, /*Depth=*/0, Q.AC, in SimplifyRightShift() 3126 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, Q.DL, /*Depth=*/0, Q.AC, in SimplifyICmpInst() 4235 computeKnownBits(I, KnownZero, KnownOne, DL, /*Depth*/0, AC, I, DT); in SimplifyInstruction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 146 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() 160 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 162 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 184 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 186 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 211 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 213 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits() 225 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() 238 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() 550 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() [all …]
|
D | InstCombineAddSub.cpp | 899 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd() 903 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd() 936 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub() 940 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub() 1093 computeKnownBits(XorLHS, LHSKnownZero, LHSKnownOne, 0, &I); in visitAdd() 1564 computeKnownBits(&I, KnownZero, KnownOne, 0, &I); in visitSub()
|
D | InstCombineInternal.h | 477 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function 479 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, in computeKnownBits()
|
D | InstCombineCasts.cpp | 626 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI); in transformZExtICmp() 674 computeKnownBits(LHS, KnownZeroLHS, KnownOneLHS, 0, &CI); in transformZExtICmp() 675 computeKnownBits(RHS, KnownZeroRHS, KnownOneRHS, 0, &CI); in transformZExtICmp() 1001 computeKnownBits(Op0, KnownZero, KnownOne, 0, &CI); in transformSExtICmp()
|
D | InstructionCombining.cpp | 2106 computeKnownBits(ResultOp, KnownZero, KnownOne, 0, &RI); in visitReturnInst() 2174 computeKnownBits(Cond, KnownZero, KnownOne, 0, &SI); in visitSwitchInst() 2796 computeKnownBits(I, KnownZero, KnownOne, /*Depth*/0, I); in run()
|
D | InstCombineCalls.cpp | 1409 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II); in visitCallInst() 1427 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II); in visitCallInst() 2298 computeKnownBits(IIOperand, KnownZero, KnownOne, 0, II); in visitCallInst()
|
/external/llvm/test/CodeGen/X86/ |
D | live-out-reg-info.ll | 4 ; to an off-by-one bug with computeKnownBits information.
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2017 computeKnownBits(Op, KnownZero, KnownOne, Depth); in MaskedValueIsZero() 2023 void SelectionDAG::computeKnownBits(SDValue Op, APInt &KnownZero, in computeKnownBits() function in SelectionDAG 2041 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits() 2042 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2050 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits() 2051 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2059 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits() 2060 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() 2070 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits() 2071 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits() [all …]
|
D | TargetLowering.cpp | 449 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits() 479 TLO.DAG.computeKnownBits(Op.getOperand(0), LHSZero, LHSOne, Depth); in SimplifyDemandedBits() 1154 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
|
/external/llvm/test/CodeGen/ARM/ |
D | zextload_demandedbits.ll | 9 ; Make sure that the sext op does not get lost due to computeKnownBits.
|
/external/llvm/test/Transforms/InstCombine/ |
D | all-bits-shift.ll | 32 ; Check that both InstCombine and InstSimplify can use computeKnownBits to
|
D | bswap-known-bits.ll | 2 ; Note: This is testing functionality in computeKnownBits. I'd have rather
|
/external/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 52 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
|
/external/llvm/test/Transforms/InstSimplify/ |
D | shift-knownbits.ll | 94 ; FIXME: This is undef, but computeKnownBits doesn't handle the union.
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 715 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne); in detectOrAndInsertion() 774 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); in expandRxSBG() 798 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); in expandRxSBG()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 540 computeKnownBits(OpLHS, KnownZero, KnownOne, DL); in parseRangeChecks()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 414 DAG.computeKnownBits(Value, KnownZero, KnownOne); in isWordAligned() 1675 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine() 1698 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine() 1714 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrMemory.td | 37 CurDAG->computeKnownBits(N->getOperand(0), KnownZero0, KnownOne0, 0); 39 CurDAG->computeKnownBits(N->getOperand(1), KnownZero1, KnownOne1, 0);
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 324 computeKnownBits(OpA, KnownZero, KnownOne, DL, 0, nullptr, OpA, &DT); in isConsecutiveAccess()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 519 CurDAG->computeKnownBits(Op0, LKZ, LKO); in tryBitfieldInsert() 520 CurDAG->computeKnownBits(Op1, RKZ, RKO); in tryBitfieldInsert() 567 CurDAG->computeKnownBits(Op1.getOperand(1), MKZ, MKO); in tryBitfieldInsert() 2688 CurDAG->computeKnownBits(N->getOperand(0), LHSKnownZero, LHSKnownOne); in Select()
|