/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ValueTracking.cpp | 45 /// known to be either zero or one and return them in the KnownZero/KnownOne 61 APInt &KnownZero, APInt &KnownOne, 72 KnownZero.getBitWidth() == BitWidth && 74 "V, Mask, KnownOne and KnownZero should have same BitWidth"); 79 KnownZero = ~KnownOne & Mask; 86 KnownZero = Mask; 92 KnownZero.setAllBits(); KnownOne.setAllBits(); 97 KnownZero &= KnownZero2; 116 KnownZero = Mask & APInt::getLowBitsSet(BitWidth, 119 KnownZero.clearAllBits() [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 54 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 58 KnownZero, KnownOne, 0); 69 APInt &KnownZero, APInt &KnownOne, 72 KnownZero, KnownOne, Depth); 86 /// to be one in the expression. KnownZero contains all the bits that are known 89 /// the expression. KnownOne and KnownZero always follow the invariant that 90 /// KnownOne & KnownZero == 0. That is, a bit can't be both 1 and 0. Note that 91 /// the bits in KnownOne and KnownZero may only be accurate for those bits set 92 /// in DemandedMask. Note also that the bitwidth of V, DemandedMask, KnownZero 101 APInt &KnownZero, APInt &KnownOne [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 108 APInt KnownOne, KnownZero; 110 KnownZero(1, 0) {} 173 const APInt &KnownZero, const APInt &KnownOne) { 175 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 182 LOI.KnownZero = KnownZero;
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 55 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 58 Value *V = SimplifyDemandedUseBits(&Inst, DemandedMask, KnownZero, KnownOne, 70 APInt &KnownZero, APInt &KnownOne, 73 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, KnownZero, 88 /// expression. KnownZero contains all the bits that are known to be zero in the 91 /// KnownOne and KnownZero always follow the invariant that: 92 /// KnownOne & KnownZero == 0. 94 /// KnownZero may only be accurate for those bits set in DemandedMask. Note also 95 /// that the bitwidth of V, DemandedMask, KnownZero and KnownOne must all be the 104 APInt &KnownZero, APInt &KnownOne [all...] |
InstCombineInternal.h | 477 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 479 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, 491 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, 493 return llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, 521 Value *SimplifyDemandedUseBits(Value *V, APInt DemandedMask, APInt &KnownZero, 524 bool SimplifyDemandedBits(Use &U, const APInt &DemandedMask, APInt &KnownZero, 529 const APInt &DemandedMask, APInt &KnownZero,
|
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 122 static void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 125 void llvm::computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 129 ::computeKnownBits(V, KnownZero, KnownOne, Depth, 148 static void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, 151 void llvm::ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, 155 ::ComputeSignBit(V, KnownZero, KnownOne, Depth, 236 APInt &KnownZero, APInt &KnownOne, 245 unsigned BitWidth = KnownZero.getBitWidth(); 257 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); 263 unsigned BitWidth = KnownZero.getBitWidth() [all...] |
DemandedBits.cpp | 75 const APInt &AOut, APInt &AB, APInt &KnownZero, APInt &KnownOne, 88 KnownZero = APInt(BitWidth, 0); 90 computeKnownBits(const_cast<Value *>(V1), KnownZero, KnownOne, DL, 0, 204 AB &= ~(KnownZero & ~KnownZero2); 320 APInt KnownZero, KnownOne, KnownZero2, KnownOne2; 337 KnownZero, KnownOne,
|
/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 175 APInt KnownOne, KnownZero; 177 KnownZero(1, 0) {} 251 const APInt &KnownZero, const APInt &KnownOne) { 253 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 260 LOI.KnownZero = KnownZero;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 174 APInt KnownOne, KnownZero; 176 KnownZero(1, 0) {} 250 const APInt &KnownZero, const APInt &KnownOne) { 252 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 259 LOI.KnownZero = KnownZero;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 174 APInt KnownOne, KnownZero; 176 KnownZero(1, 0) {} 250 const APInt &KnownZero, const APInt &KnownOne) { 252 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 259 LOI.KnownZero = KnownZero;
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
ValueTracking.h | 30 /// known to be either zero or one and return them in the KnownZero/KnownOne 39 void ComputeMaskedBits(Value *V, const APInt &Mask, APInt &KnownZero, 45 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |
FunctionLoweringInfo.cpp | 251 if (BitWidth > LOI->KnownZero.getBitWidth()) { 253 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 288 DestLOI.KnownZero = Zero; 296 DestLOI.KnownZero = ~Val; 314 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 323 DestLOI.KnownZero = Zero; 331 DestLOI.KnownZero &= ~Val; 349 DestLOI.KnownZero &= SrcLOI->KnownZero; [all...] |
SelectionDAG.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
DemandedBits.h | 61 APInt &KnownZero, APInt &KnownOne,
|
ValueTracking.h | 45 /// them in the KnownZero/KnownOne bit sets. 52 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 58 /// \p KnownZero the set of bits that are known to be zero 61 APInt &KnownZero, APInt &KnownOne); 70 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
DemandedBits.h | 61 APInt &KnownZero, APInt &KnownOne,
|
ValueTracking.h | 45 /// them in the KnownZero/KnownOne bit sets. 52 void computeKnownBits(const Value *V, APInt &KnownZero, APInt &KnownOne, 59 /// \p KnownZero the set of bits that are known to be zero 62 APInt &KnownZero, APInt &KnownOne); 72 void ComputeSignBit(const Value *V, bool &KnownZero, bool &KnownOne,
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
DemandedBits.h | 61 APInt &KnownZero, APInt &KnownOne,
|
ValueTracking.h | 45 /// them in the KnownZero/KnownOne bit sets. 52 void computeKnownBits(const Value *V, APInt &KnownZero, APInt &KnownOne, 59 /// \p KnownZero the set of bits that are known to be zero 62 APInt &KnownZero, APInt &KnownOne); 72 void ComputeSignBit(const Value *V, bool &KnownZero, bool &KnownOne,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 410 if (BitWidth > LOI->KnownZero.getBitWidth()) { 412 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 447 DestLOI.KnownZero = Zero; 455 DestLOI.KnownZero = ~Val; 473 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 482 DestLOI.KnownZero = Zero; 490 DestLOI.KnownZero &= ~Val; 508 DestLOI.KnownZero &= SrcLOI->KnownZero; [all...] |
TargetLowering.cpp | 425 /// return a mask of KnownOne and KnownZero bits for the expression (used to 426 /// simplify the caller). The KnownZero/One bits may only be accurate for those 430 APInt &KnownZero, 442 KnownZero = KnownOne = APInt(BitWidth, 0); 447 // If not at the root, Just compute the KnownZero/KnownOne bits to 449 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); 469 KnownZero = ~KnownOne; 489 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, 492 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 493 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownZero & NewMask [all...] |
SelectionDAG.cpp | [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | 413 APInt KnownZero, KnownOne; 414 DAG.computeKnownBits(Value, KnownZero, KnownOne); 415 return KnownZero.countTrailingOnes() >= 2; [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
SparcISelLowering.h | 51 /// KnownZero/KnownOne bitsets. 54 APInt &KnownZero,
|