/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 47 APInt &KnownZero, APInt &KnownOne, 56 unsigned BitWidth = KnownZero.getBitWidth(); 68 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); 74 unsigned BitWidth = KnownZero.getBitWidth(); 95 KnownZero |= KnownZero2 & Mask; 100 KnownZero |= APInt::getLowBitsSet(BitWidth, 106 KnownZero |= LHSKnownZero & Mask; 111 if (!KnownZero.isNegative() && !KnownOne.isNegative()) { 116 KnownZero |= APInt::getSignBit(BitWidth); 123 KnownZero |= APInt::getSignBit(BitWidth) [all...] |
Lint.cpp | 512 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 513 ComputeMaskedBits(V, KnownZero, KnownOne, TD); 514 return KnownZero.isAllOnesValue();
|
/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 103 APInt KnownOne, KnownZero; 105 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); 59 KnownZero, KnownOne, 0); 70 APInt &KnownZero, APInt &KnownOne, 73 KnownZero, KnownOne, Depth); 87 /// to be one in the expression. KnownZero contains all the bits that are known 90 /// the expression. KnownOne and KnownZero always follow the invariant that 91 /// KnownOne & KnownZero == 0. That is, a bit can't be both 1 and 0. Note that 92 /// the bits in KnownOne and KnownZero may only be accurate for those bits set 93 /// in DemandedMask. Note also that the bitwidth of V, DemandedMask, KnownZero 102 APInt &KnownZero, APInt &KnownOne [all...] |
InstCombine.h | 302 void ComputeMaskedBits(Value *V, APInt &KnownZero, 304 return llvm::ComputeMaskedBits(V, KnownZero, KnownOne, TD, Depth); 331 APInt& KnownZero, APInt& KnownOne, 334 APInt& KnownZero, APInt& KnownOne, 339 APInt DemandedMask, APInt &KnownZero,
|
InstCombineCalls.cpp | 321 APInt KnownZero(BitWidth, 0); 323 ComputeMaskedBits(II->getArgOperand(0), KnownZero, KnownOne); 326 if ((Mask & KnownZero) == Mask) 339 APInt KnownZero(BitWidth, 0); 341 ComputeMaskedBits(II->getArgOperand(0), KnownZero, KnownOne); 344 if ((Mask & KnownZero) == Mask) [all...] |
InstCombineCasts.cpp | 552 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 553 ComputeMaskedBits(ICI->getOperand(0), KnownZero, KnownOne); 555 APInt KnownZeroMask(~KnownZero); [all...] |
InstCombineCompares.cpp | 177 static void ComputeSignedMinMaxValuesFromKnownBits(const APInt& KnownZero, 180 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 181 KnownZero.getBitWidth() == Min.getBitWidth() && 182 KnownZero.getBitWidth() == Max.getBitWidth() && 183 "KnownZero, KnownOne and Min, Max must have equal bitwidth."); 184 APInt UnknownBits = ~(KnownZero|KnownOne); 201 static void ComputeUnsignedMinMaxValuesFromKnownBits(const APInt &KnownZero, 204 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 205 KnownZero.getBitWidth() == Min.getBitWidth() && 206 KnownZero.getBitWidth() == Max.getBitWidth() & [all...] |
/external/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, APInt &KnownZero, APInt &KnownOne, 41 void computeMaskedBitsLoad(const MDNode &Ranges, APInt &KnownZero); 45 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | 348 /// analyze the expression and return a mask of KnownOne and KnownZero bits for 349 /// the expression (used to simplify the caller). The KnownZero/One bits may 353 APInt &KnownZero, 364 KnownZero = KnownOne = APInt(BitWidth, 0); 369 // If not at the root, Just compute the KnownZero/KnownOne bits to 371 TLO.DAG.ComputeMaskedBits(Op, KnownZero, KnownOne, Depth); 391 KnownZero = ~KnownOne; 411 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, 414 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 415 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownZero & NewMask [all...] |
FunctionLoweringInfo.cpp | 257 if (BitWidth > LOI->KnownZero.getBitWidth()) { 259 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 296 DestLOI.KnownZero = Zero; 304 DestLOI.KnownZero = ~Val; 322 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 331 DestLOI.KnownZero = Zero; 339 DestLOI.KnownZero &= ~Val; 357 DestLOI.KnownZero &= SrcLOI->KnownZero; [all...] |
SelectionDAG.cpp | [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZISelDAGToDAG.cpp | 612 APInt KnownZero, KnownOne; 613 CurDAG->ComputeMaskedBits(Op.getOperand(0), KnownZero, KnownOne); 614 if (Used != (AndMask | InsertMask | KnownZero.getZExtValue())) 672 APInt KnownZero, KnownOne; 673 CurDAG->ComputeMaskedBits(Input, KnownZero, KnownOne); 674 Mask |= KnownZero.getZExtValue(); 697 APInt KnownZero, KnownOne; 698 CurDAG->ComputeMaskedBits(Input, KnownZero, KnownOne); [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | 368 APInt KnownZero, KnownOne; 369 DAG.ComputeMaskedBits(Value, KnownZero, KnownOne); 370 return KnownZero.countTrailingOnes() >= 2; [all...] |
XCoreISelLowering.h | 170 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/Target/R600/ |
AMDGPUISelLowering.h | 80 /// either zero or one and return them in the \p KnownZero and \p KnownOne 83 APInt &KnownZero,
|
AMDGPUISelDAGToDAG.cpp | 765 APInt KnownZero, KnownOne; 768 if (TLI->SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) { 789 APInt KnownZero; 791 CurDAG->ComputeMaskedBits(Op, KnownZero, KnownOne); 797 if ((KnownZero & APInt(KnownZero.getBitWidth(), 0xFF000000)) == 0xFF000000 ||
|
AMDILISelLowering.cpp | 254 APInt &KnownZero, 260 KnownZero = KnownOne = APInt(KnownOne.getBitWidth(), 0); // Don't know anything 266 KnownZero, 275 assert((KnownZero & KnownOne) == 0 281 KnownZero &= KnownZero2;
|
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.h | 56 /// KnownZero/KnownOne bitsets. 58 APInt &KnownZero,
|
SparcISelLowering.cpp | [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/Transforms/Utils/ |
Local.cpp | [all...] |