Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp161 static void computeKnownBits(const Value *V, KnownBits &Known,
164 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function in llvm
169 ::computeKnownBits(V, Known, Depth, in computeKnownBits()
173 static KnownBits computeKnownBits(const Value *V, unsigned Depth,
176 KnownBits llvm::computeKnownBits(const Value *V, const DataLayout &DL, in computeKnownBits() function in llvm
181 return ::computeKnownBits(V, Depth, in computeKnownBits()
204 computeKnownBits(LHS, LHSKnown, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
205 computeKnownBits(RHS, RHSKnown, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
245 KnownBits Known = computeKnownBits(V, DL, Depth, AC, CxtI, DT); in isKnownNonNegative()
264 KnownBits Known = computeKnownBits(V, DL, Depth, AC, CxtI, DT); in isKnownNegative()
[all …]
DDemandedBits.cpp100 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
104 computeKnownBits(V2, Known2, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
DInstructionSimplify.cpp737 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifySubInst()
1244 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift()
1276 KnownBits Op0Known = computeKnownBits(Op0, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in SimplifyRightShift()
1338 const KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyLShrInst()
1883 const KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAndInst()
1886 const KnownBits XKnown = computeKnownBits(X, Q.DL, 0, Q.AC, Q.CxtI, in SimplifyAndInst()
2425 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2433 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2442 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2450 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
[all …]
/external/llvm/lib/Analysis/
DValueTracking.cpp122 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 …]
DDemandedBits.cpp90 computeKnownBits(const_cast<Value *>(V1), KnownZero, KnownOne, DL, 0, in determineLiveOperandBits()
96 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp146 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 …]
DInstCombineAddSub.cpp899 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2155 computeKnownBits(Op, Known, Depth); in MaskedValueIsZero()
2198 void SelectionDAG::computeKnownBits(SDValue Op, KnownBits &Known, in computeKnownBits() function in SelectionDAG
2204 computeKnownBits(Op, Known, DemandedElts, Depth); in computeKnownBits()
2210 void SelectionDAG::computeKnownBits(SDValue Op, KnownBits &Known, in computeKnownBits() function in SelectionDAG
2251 computeKnownBits(SrcOp, Known2, Depth + 1); in computeKnownBits()
2298 computeKnownBits(LHS, Known2, DemandedLHS, Depth + 1); in computeKnownBits()
2307 computeKnownBits(RHS, Known2, DemandedRHS, Depth + 1); in computeKnownBits()
2324 computeKnownBits(Sub, Known2, DemandedSub, Depth + 1); in computeKnownBits()
2347 computeKnownBits(Sub, Known, DemandedSubElts, Depth + 1); in computeKnownBits()
2354 computeKnownBits(Src, Known2, DemandedSrcElts, Depth + 1); in computeKnownBits()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp130 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
143 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
164 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
618 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, CxtI); in SimplifyDemandedUseBits()
704 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
736 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
737 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, in SimplifyMultipleUseDemandedBits()
767 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
768 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, in SimplifyMultipleUseDemandedBits()
797 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
[all …]
DInstCombineInternal.h634 void computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function
636 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
639 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function
641 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueTrackingTest.cpp285 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST()
311 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST()
/external/llvm/test/CodeGen/X86/
Dlive-out-reg-info.ll4 ; to an off-by-one bug with computeKnownBits information.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Durem-i8-constant.ll4 ; computeKnownBits determines that we don't need a mask op that is required in the general case.
Dlive-out-reg-info.ll5 ; to an off-by-one bug with computeKnownBits information.
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2017 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ValueTracking/
Dsignbits-extract-elt.ll4 ; If computeKnownBits can do a simple look-through for extractelement
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dzextload_demandedbits.ll9 ; Make sure that the sext op does not get lost due to computeKnownBits.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dextract-subvector-equal-length.ll4 ; Test for ICE in SelectionDAG::computeKnownBits when visiting EXTRACT_SUBVECTOR
Dknownbits-recursion.ll4 ; DAG.computeKnownBits() due to missing (Depth + 1) argument in
/external/llvm/test/CodeGen/ARM/
Dzextload_demandedbits.ll9 ; Make sure that the sext op does not get lost due to computeKnownBits.
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueTracking.h53 void computeKnownBits(const Value *V, KnownBits &Known,
61 KnownBits computeKnownBits(const Value *V, const DataLayout &DL,
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dall-bits-shift.ll32 ; Check that both InstCombine and InstSimplify can use computeKnownBits to
Dbswap-known-bits.ll2 ; Note: This is testing functionality in computeKnownBits. I'd have rather
/external/llvm/test/Transforms/InstCombine/
Dall-bits-shift.ll32 ; Check that both InstCombine and InstSimplify can use computeKnownBits to
Dbswap-known-bits.ll2 ; Note: This is testing functionality in computeKnownBits. I'd have rather

12345