| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | InstSimplifyFolder.h | 144 Value *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function 145 return ConstFolder.CreateIntToPtr(C, DestTy); in CreateIntToPtr()
|
| H A D | TargetFolder.h | 213 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | IRBuilderFolder.h | 86 virtual Value *CreateIntToPtr(Constant *C, Type *DestTy) const = 0;
|
| H A D | NoFolder.h | 141 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
|
| H A D | ConstantFolder.h | 204 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 804 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand() 812 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow() 886 InlineTagAddr = IRB.CreateIntToPtr(InlineTagAddr, Int8PtrTy); in instrumentMemAccessInline() 1109 return IRB.CreateIntToPtr(TaggedPtrLong, Ty); in tagPointer() 1227 Value *RecordPtr = IRB.CreateIntToPtr(ThreadLongMaybeUntagged, in emitPrologue() 1265 ShadowBase = IRB.CreateIntToPtr(ShadowBase, Int8PtrTy); in emitPrologue()
|
| H A D | MemorySanitizer.cpp | 1664 Value *ShadowPtr = IRB.CreateIntToPtr( in getShadowOriginPtrUserspace() 1678 OriginPtr = IRB.CreateIntToPtr( in getShadowOriginPtrUserspace() 1762 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument() 1773 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument() 4743 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument() 4754 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForVAArgument() 4816 Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation() 4833 Value *OverflowArgAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation() 4907 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument() 4958 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() [all …]
|
| H A D | AddressSanitizer.cpp | 1638 IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress() 1689 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment() 2916 Poison, IRB.CreateIntToPtr(Ptr, Poison->getType()->getPointerTo()), in copyToShadowInline() 3289 Value *NewAllocaPtr = IRB.CreateIntToPtr( in processStaticAllocas() 3297 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in processStaticAllocas() 3301 Value *BasePlus1 = IRB.CreateIntToPtr( in processStaticAllocas() 3311 Value *BasePlus2 = IRB.CreateIntToPtr( in processStaticAllocas() 3379 IntptrTy, IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in processStaticAllocas() 3382 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in processStaticAllocas() 3475 Value *NewAddressPtr = IRB.CreateIntToPtr(NewAddress, AI->getType()); in handleDynamicAllocaCall()
|
| H A D | SanitizerCoverage.cpp | 754 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray() 984 auto GuardPtr = IRB.CreateIntToPtr( in InjectCoverageAtBlock() 1085 CFs.push_back((Constant *)IRB.CreateIntToPtr( in createFunctionControlFlow()
|
| H A D | ThreadSanitizer.cpp | 616 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore() 793 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
|
| H A D | InstrProfiling.cpp | 193 Addr = Builder.CreateIntToPtr(BiasInst, Ty->getPointerTo()); in doExtraRewritesBeforeFinalDeletion() 702 return Builder.CreateIntToPtr(Add, Addr->getType()); in getCounterAddress()
|
| H A D | MemProfiler.cpp | 444 Value *ShadowAddr = IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy); in instrumentAddress()
|
| H A D | DataFlowSanitizer.cpp | 1782 return IRB.CreateIntToPtr(Base, PointerType::get(DFS.getShadowTy(T), 0), in getArgTLS() 1919 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginAddress() 1934 OriginPtr = IRB.CreateIntToPtr(OriginLong, OriginPtrTy); in getShadowOriginAddress() 1942 return IRB.CreateIntToPtr(ShadowOffset, PrimitiveShadowPtrTy); in getShadowAddress()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 111 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadType() 153 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadType()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 553 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack() 680 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
|
| H A D | SjLjEHPrepare.cpp | 203 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
|
| H A D | AtomicExpandPass.cpp | 414 ? Builder.CreateIntToPtr(NewRMWI, RMWI->getType()) in convertAtomicXchgToIntegerType() 1207 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType()
|
| H A D | CodeGenPrepare.cpp | 5343 Builder.CreateIntToPtr(SunkAddr, Addr->getType(), "sunkaddr"); in optimizeMemoryInst() 5397 ResultPtr = Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), in optimizeMemoryInst() 5401 ResultPtr = Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), in optimizeMemoryInst() 5486 Builder.CreateIntToPtr(SunkAddr, Addr->getType(), "sunkaddr"); in optimizeMemoryInst() 5575 SunkAddr = Builder.CreateIntToPtr(Result, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1205 PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy); in emitParallelCall() 1605 Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy); 1620 Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy); 2387 CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy), in emitListToGlobalReduceFunction() 2597 CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy), in emitGlobalToListReduceFunction() 2919 CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy), in emitReduction()
|
| H A D | CGObjCMac.cpp | 4946 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign() 4968 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign() 4995 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign() 5015 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign() 7672 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign() 7693 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign() 7741 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign() 7763 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
|
| H A D | CGExprScalar.cpp | 1395 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); in EmitScalarConversion() 2324 auto *IntToPtr = Builder.CreateIntToPtr(IntResult, DestLLVMTy); in VisitCastExpr() 3655 return CGF.Builder.CreateIntToPtr(index, pointer->getType()); in emitPointerArithmetic() 4917 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr() 4979 return Builder.CreateIntToPtr(Src, DstTy, Name); in createCastsForTypeOfSameSize()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 506 return Builder.CreateIntToPtr(V, DestTy); in createCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 961 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); in lowerToArithmetics()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerModuleLDSPass.cpp | 576 Builder.CreateIntToPtr(loaded, GV->getType(), GV->getName()); in replaceUsesInInstructionsWithTableLookup()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 247 Value *BasePtr = Builder.CreateIntToPtr(Zero, Builder.getInt8PtrTy()); in decomposePtr()
|