/external/llvm/unittests/IR/ |
MDBuilderTest.cpp | 47 APInt A(8, 1), B(8, 2);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 405 const APInt *C1; 409 const APInt *C2; 676 APInt MinSignedValue = APInt::getSignBit(BitWidth); 678 const APInt *Y, *C; 793 APInt ACB = CB->getValue(); 794 APInt ACC = CC->getValue(); [all...] |
InstCombineVectorOps.cpp | 202 APInt UndefElts(VectorWidth, 0); 203 APInt DemandedMask(VectorWidth, 0); 580 APInt UndefElts(VWidth, 0); 581 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); [all...] |
/external/lldb/source/Expression/ |
IRInterpreter.cpp | 154 APInt value_apint; 213 bool ResolveConstantValue (APInt &value, const Constant *constant) 267 value += APInt(value.getBitWidth(), offset, is_signed); 277 value = APInt(m_target_data.getPointerSizeInBits(), 0); 319 APInt resolved_value; [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILISelLowering.cpp | 279 APInt &KnownZero, 280 APInt &KnownOne, 284 APInt KnownZero2; 285 APInt KnownOne2; 286 KnownZero = KnownOne = APInt(KnownOne.getBitWidth(), 0); // Don't know anything
|
/external/llvm/lib/Target/AArch64/ |
AArch64ISelDAGToDAG.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | 650 void insertUse(Instruction &I, const APInt &Offset, uint64_t Size, 703 APInt GEPOffset = Offset; 717 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); 721 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); 722 GEPOffset += Index * APInt(Offset.getBitWidth(), 737 void handleLoadOrStore(Type *Ty, Instruction &I, const APInt &Offset, [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 223 APInt V = CI->getValue(); 617 APInt Val(DestBitWidth, x); 672 APInt api = CI->getValue(); 674 APInt::getNullValue(DestTy->getPrimitiveSizeInBits())); [all...] |
Value.cpp | 440 APInt &Offset) { 457 APInt GEPOffset(Offset); 592 APInt Offset(DL.getTypeStoreSizeInBits(getType()), 0); 595 APInt DerefBytes(Offset.getBitWidth(), 0);
|
/frameworks/compile/slang/ |
slang_rs_object_ref_count.cpp | 513 llvm::APInt(C.getTypeSize(C.IntTy), 0), C.IntTy, Loc); 527 llvm::APInt(C.getTypeSize(C.IntTy), NumArrayElements), C.IntTy, Loc); 887 llvm::APInt(C.getTypeSize(C.IntTy), 0), C.IntTy, Loc); 900 llvm::APInt(C.getTypeSize(C.IntTy), NumArrayElements), C.IntTy, Loc); [all...] |
/external/llvm/include/llvm/IR/ |
Constants.h | 25 #include "llvm/ADT/APInt.h" 51 ConstantInt(IntegerType *Ty, const APInt& V); 52 APInt Val; 78 /// value V will be canonicalized to a an unsigned APInt. Accessing it with 87 static ConstantInt *get(LLVMContext &Context, const APInt &V); 96 static Constant *get(Type* Ty, const APInt& V); 98 /// Return the constant as an APInt value reference. This allows clients to 101 inline const APInt &getValue() const { [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfUnit.h | 247 void addConstantValue(DIE &Die, const APInt &Val, DIType Ty); 248 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
BasicValueFactory.h | 91 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned);
|
/external/clang/lib/StaticAnalyzer/Core/ |
BasicValueFactory.cpp | 89 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APInt& X,
|
/external/llvm/lib/Target/Mips/ |
MipsISelDAGToDAG.h | 87 virtual bool selectVSplat(SDNode *N, APInt &Imm) const;
|
MipsSEISelLowering.cpp | 600 static bool isVSplat(SDValue N, APInt &Imm, bool IsLittleEndian) { 606 APInt SplatValue, SplatUndef; 631 APInt SplatValue, SplatUndef; 686 APInt Mask, InvMask; 851 APInt SplatValue, SplatUndef; [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.h | 467 SDValue BuildSDIVPow2(SDNode *N, const APInt &Divisor, SelectionDAG &DAG, 473 APInt &KnownZero, 474 APInt &KnownOne, 570 bool shouldConvertConstantLoadToIntImm(const APInt &Imm, [all...] |
/external/clang/include/clang/AST/ |
TemplateBase.h | 288 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); 290 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); 291 return APSInt(APInt(Integer.BitWidth, makeArrayRef(Integer.pVal, NumWords)),
|
/external/llvm/include/llvm/ADT/ |
StringRef.h | 23 class APInt; 378 /// APInt::fromString is superficially similar but assumes the 380 bool getAsInteger(unsigned Radix, APInt &Result) const;
|
/external/llvm/lib/Target/ARM/ |
ARMISelLowering.h | 317 void computeKnownBitsForTargetNode(const SDValue Op, APInt &KnownZero, 318 APInt &KnownOne, 391 bool shouldConvertConstantLoadToIntImm(const APInt &Imm,
|
/external/llvm/tools/lli/ |
lli.cpp | 376 ReturnVal = ConstantInt::get(Context, APInt(64, 0)); 378 ReturnVal = ConstantInt::get(Context, APInt(32, 0)); 642 ResultGV.IntVal = APInt(32, Result);
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 383 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); 395 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); 398 APInt::getNullValue(Ty->getPrimitiveSizeInBits())));
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeFloatTypes.cpp | 151 APInt API = APInt::getAllOnesValue(Size); [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 519 llvm::APInt cookieSize(sizeWidth, 541 llvm::APInt arraySizeMultiplier(sizeWidth, 1); 549 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); 559 const llvm::APInt &count = numElementsC->getValue(); 575 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); 590 llvm::APInt allocationSize 632 llvm::APInt threshold(numElementsWidth, 1); [all...] |
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 901 /// GetIntegerValue - Convert this numeric literal value to an APInt that 904 bool NumericLiteralParser::GetIntegerValue(llvm::APInt &Val) { 927 llvm::APInt RadixVal(Val.getBitWidth(), radix); 928 llvm::APInt CharVal(Val.getBitWidth(), 0); 929 llvm::APInt OldVal = Val; [all...] |