Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDSafeStack.cpp392 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
472 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
481 Value *NewAI = IRB.CreateIntToPtr(SP, AI->getType()); in moveDynamicAllocasToUnsafeStack()
HDAddressSanitizer.cpp1029 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1076 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
1642 IRB.CreateStore(Poison, IRB.CreateIntToPtr(Ptr, StoreTy->getPointerTo())); in poisonRedZones()
1673 IRB.CreateIntToPtr(p, IRB.getInt64Ty()->getPointerTo())); in SetShadowToStackAfterReturnInlined()
1820 Value *NewAllocaPtr = IRB.CreateIntToPtr( in poisonStack()
1829 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in poisonStack()
1833 Value *BasePlus1 = IRB.CreateIntToPtr( in poisonStack()
1843 Value *BasePlus2 = IRB.CreateIntToPtr( in poisonStack()
1885 IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in poisonStack()
1888 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in poisonStack()
[all …]
HDSanitizerCoverage.cpp411 GuardP = IRB.CreateIntToPtr(GuardP, Int32PtrTy); in InjectCoverageAtBlock()
434 P = IRB.CreateIntToPtr(P, IRB.getInt8PtrTy()); in InjectCoverageAtBlock()
HDMemorySanitizer.cpp921 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr()
940 return IRB.CreateIntToPtr(OriginLong, in getOriginPtr()
951 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
961 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
968 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForRetval()
2806 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
2856 IRB.CreateIntToPtr( in finalizeInstrumentation()
2867 IRB.CreateIntToPtr( in finalizeInstrumentation()
2927 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
2972 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
HDThreadSanitizer.cpp428 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
HDDataFlowSanitizer.cpp931 return IRB.CreateIntToPtr( in getShadowAddress()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDTargetInfo.cpp1287 Addr = CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask), in EmitVAArg()
2858 CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask), in EmitVAArgFromMemory()
3213 llvm::Value *FPRPtr = Builder.CreateIntToPtr(FPRPtrAsInt, CharPtr); in EmitVAArg()
3217 Builder.CreateIntToPtr(OverflowAreaPtrAsInt, CharPtrPtr); in EmitVAArg()
3221 Builder.CreateIntToPtr(RegsaveAreaPtrAsInt, CharPtrPtr); in EmitVAArg()
3261 llvm::Value *Result1 = Builder.CreateIntToPtr(OurReg, PTy); in EmitVAArg()
3275 llvm::Value *Result2 = Builder.CreateIntToPtr(OverflowAreaAsInt, PTy); in EmitVAArg()
3278 Builder.CreateStore(Builder.CreateIntToPtr(OverflowAreaAsInt, CharPtr), in EmitVAArg()
3809 Addr = Builder.CreateIntToPtr(AddrAsInt, BP, "ap.align"); in EmitVAArg()
3851 RealAddr = Builder.CreateIntToPtr(RealAddr, PBaseTy); in EmitVAArg()
[all …]
HDCGObjCMac.cpp4109 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign()
4131 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
4158 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign()
4178 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign()
6801 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign()
6821 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign()
6868 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign()
6889 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
HDCGExprScalar.cpp799 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); in EmitScalarConversion()
1554 return Builder.CreateIntToPtr(IntResult, ConvertType(DestTy)); in VisitCastExpr()
3399 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr()
HDCGBuiltin.cpp77 return CGF.Builder.CreateIntToPtr(V, ResultType); in EmitFromInt()
1647 return RValue::get(Builder.CreateIntToPtr(Builder.CreateExtractValue(Result, in EmitBuiltinExpr()
1690 Builder.CreateIntToPtr(EmitScalarExpr(E->getArg(0)), in EmitBuiltinExpr()
3322 return Builder.CreateIntToPtr(Call, ValueType); in EmitSpecialRegisterBuiltin()
3491 return Builder.CreateIntToPtr(Val, RealResTy); in EmitARMBuiltinExpr()
4286 return Builder.CreateIntToPtr(Val, RealResTy); in EmitAArch64BuiltinExpr()
HDCGStmt.cpp2133 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
HDCGBlocks.cpp2153 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa"); in emitByrefStructureInit()
HDCGAtomic.cpp1199 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
/NextBSD/contrib/llvm/include/llvm/IR/
HDConstantFolder.h180 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
HDNoFolder.h233 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
HDIRBuilder.h1249 Value *CreateIntToPtr(Value *V, Type *DestTy,
1332 return CreateIntToPtr(V, DestTy, Name);
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDTargetFolder.h193 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
/NextBSD/contrib/llvm/lib/CodeGen/
HDSjLjEHPrepare.cpp216 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
HDCodeGenPrepare.cpp3367 Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
3371 Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
3523 SunkAddr = Builder.CreateIntToPtr(Result, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDSeparateConstOffsetFromGEP.cpp822 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); in lowerToArithmetics()
HDGVN.cpp896 StoredVal = IRB.CreateIntToPtr(StoredVal, LoadedTy); in CoerceAvailableValueToLoadType()
933 return IRB.CreateIntToPtr(StoredVal, LoadedTy, "inttoptr"); in CoerceAvailableValueToLoadType()
HDSROA.cpp1904 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1909 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1912 return IRB.CreateIntToPtr(V, NewTy); in convertValue()
HDScalarReplAggregates.cpp884 FromVal = Builder.CreateIntToPtr(FromVal, ToType); in ConvertScalar_ExtractValue()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDMergeFunctions.cpp1325 return Builder.CreateIntToPtr(V, DestTy); in createCast()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDSimplifyLibCalls.cpp818 return B.CreateIntToPtr(B.CreateAnd(Bounds, Bits, "memchr"), CI->getType()); in optimizeMemChr()

12