/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 104 APInt KnownOne, KnownZero; 106 KnownZero(1, 0) {} 174 const APInt &KnownZero, const APInt &KnownOne) { 176 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 183 LOI.KnownZero = KnownZero;
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 56 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 60 KnownZero, KnownOne, 0); 71 APInt &KnownZero, APInt &KnownOne, 74 KnownZero, KnownOne, Depth); 88 /// to be one in the expression. KnownZero contains all the bits that are known 91 /// the expression. KnownOne and KnownZero always follow the invariant that 92 /// KnownOne & KnownZero == 0. That is, a bit can't be both 1 and 0. Note that 93 /// the bits in KnownOne and KnownZero may only be accurate for those bits set 94 /// in DemandedMask. Note also that the bitwidth of V, DemandedMask, KnownZero 103 APInt &KnownZero, APInt &KnownOne [all...] |
InstCombine.h | 318 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 320 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth); 345 Value *SimplifyDemandedUseBits(Value *V, APInt DemandedMask, APInt &KnownZero, 347 bool SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero, 352 APInt DemandedMask, APInt &KnownZero,
|
InstCombineCalls.cpp | 323 APInt KnownZero(BitWidth, 0); 325 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne); 328 if ((Mask & KnownZero) == Mask) 341 APInt KnownZero(BitWidth, 0); 343 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne); 346 if ((Mask & KnownZero) == Mask) [all...] |
InstCombineCompares.cpp | 170 static void ComputeSignedMinMaxValuesFromKnownBits(const APInt& KnownZero, 173 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 174 KnownZero.getBitWidth() == Min.getBitWidth() && 175 KnownZero.getBitWidth() == Max.getBitWidth() && 176 "KnownZero, KnownOne and Min, Max must have equal bitwidth."); 177 APInt UnknownBits = ~(KnownZero|KnownOne); 194 static void ComputeUnsignedMinMaxValuesFromKnownBits(const APInt &KnownZero, 197 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 198 KnownZero.getBitWidth() == Min.getBitWidth() && 199 KnownZero.getBitWidth() == Max.getBitWidth() & [all...] |
InstCombineCasts.cpp | 555 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 556 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne); 558 APInt KnownZeroMask(~KnownZero); [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 49 APInt &KnownZero, APInt &KnownOne, 58 unsigned BitWidth = KnownZero.getBitWidth(); 70 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); 76 unsigned BitWidth = KnownZero.getBitWidth(); 94 KnownZero |= KnownZero2 & Mask; 99 KnownZero |= APInt::getLowBitsSet(BitWidth, 105 KnownZero |= LHSKnownZero & Mask; 110 if (!KnownZero.isNegative() && !KnownOne.isNegative()) { 115 KnownZero |= APInt::getSignBit(BitWidth); 122 KnownZero |= APInt::getSignBit(BitWidth) [all...] |
Lint.cpp | 515 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 516 computeKnownBits(V, KnownZero, KnownOne, DL); 517 return KnownZero.isAllOnesValue(); 528 // For a vector, KnownZero will only be true if all values are zero, so check 536 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 537 computeKnownBits(Elem, KnownZero, KnownOne, DL); 538 if (KnownZero.isAllOnesValue())
|
/external/llvm/include/llvm/Analysis/ |
ValueTracking.h | 31 /// them in the KnownZero/KnownOne bit sets. 38 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 41 /// \p KnownZero the set of bits that are known to be zero 43 APInt &KnownZero); 47 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | 369 /// analyze the expression and return a mask of KnownOne and KnownZero bits for 370 /// the expression (used to simplify the caller). The KnownZero/One bits may 374 APInt &KnownZero, 385 KnownZero = KnownOne = APInt(BitWidth, 0); 390 // If not at the root, Just compute the KnownZero/KnownOne bits to 392 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); 412 KnownZero = ~KnownOne; 432 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, 435 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 436 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownZero & NewMask [all...] |
FunctionLoweringInfo.cpp | 293 if (BitWidth > LOI->KnownZero.getBitWidth()) { 295 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 332 DestLOI.KnownZero = Zero; 340 DestLOI.KnownZero = ~Val; 358 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 367 DestLOI.KnownZero = Zero; 375 DestLOI.KnownZero &= ~Val; 393 DestLOI.KnownZero &= SrcLOI->KnownZero; [all...] |
SelectionDAG.cpp | [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | 417 APInt KnownZero, KnownOne; 418 DAG.computeKnownBits(Value, KnownZero, KnownOne); 419 return KnownZero.countTrailingOnes() >= 2; [all...] |
XCoreISelLowering.h | 186 APInt &KnownZero,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDGPUISelLowering.h | 66 /// KnownZero/KnownOne bitsets. 68 APInt &KnownZero,
|
AMDILISelLowering.cpp | 279 APInt &KnownZero, 286 KnownZero = KnownOne = APInt(KnownOne.getBitWidth(), 0); // Don't know anything 292 KnownZero, 301 assert((KnownZero & KnownOne) == 0 307 KnownZero &= KnownZero2;
|
/external/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 198 /// \p KnownZero Mask of all bits that are known to be zero. 199 void ComputeKnownBits(Value *V, APInt &KnownOne, APInt &KnownZero) const; 582 APInt &KnownZero) const { 585 KnownZero = APInt(IT->getBitWidth(), 0); 586 llvm::computeKnownBits(V, KnownZero, KnownOne, DL, 0); [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDGPUISelLowering.h | 66 /// KnownZero/KnownOne bitsets. 68 APInt &KnownZero,
|
AMDILISelLowering.cpp | 279 APInt &KnownZero, 286 KnownZero = KnownOne = APInt(KnownOne.getBitWidth(), 0); // Don't know anything 292 KnownZero, 301 assert((KnownZero & KnownOne) == 0 307 KnownZero &= KnownZero2;
|
/external/llvm/lib/Target/SystemZ/ |
SystemZISelDAGToDAG.cpp | 667 APInt KnownZero, KnownOne; 668 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne); 669 if (Used != (AndMask | InsertMask | KnownZero.getZExtValue())) 716 APInt KnownZero, KnownOne; 717 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); 718 Mask |= KnownZero.getZExtValue(); 740 APInt KnownZero, KnownOne; 741 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); [all...] |
/external/llvm/lib/Target/R600/ |
AMDGPUISelLowering.h | 150 /// either zero or one and return them in the \p KnownZero and \p KnownOne 153 APInt &KnownZero,
|
AMDGPUISelLowering.cpp | [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.h | 62 /// KnownZero/KnownOne bitsets. 64 APInt &KnownZero,
|
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64ISelLowering.h | 208 /// KnownZero/KnownOne bitsets. 209 void computeKnownBitsForTargetNode(const SDValue Op, APInt &KnownZero,
|