reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/IRBuilder.h
 2064       return CreateIntToPtr(V, DestTy, Name);
lib/CodeGen/AtomicExpandPass.cpp
  661   Ret.AlignedAddr = Builder.CreateIntToPtr(
 1080   OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType());
lib/CodeGen/CodeGenPrepare.cpp
 4828         ResultPtr = Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(),
 4832         ResultPtr = Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(),
 4999       SunkAddr = Builder.CreateIntToPtr(Result, Addr->getType(), "sunkaddr");
lib/CodeGen/SafeStack.cpp
  543     BasePointer = cast<Instruction>(IRB.CreateIntToPtr(
  665     Value *NewTop = IRB.CreateIntToPtr(
lib/CodeGen/SjLjEHPrepare.cpp
  196     ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy());
lib/IR/Core.cpp
 3756   return wrap(unwrap(B)->CreateIntToPtr(unwrap(Val), unwrap(DestTy), Name));
lib/Target/AArch64/AArch64ISelLowering.cpp
 8864         SubVec = Builder.CreateIntToPtr(
lib/Target/ARM/ARMISelLowering.cpp
16824         SubVec = Builder.CreateIntToPtr(
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  565   Value *ThrewInt = IRB.CreateIntToPtr(Threw, Type::getInt32PtrTy(C),
lib/Transforms/IPO/MergeFunctions.cpp
  501     return Builder.CreateIntToPtr(V, DestTy);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1701       IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy));
 1752     Value *LastByte = IRB.CreateIntToPtr(
 2836         Poison, IRB.CreateIntToPtr(Ptr, Poison->getType()->getPointerTo()), 1);
 3130     Value *NewAllocaPtr = IRB.CreateIntToPtr(
 3138   Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy);
 3142   Value *BasePlus1 = IRB.CreateIntToPtr(
 3152   Value *BasePlus2 = IRB.CreateIntToPtr(
 3220             IntptrTy, IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy));
 3223             IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy()));
 3313   Value *NewAddressPtr = IRB.CreateIntToPtr(NewAddress, AI->getType());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1074   return IRB.CreateIntToPtr(
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  590       IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType());
  605     return IRB.CreateIntToPtr(Shadow, Int8PtrTy);
  666   InlineTagAddr = IRB.CreateIntToPtr(InlineTagAddr, Int8PtrTy);
  885   return IRB.CreateIntToPtr(TaggedPtrLong, Ty);
  991         IRB.CreateIntToPtr(ThreadLongMaybeUntagged, IntptrTy->getPointerTo(0));
 1017   LocalDynamicShadow = IRB.CreateIntToPtr(LocalDynamicShadow, Int8PtrTy);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1419         IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0));
 1433           IRB.CreateIntToPtr(OriginLong, PointerType::get(MS.OriginTy, 0));
 1483     return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0),
 1495     return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0),
 3891     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 3902     return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0),
 3963       Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr(
 3980       Value *OverflowArgAreaPtrPtr = IRB.CreateIntToPtr(
 4055     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 4106           IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
 4224     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 4255       IRB.CreateIntToPtr(
 4265       IRB.CreateIntToPtr(
 4491     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 4543           IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy),
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  676       PCs.push_back((Constant *)IRB.CreateIntToPtr(
  681       PCs.push_back((Constant *)IRB.CreateIntToPtr(
  871     auto GuardPtr = IRB.CreateIntToPtr(
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  545       StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy());
  700       OldVal = IRB.CreateIntToPtr(C, OrigOldValTy);
lib/Transforms/Scalar/SROA.cpp
 1776       return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)),
 1781       return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)),
 1784     return IRB.CreateIntToPtr(V, NewTy);
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  925   ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType());
lib/Transforms/Utils/SimplifyLibCalls.cpp
  971     return B.CreateIntToPtr(B.CreateAnd(Bounds, Bits, "memchr"), CI->getType());
lib/Transforms/Utils/VNCoercion.cpp
   88         StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy);
  131       StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy);
tools/clang/lib/CodeGen/CGAtomic.cpp
 1402       return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy));
tools/clang/lib/CodeGen/CGBlocks.cpp
 2854   V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa");
tools/clang/lib/CodeGen/CGBuiltin.cpp
  109     return CGF.Builder.CreateIntToPtr(V, ResultType);
 3420     return RValue::get(Builder.CreateIntToPtr(Builder.CreateExtractValue(Result,
 5949       return Builder.CreateIntToPtr(Call, ValueType);
 6199       return Builder.CreateIntToPtr(Val, RealResTy);
 7190       return Builder.CreateIntToPtr(Val, RealResTy);
12330         Builder.CreateIntToPtr(Ops[0], llvm::PointerType::get(IntTy, 257));
12342         Builder.CreateIntToPtr(Ops[0], llvm::PointerType::get(IntTy, 256));
tools/clang/lib/CodeGen/CGCall.cpp
 1204     Val = CGF.Builder.CreateIntToPtr(Val, Ty, "coerce.val.ip");
tools/clang/lib/CodeGen/CGExpr.cpp
 1919     Call = Builder.CreateIntToPtr(Call, OrigTy);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1272     return Builder.CreateIntToPtr(IntResult, DstTy, "conv");
 2170     auto *IntToPtr = Builder.CreateIntToPtr(IntResult, DestLLVMTy);
 3202     return CGF.Builder.CreateIntToPtr(index, pointer->getType());
 4315       Val = Builder.CreateIntToPtr(Val, ArgTy);
 4384   return Builder.CreateIntToPtr(Src, DstTy, Name);
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4810     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 4831     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 4857     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 4876     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 7522     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 7542     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 7588     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
 7609     src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 5765       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
10999     Allocator = CGF.Builder.CreateIntToPtr(Allocator, CGM.VoidPtrTy);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 2570           PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy);
 3039           Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy);
 3054           Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy);
 3798       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
 3998       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
 4320       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
tools/clang/lib/CodeGen/CGStmt.cpp
 2315         Tmp = Builder.CreateIntToPtr(Tmp, TruncTy);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  529   auto *GOTAddr = Builder.CreateIntToPtr(GOTAsInt, Int8PtrPtrTy, "global_addr");
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  735     Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn");
tools/clang/lib/CodeGen/TargetInfo.cpp
  267   PtrAsInt = CGF.Builder.CreateIntToPtr(PtrAsInt,
 5500     OnStackPtr = CGF.Builder.CreateIntToPtr(OnStackPtr, CGF.Int8PtrTy);
 7289       V = CGF.Builder.CreateIntToPtr(V, Temp.getElementType());