Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1091 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1142 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
1751 IRB.CreateStore(Poison, IRB.CreateIntToPtr(Ptr, StoreTy->getPointerTo())); in poisonRedZones()
1782 IRB.CreateIntToPtr(p, IRB.getInt64Ty()->getPointerTo())); in SetShadowToStackAfterReturnInlined()
1947 Value *NewAllocaPtr = IRB.CreateIntToPtr( in poisonStack()
1956 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in poisonStack()
1960 Value *BasePlus1 = IRB.CreateIntToPtr( in poisonStack()
1970 Value *BasePlus2 = IRB.CreateIntToPtr( in poisonStack()
2012 IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in poisonStack()
2015 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in poisonStack()
[all …]
DMemorySanitizer.cpp946 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr()
965 return IRB.CreateIntToPtr(OriginLong, in getOriginPtr()
976 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
986 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
993 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForRetval()
2858 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
2912 IRB.CreateIntToPtr( in finalizeInstrumentation()
2923 IRB.CreateIntToPtr( in finalizeInstrumentation()
2983 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
3028 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
[all …]
DSanitizerCoverage.cpp467 GuardP = IRB.CreateIntToPtr(GuardP, Int32PtrTy); in InjectCoverageAtBlock()
492 P = IRB.CreateIntToPtr(P, IRB.getInt8PtrTy()); in InjectCoverageAtBlock()
DSafeStack.cpp514 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
623 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
DThreadSanitizer.cpp426 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
DDataFlowSanitizer.cpp945 return IRB.CreateIntToPtr( in getShadowAddress()
/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.h1308 Value *CreateIntToPtr(Value *V, Type *DestTy,
1393 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.cpp3781 Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
3785 Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
3937 SunkAddr = Builder.CreateIntToPtr(Result, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp4328 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign()
4350 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
4377 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign()
4397 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign()
6996 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCIvarAssign()
7016 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCStrongCastAssign()
7062 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCWeakAssign()
7083 src = CGF.Builder.CreateIntToPtr(src, ObjCTypes.Int8PtrTy); in EmitObjCGlobalAssign()
DCGOpenMPRuntime.cpp2912 CGF.Builder.CreateIntToPtr( in emitReduction()
3440 BPVal = CGF.Builder.CreateIntToPtr(BPVal, CGM.VoidPtrTy); in emitTargetCall()
3454 PVal = CGF.Builder.CreateIntToPtr(PVal, CGM.VoidPtrTy); in emitTargetCall()
DCGExprScalar.cpp803 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); in EmitScalarConversion()
1532 return Builder.CreateIntToPtr(IntResult, ConvertType(DestTy)); in VisitCastExpr()
3382 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr()
DCGBuiltin.cpp77 return CGF.Builder.CreateIntToPtr(V, ResultType); in EmitFromInt()
1847 return RValue::get(Builder.CreateIntToPtr(Builder.CreateExtractValue(Result, in EmitBuiltinExpr()
1890 Builder.CreateIntToPtr(EmitScalarExpr(E->getArg(0)), in EmitBuiltinExpr()
3487 return Builder.CreateIntToPtr(Call, ValueType); in EmitSpecialRegisterBuiltin()
3656 return Builder.CreateIntToPtr(Val, RealResTy); in EmitARMBuiltinExpr()
4425 return Builder.CreateIntToPtr(Val, RealResTy); in EmitAArch64BuiltinExpr()
DCGStmt.cpp2068 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
DCGBlocks.cpp2180 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa"); in emitByrefStructureInit()
DCGAtomic.cpp1226 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
DTargetInfo.cpp201 PtrAsInt = CGF.Builder.CreateIntToPtr(PtrAsInt, in emitRoundPointerUpToAlignment()
4649 OnStackPtr = CGF.Builder.CreateIntToPtr(OnStackPtr, CGF.Int8PtrTy); in EmitAAPCSVAArg()
6259 V = CGF.Builder.CreateIntToPtr(V, Temp.getElementType()); in EmitVAArg()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp880 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); in lowerToArithmetics()
DGVN.cpp909 StoredVal = IRB.CreateIntToPtr(StoredVal, LoadedTy); in CoerceAvailableValueToLoadType()
946 return IRB.CreateIntToPtr(StoredVal, LoadedTy, "inttoptr"); in CoerceAvailableValueToLoadType()
DSROA.cpp1689 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1694 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1697 return IRB.CreateIntToPtr(V, NewTy); in convertValue()
DScalarReplAggregates.cpp885 FromVal = Builder.CreateIntToPtr(FromVal, ToType); in ConvertScalar_ExtractValue()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1666 return Builder.CreateIntToPtr(V, DestTy); in createCast()

12