/external/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...] |
Lint.cpp | 415 KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 416 ComputeMaskedBits(Ptr, Mask, KnownZero, KnownOne, TD); 475 KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 476 ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD); 477 return KnownZero.isAllOnesValue();
|
/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); 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...] |
InstCombine.h | 287 void ComputeMaskedBits(Value *V, const APInt &Mask, APInt &KnownZero, 289 return llvm::ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD, Depth); 316 APInt& KnownZero, APInt& KnownOne, 319 APInt& KnownZero, APInt& KnownOne,
|
InstCombineCalls.cpp | 361 APInt KnownZero(BitWidth, 0); 364 KnownZero, KnownOne); 367 if ((Mask & KnownZero) == Mask) 380 APInt KnownZero(BitWidth, 0); 383 KnownZero, KnownOne); 386 if ((Mask & KnownZero) == Mask) [all...] |
InstCombineCasts.cpp | 546 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 548 ComputeMaskedBits(ICI->getOperand(0), TypeMask, KnownZero, KnownOne); 550 APInt KnownZeroMask(~KnownZero); [all...] |
InstCombineCompares.cpp | 150 static void ComputeSignedMinMaxValuesFromKnownBits(const APInt& KnownZero, 153 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 154 KnownZero.getBitWidth() == Min.getBitWidth() && 155 KnownZero.getBitWidth() == Max.getBitWidth() && 156 "KnownZero, KnownOne and Min, Max must have equal bitwidth."); 157 APInt UnknownBits = ~(KnownZero|KnownOne); 174 static void ComputeUnsignedMinMaxValuesFromKnownBits(const APInt &KnownZero, 177 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 178 KnownZero.getBitWidth() == Min.getBitWidth() && 179 KnownZero.getBitWidth() == Max.getBitWidth() & [all...] |
/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 107 APInt KnownOne, KnownZero; 109 KnownZero(1, 0) {} 172 const APInt &KnownZero, const APInt &KnownOne) { 174 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 181 LOI.KnownZero = KnownZero;
|
/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, const APInt &Mask, APInt &KnownZero, 45 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
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...] |
TargetLowering.cpp | [all...] |
SelectionDAG.cpp | [all...] |
SelectionDAGISel.cpp | 424 APInt KnownZero; 455 CurDAG->ComputeMaskedBits(Src, Mask, KnownZero, KnownOne); 456 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, KnownZero, KnownOne); [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.h | 51 /// KnownZero/KnownOne bitsets. 54 APInt &KnownZero,
|
SparcISelLowering.cpp | [all...] |
/external/llvm/lib/Target/CellSPU/ |
SPUISelLowering.h | 125 APInt &KnownZero,
|
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | [all...] |
XCoreISelLowering.h | 163 APInt &KnownZero,
|
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | 755 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 756 ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD); 757 unsigned TrailZ = KnownZero.countTrailingOnes(); [all...] |
SimplifyCFG.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMISelLowering.h | 292 APInt &KnownZero,
|
ARMISelLowering.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.h | 297 APInt &KnownZero,
|
/external/llvm/lib/Target/X86/ |
X86ISelLowering.h | 572 /// KnownZero/KnownOne bitsets. 575 APInt &KnownZero, [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | [all...] |