/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 161 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 …]
|
D | DemandedBits.cpp | 100 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits() 104 computeKnownBits(V2, Known2, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
|
D | InstructionSimplify.cpp | 737 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/ |
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()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2155 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/ |
D | InstCombineSimplifyDemanded.cpp | 130 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 …]
|
D | InstCombineInternal.h | 634 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/ |
D | ValueTrackingTest.cpp | 285 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST() 311 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST()
|
/external/llvm/test/CodeGen/X86/ |
D | live-out-reg-info.ll | 4 ; to an off-by-one bug with computeKnownBits information.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | urem-i8-constant.ll | 4 ; computeKnownBits determines that we don't need a mask op that is required in the general case.
|
D | live-out-reg-info.ll | 5 ; 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ValueTracking/ |
D | signbits-extract-elt.ll | 4 ; If computeKnownBits can do a simple look-through for extractelement
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | zextload_demandedbits.ll | 9 ; Make sure that the sext op does not get lost due to computeKnownBits.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | extract-subvector-equal-length.ll | 4 ; Test for ICE in SelectionDAG::computeKnownBits when visiting EXTRACT_SUBVECTOR
|
D | knownbits-recursion.ll | 4 ; DAG.computeKnownBits() due to missing (Depth + 1) argument in
|
/external/llvm/test/CodeGen/ARM/ |
D | zextload_demandedbits.ll | 9 ; Make sure that the sext op does not get lost due to computeKnownBits.
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 53 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/ |
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/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
|