/external/llvm/examples/BrainF/ |
BrainF.cpp | 81 ConstantInt *val_mem = ConstantInt::get(C, APInt(32, memtotal)); 95 ConstantInt::get(C, APInt(8, 0)), 97 ConstantInt::get(C, APInt(32, 1)), 98 ConstantInt::get(C, APInt(1, 0)) 109 CreateGEP(ptr_arr, ConstantInt::get(C, APInt(32, memtotal)), "arrmax"); 114 ConstantInt::get(C, APInt(32, memtotal/2)), 241 CreateGEP(curhead, ConstantInt::get(C, APInt(32, curvalue)), 276 CreateAdd(tape_0, ConstantInt::get(C, APInt(8, curvalue)), tapereg); 440 ConstantInt::get(C, APInt(8, 0)), testreg);
|
/external/llvm/include/llvm/IR/ |
GlobalAlias.h | 97 const GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) const { 100 GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) {
|
Operator.h | 447 /// This routine accepts an APInt into which it will accumulate the constant 449 /// all-constant, it returns false and the value of the offset APInt is 450 /// undefined (it is *not* preserved!). The APInt passed into this routine 453 bool accumulateConstantOffset(const DataLayout &DL, APInt &Offset) const { 470 Offset += APInt(Offset.getBitWidth(), 476 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); 477 Offset += Index * APInt(Offset.getBitWidth(),
|
Constant.h | 20 class APInt; 127 const APInt &getUniqueInteger() const; 173 static Constant *getIntegerValue(Type* Ty, const APInt &V);
|
/external/llvm/unittests/ADT/ |
ilistTest.cpp | 1 //===- llvm/unittest/ADT/APInt.cpp - APInt unit tests ---------------------===//
|
/external/llvm/lib/Support/ |
APSInt.cpp | 22 APInt::Profile(ID);
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXMCExpr.cpp | 42 APInt API = APF.bitcastToAPInt();
|
/external/llvm/test/CodeGen/AArch64/ |
neon-or-combine.ll | 7 ; The assertion failure was caused by an invalid comparison between APInt
|
/external/llvm/lib/Analysis/ |
MemoryBuiltins.cpp | 360 APInt ObjSize = Data.first, Offset = Data.second; 376 APInt ObjectSizeOffsetVisitor::align(APInt Size, uint64_t Align) { 378 return APInt(IntTyBits, RoundUpToAlignment(Size.getZExtValue(), Align)); 393 Zero = APInt::getNullValue(IntTyBits); 432 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); 451 APInt Size(IntTyBits, DL.getTypeAllocSize(PT->getElementType())); 463 APInt Size(IntTyBits, GetStringLength(CS.getArgument(0))); 473 APInt MaxSize = Arg->getValue().zextOrSelf(IntTyBits); 484 APInt Size = Arg->getValue().zextOrSelf(IntTyBits) [all...] |
TargetTransformInfo.cpp | 167 unsigned TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { 172 const APInt &Imm, Type *Ty) const { 177 const APInt &Imm, Type *Ty) const {
|
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.h | 83 unsigned getIntImmCost(const APInt &Imm, Type *Ty); 84 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, 86 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
|
/external/llvm/lib/Target/PowerPC/ |
PPCTargetTransformInfo.h | 66 unsigned getIntImmCost(const APInt &Imm, Type *Ty); 68 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, 70 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
|
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.h | 98 unsigned getIntImmCost(const APInt &Imm, Type *Ty); 100 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, 102 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
|
X86TargetObjectFile.cpp | 124 static std::string APIntToHexString(const APInt &AI) { 137 APInt AI; 139 AI = APInt(Ty->getPrimitiveSizeInBits(), /*val=*/0);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 81 static bool MultiplyOverflows(const APInt &C1, const APInt &C2, APInt &Product, 93 static bool IsMultiple(const APInt &C1, const APInt &C2, APInt &Quotient, 98 APInt Remainder(C1.getBitWidth(), /*Val=*/0ULL, IsSigned); 100 APInt::sdivrem(C1, C2, Quotient, Remainder); 102 APInt::udivrem(C1, C2, Quotient, Remainder); 113 const APInt *IVal [all...] |
InstCombineCompares.cpp | 180 static void ComputeSignedMinMaxValuesFromKnownBits(const APInt& KnownZero, 181 const APInt& KnownOne, 182 APInt& Min, APInt& Max) { 187 APInt UnknownBits = ~(KnownZero|KnownOne); 204 static void ComputeUnsignedMinMaxValuesFromKnownBits(const APInt &KnownZero, 205 const APInt &KnownOne, 206 APInt &Min, APInt &Max) { 211 APInt UnknownBits = ~(KnownZero|KnownOne) [all...] |
InstCombineAddSub.cpp | 104 // two instructions. So the range of <IntVal> falls in [-4, 4]. APInt 868 static bool checkRippleForAdd(const APInt &Op0KnownZero, 869 const APInt &Op1KnownZero) { 870 APInt Op1MaybeOne = ~Op1KnownZero; 877 APInt Op0KnownZeroTemp(Op0KnownZero); 917 APInt LHSKnownZero(BitWidth, 0); 918 APInt LHSKnownOne(BitWidth, 0); 921 APInt RHSKnownZero(BitWidth, 0); 922 APInt RHSKnownOne(BitWidth, 0); 954 APInt LHSKnownZero(BitWidth, 0) [all...] |
/external/llvm/include/llvm/Analysis/ |
PtrUseVisitor.h | 25 #include "llvm/ADT/APInt.h" 120 APInt Offset; 144 APInt Offset; 210 Offset = APInt(IntPtrTy->getBitWidth(), 0); 253 Offset = APInt();
|
ValueTracking.h | 24 class APInt; 40 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, 48 APInt &KnownZero); 87 bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL,
|
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 409 GVArgc.IntVal = APInt(32, argv.size()); 585 // Although the value is undefined, we still have to construct an APInt 587 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); 598 APInt(ElemTy->getPrimitiveSizeInBits(), 0); 616 APInt(ElemTy->getPrimitiveSizeInBits(), 0); 629 APInt Offset(DL->getPointerSizeInBits(), 0); 696 case Instruction::FPToUI: // double->APInt conversion handles sign 719 GV.IntVal = APInt(PtrWidth, uintptr_t(GV.PointerVal)); 746 GV.IntVal = APInt::floatToBits(GV.FloatVal); 750 GV.IntVal = APInt::doubleToBits(GV.DoubleVal) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 225 APInt find(Value *V, bool SignExtended, bool ZeroExtended, bool NonNegative); 227 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended, 273 void ComputeKnownBits(Value *V, APInt &KnownOne, APInt &KnownZero) const; 447 APInt ConstantOffsetExtractor::findInEitherOperand(BinaryOperator *BO, 452 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended, 469 APInt ConstantOffsetExtractor::find(Value *V, bool SignExtended, 478 if (U == nullptr) return APInt(BitWidth, 0); 480 APInt ConstantOffset(BitWidth, 0); 637 APInt ConstantOffset [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 15 #include "llvm/ADT/APInt.h" 116 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \ 124 Dest.AggregateVal[_i].IntVal = APInt(1, \ 134 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP \ 306 Dest.IntVal = APInt(1,Src1.TY##Val OP Src2.TY##Val); \ 313 Dest.AggregateVal[_i].IntVal = APInt(1, \ 342 Dest.IntVal = APInt(1,false); \ 347 Dest.IntVal = APInt(1,false); \ 358 Dest.AggregateVal[_i].IntVal = APInt(1,FLAG); \ 360 Dest.AggregateVal[_i].IntVal = APInt(1,!FLAG); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 18 #include "llvm/ADT/APInt.h" 150 APInt size() const { 151 const APInt &rHigh = High->getValue(); 152 const APInt &rLow = Low->getValue(); 250 JumpTableHeader(APInt F, APInt L, const Value *SV, MachineBasicBlock *H, 253 APInt First; 254 APInt Last; 274 BitTestBlock(APInt F, APInt R, const Value* SV [all...] |
/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 18 #include "llvm/ADT/APInt.h" 111 APInt KnownOne, KnownZero; 184 const APInt &KnownZero, const APInt &KnownOne) {
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.cpp | 472 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), 485 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), 495 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); 510 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); 512 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); 514 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); 516 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); 518 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); 524 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)());
|