/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/ |
H A D | 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 | 46 ComputeMaskedBitsAddSub(bool Add, Value *Op0, Value *Op1, bool NSW, APInt &KnownZero, APInt &KnownOne, APInt &KnownZero2, APInt &KnownOne2, const TargetData *TD, unsigned Depth) argument 132 ComputeMaskedBitsMul(Value *Op0, Value *Op1, bool NSW, APInt &KnownZero, APInt &KnownOne, APInt &KnownZero2, APInt &KnownOne2, const TargetData *TD, unsigned Depth) argument 194 computeMaskedBitsLoad(const MDNode &Ranges, APInt &KnownZero) argument 228 ComputeMaskedBits(Value *V, APInt &KnownZero, APInt &KnownOne, const TargetData *TD, unsigned Depth) argument 780 ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, const TargetData *TD, unsigned Depth) argument [all...] |
H A D | Lint.cpp | 514 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 515 ComputeMaskedBits(V, KnownZero, KnownOne, TD); 516 return KnownZero.isAllOnesValue();
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/ |
H A D | 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, APIn 68 SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne, unsigned Depth) argument 100 SimplifyDemandedUseBits(Value *V, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne, unsigned Depth) argument [all...] |
H A D | InstCombine.h | 294 void ComputeMaskedBits(Value *V, APInt &KnownZero, argument 296 return llvm::ComputeMaskedBits(V, KnownZero, KnownOne, TD, Depth); 323 APInt& KnownZero, APInt& KnownOne, 326 APInt& KnownZero, APInt& KnownOne,
|
H A D | InstCombineCalls.cpp | 313 APInt KnownZero(BitWidth, 0); 315 ComputeMaskedBits(II->getArgOperand(0), KnownZero, KnownOne); 318 if ((Mask & KnownZero) == Mask) 331 APInt KnownZero(BitWidth, 0); 333 ComputeMaskedBits(II->getArgOperand(0), KnownZero, KnownOne); 336 if ((Mask & KnownZero) == Mask)
|
H A D | InstCombineCasts.cpp | 543 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 544 ComputeMaskedBits(ICI->getOperand(0), KnownZero, KnownOne); 546 APInt KnownZeroMask(~KnownZero); 909 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 910 ComputeMaskedBits(Op0, KnownZero, KnownOne); 912 APInt KnownZeroMask(~KnownZero);
|
H A D | InstCombineCompares.cpp | 152 static void ComputeSignedMinMaxValuesFromKnownBits(const APInt& KnownZero, argument 155 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 156 KnownZero.getBitWidth() == Min.getBitWidth() && 157 KnownZero.getBitWidth() == Max.getBitWidth() && 158 "KnownZero, KnownOne and Min, Max must have equal bitwidth."); 159 APInt UnknownBits = ~(KnownZero|KnownOne); 176 static void ComputeUnsignedMinMaxValuesFromKnownBits(const APInt &KnownZero, argument 179 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() && 180 KnownZero.getBitWidth() == Min.getBitWidth() && 181 KnownZero [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/ |
H A D | FunctionLoweringInfo.h | 106 APInt KnownOne, KnownZero; member in struct:llvm::FunctionLoweringInfo::LiveOutInfo 108 KnownZero(1, 0) {} 171 const APInt &KnownZero, const APInt &KnownOne) { 173 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) 180 LOI.KnownZero = KnownZero; 170 AddLiveOutRegInfo(unsigned Reg, unsigned NumSignBits, const APInt &KnownZero, const APInt &KnownOne) argument
|
H A D | SelectionDAG.h | 1004 /// known to be either zero or one and return them in the KnownZero/KnownOne 1008 void ComputeMaskedBits(SDValue Op, APInt &KnownZero, APInt &KnownOne,
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/ |
H A D | 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,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 1189 /// analyze the expression and return a mask of KnownOne and KnownZero bits for 1190 /// the expression (used to simplify the caller). The KnownZero/One bits may 1194 APInt &KnownZero, 1205 KnownZero = KnownOne = APInt(BitWidth, 0); 1210 // If not at the root, Just compute the KnownZero/KnownOne bits to 1212 TLO.DAG.ComputeMaskedBits(Op, KnownZero, KnownOne, Depth); 1232 KnownZero = ~KnownOne; 1252 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, 1255 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 1256 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownZero 1192 SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask, APInt &KnownZero, APInt &KnownOne, TargetLoweringOpt &TLO, unsigned Depth) const argument 1846 computeMaskedBitsForTargetNode(const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument 1901 APInt KnownZero, KnownOne; local [all...] |
H A D | SelectionDAG.cpp | 1687 APInt KnownZero, KnownOne; local 1688 ComputeMaskedBits(Op, KnownZero, KnownOne, Depth); 1689 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 1690 return (KnownZero & Mask) == Mask; 1694 /// known to be either zero or one and return them in the KnownZero/KnownOne 1697 void SelectionDAG::ComputeMaskedBits(SDValue Op, APInt &KnownZero, argument 1701 KnownZero = KnownOne = APInt(BitWidth, 0); // Don't know anything. 1711 KnownZero = ~KnownOne; 1715 ComputeMaskedBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); 1717 assert((KnownZero 2255 APInt KnownZero, KnownOne; local 2280 APInt KnownZero, KnownOne; local 2331 APInt KnownZero, KnownOne; local 6099 llvm::ComputeMaskedBits(const_cast<GlobalValue*>(GV), KnownZero, KnownOne, local [all...] |
H A D | FunctionLoweringInfo.cpp | 254 if (BitWidth > LOI->KnownZero.getBitWidth()) { 256 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 291 DestLOI.KnownZero = Zero; 299 DestLOI.KnownZero = ~Val; 317 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 326 DestLOI.KnownZero = Zero; 334 DestLOI.KnownZero &= ~Val; 352 DestLOI.KnownZero &= SrcLOI->KnownZero; [all...] |
H A D | SelectionDAGISel.cpp | 513 APInt KnownZero; local 543 CurDAG->ComputeMaskedBits(Src, KnownZero, KnownOne); 544 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, KnownZero, KnownOne); 1478 APInt KnownZero, KnownOne; local 1479 CurDAG->ComputeMaskedBits(LHS, KnownZero, KnownOne);
|
H A D | LegalizeIntegerTypes.cpp | 1368 APInt KnownZero, KnownOne; local 1369 DAG.ComputeMaskedBits(N->getOperand(1), KnownZero, KnownOne); 1372 if (((KnownZero|KnownOne) & HighBitMask) == 0) 1406 if ((KnownZero & HighBitMask) == HighBitMask) {
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Sparc/ |
H A D | SparcISelLowering.h | 51 /// KnownZero/KnownOne bitsets. 53 APInt &KnownZero,
|
H A D | SparcISelLowering.cpp | 840 APInt &KnownZero, 845 KnownZero = KnownOne = APInt(KnownZero.getBitWidth(), 0); 851 DAG.ComputeMaskedBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); 853 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"); 858 KnownZero &= KnownZero2; 839 computeMaskedBitsForTargetNode(const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/CellSPU/ |
H A D | SPUISelLowering.h | 123 APInt &KnownZero,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 1367 APInt KnownZero, KnownOne; local 1370 DAG.ComputeMaskedBits(N2, KnownZero, KnownOne); 1371 if ((KnownZero & Mask) == Mask) { 1390 APInt KnownZero, KnownOne; local 1393 DAG.ComputeMaskedBits(N2, KnownZero, KnownOne); 1394 if ((KnownZero & Mask) == Mask) { 1406 APInt KnownZero, KnownOne; local 1409 DAG.ComputeMaskedBits(N2, KnownZero, KnownOne); 1410 if ((KnownZero & Mask) == Mask) { 1528 APInt &KnownZero, 1527 computeMaskedBitsForTargetNode(const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument [all...] |
H A D | XCoreISelLowering.h | 163 APInt &KnownZero,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Utils/ |
H A D | Local.cpp | 810 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0); 811 ComputeMaskedBits(V, KnownZero, KnownOne, TD); 812 unsigned TrailZ = KnownZero.countTrailingOnes();
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 327 APInt &KnownZero,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 303 APInt &KnownZero,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/ |
H A D | X86ISelLowering.h | 540 /// KnownZero/KnownOne bitsets. 542 APInt &KnownZero,
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Target/ |
H A D | TargetLowering.h | 902 /// KnownZero bits for the expression (used to simplify the caller). 903 /// The KnownZero/One bits may only be accurate for those bits in the 906 APInt &KnownZero, APInt &KnownOne, 911 /// KnownZero/KnownOne bitsets. 913 APInt &KnownZero,
|