/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1091 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 …]
|
D | MemorySanitizer.cpp | 946 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 …]
|
D | SanitizerCoverage.cpp | 467 GuardP = IRB.CreateIntToPtr(GuardP, Int32PtrTy); in InjectCoverageAtBlock() 492 P = IRB.CreateIntToPtr(P, IRB.getInt8PtrTy()); in InjectCoverageAtBlock()
|
D | SafeStack.cpp | 514 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack() 623 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
|
D | ThreadSanitizer.cpp | 426 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
|
D | DataFlowSanitizer.cpp | 945 return IRB.CreateIntToPtr( in getShadowAddress()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 180 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
|
D | NoFolder.h | 233 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
|
D | IRBuilder.h | 1308 Value *CreateIntToPtr(Value *V, Type *DestTy, 1393 return CreateIntToPtr(V, DestTy, Name);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 193 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 218 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
|
D | CodeGenPrepare.cpp | 3781 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/ |
D | CGObjCMac.cpp | 4328 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()
|
D | CGOpenMPRuntime.cpp | 2912 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()
|
D | CGExprScalar.cpp | 803 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()
|
D | CGBuiltin.cpp | 77 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()
|
D | CGStmt.cpp | 2068 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
|
D | CGBlocks.cpp | 2180 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa"); in emitByrefStructureInit()
|
D | CGAtomic.cpp | 1226 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
|
D | TargetInfo.cpp | 201 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/ |
D | SeparateConstOffsetFromGEP.cpp | 880 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); in lowerToArithmetics()
|
D | GVN.cpp | 909 StoredVal = IRB.CreateIntToPtr(StoredVal, LoadedTy); in CoerceAvailableValueToLoadType() 946 return IRB.CreateIntToPtr(StoredVal, LoadedTy, "inttoptr"); in CoerceAvailableValueToLoadType()
|
D | SROA.cpp | 1689 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()
|
D | ScalarReplAggregates.cpp | 885 FromVal = Builder.CreateIntToPtr(FromVal, ToType); in ConvertScalar_ExtractValue()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 1666 return Builder.CreateIntToPtr(V, DestTy); in createCast()
|