|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/CGBuiltin.cpp 2642 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast");
2645 if (IntPtrTy->getBitWidth() == 64)
tools/clang/lib/CodeGen/CGCall.cpp 1175 Val = CGF.Builder.CreatePtrToInt(Val, CGF.IntPtrTy, "coerce.val.pi");
1180 DestIntTy = CGF.IntPtrTy;
1260 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize),
1338 llvm::ConstantInt::get(CGF.IntPtrTy, DstSize),
2329 auto SizeVal = llvm::ConstantInt::get(IntPtrTy, Size.getQuantity());
tools/clang/lib/CodeGen/CGClass.cpp 794 llvm::Type *Args[2] = {IntPtrTy, IntPtrTy};
794 llvm::Type *Args[2] = {IntPtrTy, IntPtrTy};
802 ThisPtr = Builder.CreatePtrToInt(ThisPtr, IntPtrTy);
tools/clang/lib/CodeGen/CGDecl.cpp 1156 auto *SizeVal = llvm::ConstantInt::get(CGM.IntPtrTy, ConstantSize);
1719 llvm::ConstantInt::get(IntPtrTy, EltSize.getQuantity());
tools/clang/lib/CodeGen/CGExpr.cpp 715 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize);
726 llvm::Type *Tys[2] = { IntPtrTy, Int8PtrTy };
750 PtrAsInt = Builder.CreatePtrToInt(Ptr, IntPtrTy);
752 PtrAsInt, llvm::ConstantInt::get(IntPtrTy, AlignVal - 1));
754 Builder.CreateICmpEQ(Align, llvm::ConstantInt::get(IntPtrTy, 0));
811 llvm::Type *VPtrTy = llvm::PointerType::get(IntPtrTy, 0);
817 Hash = Builder.CreateTrunc(Hash, IntPtrTy);
821 llvm::Type *HashTable = llvm::ArrayType::get(IntPtrTy, CacheSize);
825 llvm::ConstantInt::get(IntPtrTy,
2001 llvm::Type *ResultType = IntPtrTy;
2835 llvm::Type *TargetTy = IntPtrTy;
3085 ArgTypes.push_back(IntPtrTy);
3243 IntPtrTy);
3471 if (Promote && Idx->getType() != IntPtrTy)
3472 Idx = Builder.CreateIntCast(Idx, IntPtrTy, IdxSigned, "idxprom");
3661 EmitScalarExpr(LowerBound), IntPtrTy,
3664 Idx = llvm::ConstantInt::getNullValue(IntPtrTy);
3693 EmitScalarExpr(LowerBound), IntPtrTy,
3695 : llvm::ConstantInt::get(IntPtrTy, ConstLowerBound);
3699 EmitScalarExpr(Length), IntPtrTy,
3701 : llvm::ConstantInt::get(IntPtrTy, ConstLength);
3707 Idx, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "idx_sub_1",
3711 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength + ConstLowerBound);
3727 EmitScalarExpr(Length), IntPtrTy,
3730 LengthVal, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "len_sub_1",
3735 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength);
4872 {CastedCallee, llvm::UndefValue::get(IntPtrTy)});
tools/clang/lib/CodeGen/CGExprConstant.cpp 2085 LHS = llvm::ConstantExpr::getPtrToInt(LHS, CGM.IntPtrTy);
2086 RHS = llvm::ConstantExpr::getPtrToInt(RHS, CGM.IntPtrTy);
tools/clang/lib/CodeGen/CGObjCMac.cpp 2807 return llvm::ConstantInt::get(CGM.IntPtrTy, Result);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1839 CGM.IntPtrTy};
3214 CGF.EmitScalarExpr(Hint), CGM.IntPtrTy, /*isSigned=*/false));
5252 CGF.Builder.CreatePtrToInt(Addr.getPointer(), CGF.IntPtrTy),
tools/clang/lib/CodeGen/CGStmt.cpp 2175 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy);
2180 Arg = Builder.CreateZExt(Arg, IntPtrTy);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 944 Builder.CreatePtrToInt(MasterAddr.getPointer(), CGM.IntPtrTy),
946 CGM.IntPtrTy)),
tools/clang/lib/CodeGen/CodeGenFunction.cpp 514 auto *GOTAsInt = llvm::ConstantExpr::getPtrToInt(GV, IntPtrTy);
515 auto *FuncAsInt = llvm::ConstantExpr::getPtrToInt(F, IntPtrTy);
517 return (IntPtrTy == Int32Ty)
526 auto *PCRelAsInt = Builder.CreateSExt(EncodedAddr, IntPtrTy);
527 auto *FuncAsInt = Builder.CreatePtrToInt(F, IntPtrTy, "func_addr.int");
1581 = llvm::ConstantInt::get(CGF.IntPtrTy, baseSize.getQuantity());
tools/clang/lib/CodeGen/CodeGenModule.cpp 120 IntPtrTy = llvm::IntegerType::get(LLVMContext,
4652 Ty = IntPtrTy;
4658 Ty = IntPtrTy;
4664 Ty = IntPtrTy;
4716 Fields.addInt(IntPtrTy, IsSwift4_1 ? 0x05 : 0x01);
4774 LengthTy = IntPtrTy;
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp 135 base = llvm::ConstantExpr::getPtrToInt(base, Builder.CGM.IntPtrTy);
136 target = llvm::ConstantExpr::getPtrToInt(target, Builder.CGM.IntPtrTy);
140 if (Builder.CGM.IntPtrTy != offsetType) {
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 768 {CastedNonVirtualFn, llvm::UndefValue::get(CGF.IntPtrTy)});
1183 CGF.GetVTablePtr(Ptr, CGF.IntPtrTy->getPointerTo(), ClassDecl);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 542 llvm::ConstantExpr::getPtrToInt(getImageBase(), CGM.IntPtrTy);
544 llvm::ConstantExpr::getPtrToInt(PtrVal, CGM.IntPtrTy);
tools/clang/lib/CodeGen/TargetInfo.cpp 262 PtrAsInt = CGF.Builder.CreatePtrToInt(PtrAsInt, CGF.IntPtrTy);
264 llvm::ConstantInt::get(CGF.IntPtrTy, Align.getQuantity() - 1));
266 llvm::ConstantInt::get(CGF.IntPtrTy, -Align.getQuantity()));
7286 : CGF.IntPtrTy);