Searched refs:IntPtrTy (Results 1 - 25 of 40) sorted by path

12

/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp812 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast");
815 if (IntPtrTy->getBitWidth() == 64)
H A DCGCall.cpp708 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 DCGDecl.cpp1111 llvm::ConstantInt::get(IntPtrTy,
H A DCGExpr.cpp487 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 DCGExprAgg.cpp1491 llvm::ConstantInt::get(IntPtrTy,
H A DCGExprConstant.cpp1156 LHS = llvm::ConstantExpr::getPtrToInt(LHS, IntPtrTy);
1157 RHS = llvm::ConstantExpr::getPtrToInt(RHS, IntPtrTy);
H A DCGExprScalar.cpp733 llvm::Type *MiddleTy = CGF.IntPtrTy;
1440 llvm::Type *MiddleTy = CGF.IntPtrTy;
H A DCGObjCGNU.cpp153 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 DCGStmt.cpp1921 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy);
1926 Arg = Builder.CreateZExt(Arg, IntPtrTy);
H A DCodeGenFunction.cpp1151 = llvm::ConstantInt::get(CGF.IntPtrTy, baseSizeAndAlign.first.getQuantity());
H A DCodeGenModule.cpp106 IntPtrTy = llvm::IntegerType::get(LLVMContext, PointerWidthInBits);
H A DCodeGenModule.h120 llvm::IntegerType *IntPtrTy; member in union:clang::CodeGen::CodeGenTypeCache::__anon17856
H A DItaniumCXXABI.cpp846 llvm::Value *vtable = CGF.GetVTablePtr(ptr, CGF.IntPtrTy->getPointerTo());
H A DMicrosoftCXXABI.cpp395 llvm::ConstantExpr::getPtrToInt(getImageBase(), CGM.IntPtrTy);
397 llvm::ConstantExpr::getPtrToInt(PtrVal, CGM.IntPtrTy);
H A DTargetInfo.cpp4601 llvm::ConstantInt::get(CGF.IntPtrTy, CharSize.getQuantity()),
/external/llvm/examples/BrainF/
H A DBrainF.cpp83 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 DPtrUseVisitor.h208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); local
210 Offset = APInt(IntPtrTy->getBitWidth(), 0);
/external/llvm/include/llvm/IR/
H A DInstrTypes.h566 /// 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 DInstructions.h1277 Type *IntPtrTy, Type *AllocTy,
1282 Type *IntPtrTy, Type *AllocTy,
/external/llvm/include/llvm/Transforms/Utils/
H A DLocal.h190 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 DConstantFolding.cpp678 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 DInstructionSimplify.cpp603 Type *IntPtrTy = DL->getIntPtrType(V->getType())->getScalarType();
604 APInt Offset = APInt::getNullValue(IntPtrTy->getIntegerBitWidth());
629 Constant *OffsetIntPtr = ConstantInt::get(IntPtrTy, Offset);
H A DScalarEvolution.cpp3278 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 DScalarEvolutionExpander.cpp405 Type *IntPtrTy = SE.DL local
419 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy);
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp972 Type *IntPtrTy = DL->getIntPtrType(V->getContext()); local
973 return cast<ConstantInt>(ConstantInt::get(IntPtrTy, Offset));

Completed in 510 milliseconds

12