Home
last modified time | relevance | path

Searched refs:CreateIntToPtr (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1494 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrUserspace()
1568 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
4323 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForVAArgument()
4385 Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
4402 Value *OverflowArgAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
4677 IRB.CreateIntToPtr( in getVAField64()
4687 IRB.CreateIntToPtr( in getVAField32()
5166 ShadowBase = IRB.CreateIntToPtr( in visitCallBase()
5189 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForVAArgument()
5214 Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr( in copyRegSaveArea()
[all …]
H A DHWAddressSanitizer.cpp799 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand()
807 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow()
873 InlineTagAddr = IRB.CreateIntToPtr(InlineTagAddr, Int8PtrTy); in instrumentMemAccessInline()
1097 return IRB.CreateIntToPtr(TaggedPtrLong, Ty); in tagPointer()
1182 IRB.CreateIntToPtr(ThreadLongMaybeUntagged, IntptrTy->getPointerTo(0)); in emitPrologue()
1209 ShadowBase = IRB.CreateIntToPtr(ShadowBase, Int8PtrTy); in emitPrologue()
H A DAddressSanitizer.cpp1760 IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1811 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
3008 Poison, IRB.CreateIntToPtr(Ptr, Poison->getType()->getPointerTo()), in copyToShadowInline()
3381 Value *NewAllocaPtr = IRB.CreateIntToPtr( in processStaticAllocas()
3389 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in processStaticAllocas()
3393 Value *BasePlus1 = IRB.CreateIntToPtr( in processStaticAllocas()
3403 Value *BasePlus2 = IRB.CreateIntToPtr( in processStaticAllocas()
3471 IntptrTy, IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in processStaticAllocas()
3474 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in processStaticAllocas()
3564 Value *NewAddressPtr = IRB.CreateIntToPtr(NewAddress, AI->getType()); in handleDynamicAllocaCall()
H A DSanitizerCoverage.cpp720 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
725 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
922 auto GuardPtr = IRB.CreateIntToPtr( in InjectCoverageAtBlock()
H A DThreadSanitizer.cpp668 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
845 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
H A DMemProfiler.cpp484 Value *ShadowAddr = IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy); in instrumentAddress()
H A DDataFlowSanitizer.cpp1627 return IRB.CreateIntToPtr(Base, PointerType::get(DFS.getShadowTy(T), 0), in getArgTLS()
1786 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginAddress()
1801 OriginPtr = IRB.CreateIntToPtr(OriginLong, OriginPtrTy); in getShadowOriginAddress()
1809 return IRB.CreateIntToPtr(ShadowOffset, PrimitiveShadowPtrTy); in getShadowAddress()
H A DInstrProfiling.cpp715 Addr = Builder.CreateIntToPtr(Add, Int64PtrTy); in lowerIncrement()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilderFolder.h107 virtual Value *CreateIntToPtr(Constant *C, Type *DestTy) const = 0;
H A DConstantFolder.h215 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
H A DNoFolder.h249 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp102 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
144 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp563 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
684 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
H A DSjLjEHPrepare.cpp203 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
H A DAtomicExpandPass.cpp704 PMV.AlignedAddr = Builder.CreateIntToPtr( in createMaskInstrs()
1150 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h201 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1533 PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy); in emitParallelCall()
1918 Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy);
1933 Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy);
2688 CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy), in emitListToGlobalReduceFunction()
2894 CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy), in emitGlobalToListReduceFunction()
3216 CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy), in emitReduction()
H A DCGObjCMac.cpp4997 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign()
5018 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
5044 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign()
5063 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign()
7697 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign()
7717 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign()
7763 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign()
7784 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
H A DCGExprScalar.cpp1353 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); in EmitScalarConversion()
2243 auto *IntToPtr = Builder.CreateIntToPtr(IntResult, DestLLVMTy); in VisitCastExpr()
3421 return CGF.Builder.CreateIntToPtr(index, pointer->getType()); in emitPointerArithmetic()
4682 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr()
4745 return Builder.CreateIntToPtr(Src, DstTy, Name); in createCastsForTypeOfSameSize()
H A DTargetInfo.cpp289 PtrAsInt = CGF.Builder.CreateIntToPtr(PtrAsInt, in emitRoundPointerUpToAlignment()
6090 OnStackPtr = CGF.Builder.CreateIntToPtr(OnStackPtr, CGF.Int8PtrTy); in EmitAAPCSVAArg()
8091 V = CGF.Builder.CreateIntToPtr(V, Temp.getElementType()); in EmitVAArg()
8499 __overflow_area_pointer = CGF.Builder.CreateIntToPtr( in EmitVAArgFromMemory()
8539 Addr = Builder.CreateIntToPtr(AddrAsInt, BP); in EmitVAArgForHexagon()
8613 CGF.Builder.CreateIntToPtr(__current_saved_reg_area_pointer_int, in EmitVAArgForHexagonLinux()
8667 __overflow_area_pointer = CGF.Builder.CreateIntToPtr( in EmitVAArgForHexagonLinux()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp502 return Builder.CreateIntToPtr(V, DestTy); in createCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp958 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); in lowerToArithmetics()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp600 IRB.CreateIntToPtr(Threw, getAddrPtrType(M), Threw->getName() + ".p"); in wrapTestSetjmp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp245 Value *BasePtr = Builder.CreateIntToPtr(Zero, Builder.getInt8PtrTy()); in decomposePtr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2460 XRead = Builder.CreateIntToPtr(XLoad, XElemTy, "atomic.ptr.cast"); in createAtomicRead()
2616 OldExprVal = Builder.CreateIntToPtr(PHI, XElemTy, in emitAtomicUpdate()

12