/external/llvm/lib/IR/ |
H A D | Constants.cpp | 133 APInt::getNullValue(128))); 146 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { 166 APInt::getAllOnesValue(ITy->getBitWidth())); 433 ConstantInt::ConstantInt(IntegerType *Ty, const APInt& V) 477 // Get a ConstantInt from an APInt. Note that the value stored in the DenseMap 480 // compare APInt's of different widths, which would violate an APInt class 482 ConstantInt *ConstantInt::get(LLVMContext &Context, const APInt &V) { 504 return get(Ty->getContext(), APInt(Ty->getBitWidth(), V, isSigned)); 515 Constant *ConstantInt::get(Type *Ty, const APInt [all...] |
H A D | Type.cpp | 333 APInt IntegerType::getMask() const { 334 return APInt::getAllOnesValue(getBitWidth());
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 337 APInt TopBit(NVT.getSizeInBits(), 0); 1370 APInt HighBitMask = APInt::getHighBitsSet(ShBits, ShBits - Log2_32(NVTBits)); 1371 APInt KnownZero, KnownOne; 1712 const APInt &Cst = cast<ConstantSDNode>(N)->getAPIntValue(); 1932 APInt HighMask = APInt::getHighBitsSet(OuterBitSize, InnerBitSize); 2808 APInt FF(32, 0); 2810 FF = APInt(32, F32TwoE32); 2812 FF = APInt(3 [all...] |
H A D | LegalizeDAG.cpp | 682 const APInt &IntVal =CFP->getValueAPF().bitcastToAPInt(); 2565 SDValue Mask55 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), VT); 2566 SDValue Mask33 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), VT); 2567 SDValue Mask0F = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), VT); 2568 SDValue Mask01 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), VT); 2918 APInt [all...] |
/external/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 1043 if (const APInt *SingleVal = CR.getSingleElement()) 1059 if (const APInt *SingleVal = CR.getSingleElement())
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 80 virtual unsigned getIntImmCost(const APInt &Imm, Type *Ty) const; 147 unsigned ARMTTI::getIntImmCost(const APInt &Imm, Type *Ty) const {
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 664 APInt APVal(NumBytes*8, Val); 997 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); 2274 APInt OneVal(EltSize, CI->getZExtValue()); 2275 APInt TotalVal(OneVal);
|
/external/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 178 llvm::APInt FieldValue = CI->getValue(); 202 llvm::APInt Tmp = FieldValue; 270 llvm::APInt Tmp;
|
H A D | CodeGenModule.cpp | 2472 llvm::APInt(32, 5), ArrayType::Normal, 0) 3097 llvm::APInt Field0(32, StringRef(Uuidstr , 8), 16); 3098 llvm::APInt Field1(16, StringRef(Uuidstr + 9, 4), 16); 3099 llvm::APInt Field2(16, StringRef(Uuidstr + 14, 4), 16); 3110 llvm::APInt(8, StringRef(Uuidstr + Field3ValueOffsets[t], 2), 16)));
|
H A D | CGStmt.cpp | 920 llvm::APInt Range = RHS - LHS; 922 if (Range.ult(llvm::APInt(Range.getBitWidth(), 64))) {
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1227 const APInt &getAPIntValue() const { return Value->getValue(); } 1456 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 5782 if (DAG.MaskedValueIsZero(Item, APInt::getBitsSet(64, 32, 64))) { 8464 APInt(64, 0x4330000000000000ULL)))); 8467 APInt(64, 0x4530000000000000ULL)))); 8626 APInt FF(32, 0x5F800000ULL); 9023 APInt(64, ~(1ULL << 63)))); 9026 APInt(32, ~(1U << 31)))); 9057 APInt(64, 1ULL << 63))); 9060 APInt(32, 1U << 31))); 9105 CV.push_back(ConstantFP::get(*Context, APFloat(Sem, APInt(64, 1ULL << 63)))); 9106 CV.push_back(ConstantFP::get(*Context, APFloat(Sem, APInt(6 [all...] |
/external/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 1623 llvm::APInt getAsInteger() const; 1658 llvm::APInt ModuleSignature::getAsInteger() const { 1659 return llvm::APInt(Data.size() * 64, Data); 1739 return llvm::APInt(64, code).toString(36, /*Signed=*/false);
|
/external/llvm/include/llvm/ADT/ |
H A D | FoldingSet.h | 25 class APInt;
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 1409 APInt &KnownZero, 1410 APInt &KnownOne, 1413 APInt KnownZero2, KnownOne2; 1414 KnownZero = KnownOne = APInt(KnownZero.getBitWidth(), 0);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 856 APInt(32, StringRef("-1"), 10)); 864 APInt(32, StringRef("-1"), 10));
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 856 APInt(32, StringRef("-1"), 10)); 864 APInt(32, StringRef("-1"), 10));
|
/external/clang/include/clang/AST/ |
H A D | Type.h | 2262 llvm::APInt Size; // Allows us to unique the type. 2264 ConstantArrayType(QualType et, QualType can, const llvm::APInt &size, 2271 const llvm::APInt &size, ArraySizeModifier sm, unsigned tq) 2276 const llvm::APInt &getSize() const { return Size; } 2285 const llvm::APInt &NumElements); 2296 const llvm::APInt &ArraySize, ArraySizeModifier SizeMod,
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1411 llvm::APInt &Res) { 1429 Res = llvm::APInt::getNullValue(VecSize); 1432 llvm::APInt EltAsInt; 1518 RHS &= APSInt(llvm::APInt(RHS.getBitWidth(), 1549 RHS &= APSInt(llvm::APInt(RHS.getBitWidth(), 5194 // Evaluate the operand into an APInt we can extract from. 5195 llvm::APInt SValInt; 5209 llvm::APInt Elt; 5218 llvm::APInt Elt; 5535 bool Success(const llvm::APInt [all...] |
H A D | MicrosoftMangle.cpp | 1487 SmallVector<llvm::APInt, 3> Dimensions; 1514 Dimensions.push_back(llvm::APInt(32, 0));
|
/external/llvm/unittests/ADT/ |
H A D | APFloatTest.cpp | 40 APInt payload = APInt::getOneBitSet(4, 2); 883 EXPECT_EQ(APSInt(APInt(5, 10), true), result); 901 EXPECT_EQ(APSInt(APInt(5, 7), true), result); 908 EXPECT_EQ(APSInt(APInt(5, -10, true), false), result); 923 static APInt nanbits(const fltSemantics &Sem, 925 APInt apfill(64, fill);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 357 APInt Not = ~RHSC->getValue(); 393 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp) 1908 /// probabilities of the branch taking each edge. Fills in the two APInt 3164 APInt KnownZero(Bits, 0), KnownOne(Bits, 0); 3524 APInt TableInt(TableSize * IT->getBitWidth(), 0); 3724 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue();
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 867 unsigned &Code, unsigned &AbbrevToUse, const APInt &Val, 985 // bits are not in the same order as a normal i80 APInt, compensate. 986 APInt api = CFP->getValueAPF().bitcastToAPInt(); 991 APInt api = CFP->getValueAPF().bitcastToAPInt(); 1316 // explicitly to store large APInt numbers.
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1503 APInt OffsetAI(TD.getPointerSizeInBits(), 0); 1766 APInt API = CFP->getValueAPF().bitcastToAPInt(); 1778 // Now iterate through the APInt chunks, emitting them in endian-correct 1816 APInt Realigned(CI->getValue());
|
H A D | DwarfCompileUnit.cpp | 633 const APInt FltVal = FPImm.bitcastToAPInt(); 662 void CompileUnit::addConstantValue(DIE *Die, const APInt &Val, bool Unsigned) { 683 // Get the raw data form of the large APInt.
|