Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp603 Zero, IRBRet.CreateIntToPtr(AllocaCall.LeftRzAddr, Int32PtrTy)); in unpoisonDynamicAlloca()
605 IRBRet.CreateIntToPtr(PartialRzAddr, Int32PtrTy)); in unpoisonDynamicAlloca()
607 Zero, IRBRet.CreateIntToPtr(AllocaCall.RightRzAddr, Int32PtrTy)); in unpoisonDynamicAlloca()
1045 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1092 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
1650 IRB.CreateStore(Poison, IRB.CreateIntToPtr(Ptr, StoreTy->getPointerTo())); in poisonRedZones()
1681 IRB.CreateIntToPtr(p, IRB.getInt64Ty()->getPointerTo())); in SetShadowToStackAfterReturnInlined()
1825 Value *NewAllocaPtr = IRB.CreateIntToPtr( in poisonStack()
1834 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in poisonStack()
1838 Value *BasePlus1 = IRB.CreateIntToPtr( in poisonStack()
[all …]
DSanitizerCoverage.cpp371 GuardP = IRB.CreateIntToPtr(GuardP, Int32PtrTy); in InjectCoverageAtBlock()
394 P = IRB.CreateIntToPtr(P, IRB.getInt8PtrTy()); in InjectCoverageAtBlock()
DMemorySanitizer.cpp897 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr()
916 return IRB.CreateIntToPtr(OriginLong, in getOriginPtr()
927 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
937 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
944 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForRetval()
2779 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
2829 IRB.CreateIntToPtr( in finalizeInstrumentation()
2840 IRB.CreateIntToPtr( in finalizeInstrumentation()
2900 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
2945 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
DThreadSanitizer.cpp421 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
DDataFlowSanitizer.cpp931 return IRB.CreateIntToPtr( in getShadowAddress()
/external/clang/lib/CodeGen/
DTargetInfo.cpp1274 Addr = CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask), in EmitVAArg()
2796 CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask), in EmitVAArgFromMemory()
3149 llvm::Value *FPRPtr = Builder.CreateIntToPtr(FPRPtrAsInt, CharPtr); in EmitVAArg()
3151 llvm::Value *OverflowAreaPtr = Builder.CreateIntToPtr(OverflowAreaPtrAsInt, CharPtrPtr); in EmitVAArg()
3153 llvm::Value *RegsaveAreaPtr = Builder.CreateIntToPtr(RegsaveAreaPtrAsInt, CharPtrPtr); in EmitVAArg()
3188 llvm::Value *Result1 = Builder.CreateIntToPtr(OurReg, PTy); in EmitVAArg()
3202 llvm::Value *Result2 = Builder.CreateIntToPtr(OverflowAreaAsInt, PTy); in EmitVAArg()
3204 Builder.CreateStore(Builder.CreateIntToPtr(OverflowAreaAsInt, CharPtr), OverflowAreaPtr); in EmitVAArg()
3749 Addr = Builder.CreateIntToPtr(AddrAsInt, BP, "ap.align"); in EmitVAArg()
3789 RealAddr = Builder.CreateIntToPtr(RealAddr, PBaseTy); in EmitVAArg()
[all …]
DCGObjCMac.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()
DCGExprScalar.cpp799 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); in EmitScalarConversion()
1539 return Builder.CreateIntToPtr(IntResult, ConvertType(DestTy)); in VisitCastExpr()
3381 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr()
DCGException.cpp1580 Code = Builder.CreateIntToPtr(Code, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
DCGBuiltin.cpp77 return CGF.Builder.CreateIntToPtr(V, ResultType); in EmitFromInt()
1635 return RValue::get(Builder.CreateIntToPtr(Builder.CreateExtractValue(Result, in EmitBuiltinExpr()
1678 Builder.CreateIntToPtr(EmitScalarExpr(E->getArg(0)), in EmitBuiltinExpr()
3380 return Builder.CreateIntToPtr(Val, RealResTy); in EmitARMBuiltinExpr()
4153 return Builder.CreateIntToPtr(Val, RealResTy); in EmitAArch64BuiltinExpr()
DCGStmt.cpp2104 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
DCGAtomic.cpp1104 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
DCGBlocks.cpp2154 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa"); in emitByrefStructureInit()
DItaniumCXXABI.cpp476 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn"); in EmitLoadOfMemberFunctionPointer()
/external/llvm/include/llvm/IR/
DConstantFolder.h180 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
DNoFolder.h233 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
DIRBuilder.h1235 Value *CreateIntToPtr(Value *V, Type *DestTy,
1318 return CreateIntToPtr(V, DestTy, Name);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h193 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp218 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
DCodeGenPrepare.cpp3294 Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
3298 Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
3450 SunkAddr = Builder.CreateIntToPtr(Result, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp820 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); in lowerToArithmetics()
DSROA.cpp1898 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1903 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1906 return IRB.CreateIntToPtr(V, NewTy); in convertValue()
DScalarReplAggregates.cpp884 FromVal = Builder.CreateIntToPtr(FromVal, ToType); in ConvertScalar_ExtractValue()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1303 return Builder.CreateIntToPtr(V, DestTy); in createCast()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp818 return B.CreateIntToPtr(B.CreateAnd(Bounds, Bits, "memchr"), CI->getType()); in optimizeMemChr()

12