/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 812 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast"); 815 if (IntPtrTy->getBitWidth() == 64)
|
H A D | CGCall.cpp | 708 Val = CGF.Builder.CreatePtrToInt(Val, CGF.IntPtrTy, "coerce.val.pi"); 713 DestIntTy = CGF.IntPtrTy; 800 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize), 888 llvm::ConstantInt::get(CGF.IntPtrTy, DstSize), 1441 llvm::ConstantInt::get(IntPtrTy,
|
H A D | CGDecl.cpp | 1111 llvm::ConstantInt::get(IntPtrTy,
|
H A D | CGExpr.cpp | 487 llvm::Type *Tys[2] = { IntPtrTy, Int8PtrTy }; 493 llvm::ConstantInt::get(IntPtrTy, Size)); 507 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy), 508 llvm::ConstantInt::get(IntPtrTy, AlignVal - 1)); 510 Builder.CreateICmpEQ(Align, llvm::ConstantInt::get(IntPtrTy, 0)); 551 llvm::Type *VPtrTy = llvm::PointerType::get(IntPtrTy, 0); 557 Hash = Builder.CreateTrunc(Hash, IntPtrTy); 561 llvm::Type *HashTable = llvm::ArrayType::get(IntPtrTy, CacheSize); 565 llvm::ConstantInt::get(IntPtrTy, 2130 llvm::Type *TargetTy = IntPtrTy; [all...] |
H A D | CGExprAgg.cpp | 1491 llvm::ConstantInt::get(IntPtrTy,
|
H A D | CGExprConstant.cpp | 1156 LHS = llvm::ConstantExpr::getPtrToInt(LHS, IntPtrTy); 1157 RHS = llvm::ConstantExpr::getPtrToInt(RHS, IntPtrTy);
|
H A D | CGExprScalar.cpp | 733 llvm::Type *MiddleTy = CGF.IntPtrTy; 1440 llvm::Type *MiddleTy = CGF.IntPtrTy;
|
H A D | CGObjCGNU.cpp | 153 llvm::IntegerType *IntPtrTy; member in class:__anon17845::CGObjCGNU 929 IntPtrTy = 1604 IntPtrTy, // strong_pointers 1605 IntPtrTy, // weak_pointers 1979 return llvm::ConstantInt::get(IntPtrTy, val); 1998 llvm::Constant *ptr = llvm::ConstantExpr::getPtrToInt(GS, IntPtrTy); 2315 llvm::Constant *ZeroPtr = llvm::ConstantInt::get(IntPtrTy, 0);
|
H A D | CGStmt.cpp | 1921 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); 1926 Arg = Builder.CreateZExt(Arg, IntPtrTy);
|
H A D | CodeGenFunction.cpp | 1151 = llvm::ConstantInt::get(CGF.IntPtrTy, baseSizeAndAlign.first.getQuantity());
|
H A D | CodeGenModule.cpp | 106 IntPtrTy = llvm::IntegerType::get(LLVMContext, PointerWidthInBits);
|
H A D | CodeGenModule.h | 120 llvm::IntegerType *IntPtrTy; member in union:clang::CodeGen::CodeGenTypeCache::__anon17856
|
H A D | ItaniumCXXABI.cpp | 846 llvm::Value *vtable = CGF.GetVTablePtr(ptr, CGF.IntPtrTy->getPointerTo());
|
H A D | MicrosoftCXXABI.cpp | 395 llvm::ConstantExpr::getPtrToInt(getImageBase(), CGM.IntPtrTy); 397 llvm::ConstantExpr::getPtrToInt(PtrVal, CGM.IntPtrTy);
|
H A D | TargetInfo.cpp | 4601 llvm::ConstantInt::get(CGF.IntPtrTy, CharSize.getQuantity()),
|
/external/llvm/examples/BrainF/ |
H A D | BrainF.cpp | 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); local 86 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); 87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem,
|
/external/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); local 210 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/external/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 566 /// IntPtrTy argument is used to make accurate determinations for casts 577 Type *IntPtrTy ///< Integer type corresponding to Ptr types 582 Type *IntPtrTy ///< Integer type corresponding to pointer
|
H A D | Instructions.h | 1277 Type *IntPtrTy, Type *AllocTy, 1282 Type *IntPtrTy, Type *AllocTy,
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 190 Type *IntPtrTy = TD.getIntPtrType(GEP->getType()); local 191 Value *Result = Constant::getNullValue(IntPtrTy); 198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth(); 219 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 224 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 225 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/); 232 if (Op->getType() != IntPtrTy) 233 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c"); 236 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 678 Type *IntPtrTy = TD->getIntPtrType(ResultTy); 687 Ops[i]->getType() != IntPtrTy) { 691 IntPtrTy, 693 Ops[i], IntPtrTy)); 736 Type *IntPtrTy = TD->getIntPtrType(Ptr->getType()); 748 assert((!CE || CE->getType() == IntPtrTy) && 763 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy); 832 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0)); 838 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx)); 1122 Type *IntPtrTy local 1134 Type *IntPtrTy = TD->getIntPtrType(CE0->getOperand(0)->getType()); local 1146 Type *IntPtrTy = TD->getIntPtrType(CE0->getType()); local 1160 Type *IntPtrTy = TD->getIntPtrType(CE0->getOperand(0)->getType()); local [all...] |
H A D | InstructionSimplify.cpp | 603 Type *IntPtrTy = DL->getIntPtrType(V->getType())->getScalarType(); 604 APInt Offset = APInt::getNullValue(IntPtrTy->getIntegerBitWidth()); 629 Constant *OffsetIntPtr = ConstantInt::get(IntPtrTy, Offset);
|
H A D | ScalarEvolution.cpp | 3278 Type *IntPtrTy = getEffectiveSCEVType(GEP->getType()); 3290 const SCEV *TotalOffset = getConstant(IntPtrTy, 0); 3300 const SCEV *FieldOffset = getOffsetOfExpr(IntPtrTy, STy, FieldNo); 3306 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, *GTI); 3309 IndexS = getTruncateOrSignExtend(IndexS, IntPtrTy);
|
H A D | ScalarEvolutionExpander.cpp | 405 Type *IntPtrTy = SE.DL local 419 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy);
|
/external/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 972 Type *IntPtrTy = DL->getIntPtrType(V->getContext()); local 973 return cast<ConstantInt>(ConstantInt::get(IntPtrTy, Offset));
|