Home
last modified time | relevance | path

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

1234567

/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-project/llvm/lib/Analysis/
DValueTracking.cpp202 static void computeKnownBits(const Value *V, const APInt &DemandedElts,
205 static void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth, in computeKnownBits() function
217 computeKnownBits(V, DemandedElts, Known, Depth, Q); in computeKnownBits()
220 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function in llvm
225 ::computeKnownBits(V, Known, Depth, in computeKnownBits()
229 void llvm::computeKnownBits(const Value *V, const APInt &DemandedElts, in computeKnownBits() function in llvm
234 ::computeKnownBits(V, DemandedElts, Known, Depth, in computeKnownBits()
238 static KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
241 static KnownBits computeKnownBits(const Value *V, unsigned Depth,
244 KnownBits llvm::computeKnownBits(const Value *V, const DataLayout &DL, in computeKnownBits() function in llvm
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp166 static void computeKnownBits(const Value *V, KnownBits &Known,
169 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function in llvm
174 ::computeKnownBits(V, Known, Depth, in computeKnownBits()
178 static KnownBits computeKnownBits(const Value *V, unsigned Depth,
181 KnownBits llvm::computeKnownBits(const Value *V, const DataLayout &DL, in computeKnownBits() function in llvm
187 return ::computeKnownBits( in computeKnownBits()
210 computeKnownBits(LHS, LHSKnown, DL, 0, AC, CxtI, DT, nullptr, UseInstrInfo); in haveNoCommonBitsSet()
211 computeKnownBits(RHS, RHSKnown, DL, 0, AC, CxtI, DT, nullptr, UseInstrInfo); in haveNoCommonBitsSet()
252 computeKnownBits(V, DL, Depth, AC, CxtI, DT, nullptr, UseInstrInfo); in isKnownNonNegative()
272 computeKnownBits(V, DL, Depth, AC, CxtI, DT, nullptr, UseInstrInfo); in isKnownNegative()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DValueTrackingTest.cpp100 auto Known = computeKnownBits(A, M->getDataLayout()); in expectKnownBits()
1152 KnownBits Known = computeKnownBits( in TEST_F()
1171 KnownBits Known = computeKnownBits( in TEST_F()
1189 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
1205 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
1210 Known = computeKnownBits(&APlus512, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
1234 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
1239 Known = computeKnownBits(&APlus512, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
1261 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
1266 Known = computeKnownBits(&APtrPlus512, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp122 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
138 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
159 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
558 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
583 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
645 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
668 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
711 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, CxtI); in SimplifyDemandedUseBits()
800 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
831 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2221 DemandedBits.isSubsetOf(computeKnownBits(V.getOperand(0)).Zero | in GetDemandedBits()
2269 return Mask.isSubsetOf(computeKnownBits(V, DemandedElts, Depth).Zero); in MaskedValueIsZero()
2275 return Mask.isSubsetOf(computeKnownBits(V, Depth).One); in MaskedValueIsAllOnes()
2492 KnownBits SelectionDAG::computeKnownBits(SDValue Op, unsigned Depth) const { in computeKnownBits() function in SelectionDAG
2497 return computeKnownBits(Op, DemandedElts, Depth); in computeKnownBits()
2503 KnownBits SelectionDAG::computeKnownBits(SDValue Op, const APInt &DemandedElts, in computeKnownBits() function in SelectionDAG
2544 Known2 = computeKnownBits(SrcOp, Depth + 1); in computeKnownBits()
2591 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits()
2600 Known2 = computeKnownBits(RHS, DemandedRHS, Depth + 1); in computeKnownBits()
2617 Known2 = computeKnownBits(Sub, DemandedSub, Depth + 1); in computeKnownBits()
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h444 void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth, in computeKnownBits() function
446 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
449 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function
451 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
/external/llvm-project/llvm/include/llvm/Analysis/
DValueTracking.h58 void computeKnownBits(const Value *V, KnownBits &Known,
74 void computeKnownBits(const Value *V, const APInt &DemandedElts,
83 KnownBits computeKnownBits(const Value *V, const DataLayout &DL,
91 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2335 return Mask.isSubsetOf(computeKnownBits(V, Depth).Zero); in MaskedValueIsZero()
2344 return Mask.isSubsetOf(computeKnownBits(V, DemandedElts, Depth).Zero); in MaskedValueIsZero()
2350 return Mask.isSubsetOf(computeKnownBits(V, Depth).One); in MaskedValueIsAllOnes()
2609 KnownBits SelectionDAG::computeKnownBits(SDValue Op, unsigned Depth) const { in computeKnownBits() function in SelectionDAG
2622 return computeKnownBits(Op, DemandedElts, Depth); in computeKnownBits()
2628 KnownBits SelectionDAG::computeKnownBits(SDValue Op, const APInt &DemandedElts, in computeKnownBits() function in SelectionDAG
2670 Known2 = computeKnownBits(SrcOp, Depth + 1); in computeKnownBits()
2716 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits()
2724 Known2 = computeKnownBits(RHS, DemandedRHS, Depth + 1); in computeKnownBits()
2740 Known2 = computeKnownBits(Sub, DemandedSub, Depth + 1); in computeKnownBits()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp131 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
144 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
165 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
668 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, CxtI); in SimplifyDemandedUseBits()
778 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
810 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
811 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, in SimplifyMultipleUseDemandedBits()
841 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
842 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, in SimplifyMultipleUseDemandedBits()
871 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits()
[all …]
/external/llvm/test/CodeGen/X86/
Dlive-out-reg-info.ll4 ; to an off-by-one bug with computeKnownBits information.
/external/llvm-project/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-project/llvm/unittests/CodeGen/
DAArch64SelectionDAGTest.cpp98 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); in TEST_F()
113 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); in TEST_F()
132 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); in TEST_F()
271 KnownBits Known = DAG->computeKnownBits(Op); in TEST_F()
292 KnownBits Known = DAG->computeKnownBits(Op); in TEST_F()
/external/llvm-project/llvm/test/Analysis/ValueTracking/
Dsignbits-extract-elt.ll4 ; If computeKnownBits can do a simple look-through for extractelement
/external/llvm-project/llvm/test/CodeGen/ARM/
Dzextload_demandedbits.ll9 ; Make sure that the sext op does not get lost due to computeKnownBits.
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dextract-subvector-equal-length.ll4 ; Test for ICE in SelectionDAG::computeKnownBits when visiting EXTRACT_SUBVECTOR
/external/llvm/test/CodeGen/ARM/
Dzextload_demandedbits.ll9 ; Make sure that the sext op does not get lost due to computeKnownBits.
/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/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-project/llvm/test/Transforms/InstCombine/
Dall-bits-shift.ll10 ; 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

1234567