/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 47 APInt &KnownZero, APInt &KnownOne, 96 KnownOne |= KnownOne2 & Mask; 107 KnownOne |= LHSKnownOne & Mask; 111 if (!KnownZero.isNegative() && !KnownOne.isNegative()) { 119 KnownOne |= APInt::getSignBit(BitWidth); 126 KnownOne |= APInt::getSignBit(BitWidth); 133 APInt &KnownZero, APInt &KnownOne, 137 ComputeMaskedBits(Op1, KnownZero, KnownOne, TD, Depth+1); 139 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 152 bool isKnownNegativeOp1 = KnownOne.isNegative() [all...] |
Lint.cpp | 419 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 420 ComputeMaskedBits(Ptr, KnownZero, KnownOne, TD); 421 Assert1(!(KnownOne & APInt::getLowBitsSet(BitWidth, Log2_32(Align))), 478 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 479 ComputeMaskedBits(V, KnownZero, KnownOne, TD);
|
/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 106 APInt KnownOne, KnownZero; 107 LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0), 171 const APInt &KnownZero, const APInt &KnownOne) { 173 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 179 LOI.KnownOne = KnownOne;
|
SelectionDAG.h | [all...] |
/external/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); 85 /// returns false after analyzing the expression and setting KnownOne and 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 93 /// and KnownOne must all be the same. 101 APInt &KnownZero, APInt &KnownOne, [all...] |
InstCombine.h | 295 APInt &KnownOne, unsigned Depth = 0) const { 296 return llvm::ComputeMaskedBits(V, KnownZero, KnownOne, TD, Depth); 323 APInt& KnownZero, APInt& KnownOne, 326 APInt& KnownZero, APInt& KnownOne,
|
InstCombineCompares.cpp | 153 const APInt& KnownOne, 155 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 158 "KnownZero, KnownOne and Min, Max must have equal bitwidth."); 159 APInt UnknownBits = ~(KnownZero|KnownOne); 163 Min = KnownOne; 164 Max = KnownOne|UnknownBits; 177 const APInt &KnownOne, 179 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 182 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth."); 183 APInt UnknownBits = ~(KnownZero|KnownOne); [all...] |
InstCombineCalls.cpp | 291 APInt KnownOne(BitWidth, 0); 292 ComputeMaskedBits(II->getArgOperand(0), KnownZero, KnownOne); 293 unsigned TrailingZeros = KnownOne.countTrailingZeros(); 309 APInt KnownOne(BitWidth, 0); 310 ComputeMaskedBits(II->getArgOperand(0), KnownZero, KnownOne); 311 unsigned LeadingZeros = KnownOne.countLeadingZeros(); [all...] |
InstCombineCasts.cpp | 543 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 544 ComputeMaskedBits(ICI->getOperand(0), KnownZero, KnownOne); [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, 45 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |
FunctionLoweringInfo.cpp | 257 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); 292 DestLOI.KnownOne = Zero; 300 DestLOI.KnownOne = Val; 318 DestLOI.KnownOne.getBitWidth() == BitWidth && 327 DestLOI.KnownOne = Zero; 335 DestLOI.KnownOne &= Val; 353 DestLOI.KnownOne &= SrcLOI->KnownOne;
|
SelectionDAG.cpp | [all...] |
SelectionDAGISel.cpp | 509 APInt KnownOne; 538 CurDAG->ComputeMaskedBits(Src, KnownZero, KnownOne); 539 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, KnownZero, KnownOne); [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.h | 51 /// KnownZero/KnownOne bitsets. 54 APInt &KnownOne,
|
SparcISelLowering.cpp | [all...] |
/external/llvm/lib/Target/CellSPU/ |
SPUISelLowering.h | 124 APInt &KnownOne,
|
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.h | 164 APInt &KnownOne,
|
XCoreISelLowering.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMISelLowering.h | 328 APInt &KnownOne,
|
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.h | 304 APInt &KnownOne,
|
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | 776 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 777 ComputeMaskedBits(V, KnownZero, KnownOne, TD); [all...] |
SimplifyCFG.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.h | 536 /// KnownZero/KnownOne bitsets. 539 APInt &KnownOne, [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | [all...] |