Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1161 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1212 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
1945 IRB.CreateStore(Poison, IRB.CreateIntToPtr(Ptr, StoreTy->getPointerTo())); in poisonRedZones()
1976 IRB.CreateIntToPtr(p, IRB.getInt64Ty()->getPointerTo())); in SetShadowToStackAfterReturnInlined()
2149 Value *NewAllocaPtr = IRB.CreateIntToPtr( in poisonStack()
2158 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in poisonStack()
2162 Value *BasePlus1 = IRB.CreateIntToPtr( in poisonStack()
2172 Value *BasePlus2 = IRB.CreateIntToPtr( in poisonStack()
2224 IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in poisonStack()
2227 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in poisonStack()
[all …]
DMemorySanitizer.cpp967 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr()
986 return IRB.CreateIntToPtr(OriginLong, in getOriginPtr()
997 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
1007 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
1014 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForRetval()
2959 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
3013 IRB.CreateIntToPtr( in finalizeInstrumentation()
3024 IRB.CreateIntToPtr( in finalizeInstrumentation()
3086 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
3131 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
[all …]
DSanitizerCoverage.cpp545 GuardP = IRB.CreateIntToPtr(GuardP, Int32PtrTy); in InjectCoverageAtBlock()
574 P = IRB.CreateIntToPtr(P, IRB.getInt8PtrTy()); in InjectCoverageAtBlock()
DThreadSanitizer.cpp478 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
644 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp587 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand()
602 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow()
663 InlineTagAddr = IRB.CreateIntToPtr(InlineTagAddr, Int8PtrTy); in instrumentMemAccessInline()
882 return IRB.CreateIntToPtr(TaggedPtrLong, Ty); in tagPointer()
967 IRB.CreateIntToPtr(ThreadLongMaybeUntagged, IntptrTy->getPointerTo(0)); in emitPrologue()
993 LocalDynamicShadow = IRB.CreateIntToPtr(LocalDynamicShadow, Int8PtrTy); in emitPrologue()
DMemorySanitizer.cpp1419 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrUserspace()
1433 IRB.CreateIntToPtr(OriginLong, PointerType::get(MS.OriginTy, 0)); in getShadowOriginPtrUserspace()
1481 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
1493 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
3939 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
3950 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForVAArgument()
4012 Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
4029 Value *OverflowArgAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
4105 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
4156 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
[all …]
DAddressSanitizer.cpp1702 IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1753 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
2839 Poison, IRB.CreateIntToPtr(Ptr, Poison->getType()->getPointerTo()), 1); in copyToShadowInline()
3126 Value *NewAllocaPtr = IRB.CreateIntToPtr( in processStaticAllocas()
3134 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in processStaticAllocas()
3138 Value *BasePlus1 = IRB.CreateIntToPtr( in processStaticAllocas()
3148 Value *BasePlus2 = IRB.CreateIntToPtr( in processStaticAllocas()
3216 IntptrTy, IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in processStaticAllocas()
3219 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in processStaticAllocas()
3309 Value *NewAddressPtr = IRB.CreateIntToPtr(NewAddress, AI->getType()); in handleDynamicAllocaCall()
DSanitizerCoverage.cpp677 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
682 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
872 auto GuardPtr = IRB.CreateIntToPtr( in InjectCoverageAtBlock()
DThreadSanitizer.cpp546 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
701 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1490 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrUserspace()
1504 IRB.CreateIntToPtr(OriginLong, PointerType::get(MS.OriginTy, 0)); in getShadowOriginPtrUserspace()
1552 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
1564 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
4289 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
4300 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForVAArgument()
4362 Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
4379 Value *OverflowArgAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
4454 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
4505 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
[all …]
DHWAddressSanitizer.cpp708 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand()
716 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow()
780 InlineTagAddr = IRB.CreateIntToPtr(InlineTagAddr, Int8PtrTy); in instrumentMemAccessInline()
989 return IRB.CreateIntToPtr(TaggedPtrLong, Ty); in tagPointer()
1074 IRB.CreateIntToPtr(ThreadLongMaybeUntagged, IntptrTy->getPointerTo(0)); in emitPrologue()
1100 ShadowBase = IRB.CreateIntToPtr(ShadowBase, Int8PtrTy); in emitPrologue()
DAddressSanitizer.cpp1689 IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1740 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
2899 Poison, IRB.CreateIntToPtr(Ptr, Poison->getType()->getPointerTo()), in copyToShadowInline()
3259 Value *NewAllocaPtr = IRB.CreateIntToPtr( in processStaticAllocas()
3267 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in processStaticAllocas()
3271 Value *BasePlus1 = IRB.CreateIntToPtr( in processStaticAllocas()
3281 Value *BasePlus2 = IRB.CreateIntToPtr( in processStaticAllocas()
3349 IntptrTy, IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in processStaticAllocas()
3352 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in processStaticAllocas()
3442 Value *NewAddressPtr = IRB.CreateIntToPtr(NewAddress, AI->getType()); in handleDynamicAllocaCall()
DSanitizerCoverage.cpp703 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
708 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
902 auto GuardPtr = IRB.CreateIntToPtr( in InjectCoverageAtBlock()
/external/llvm-project/llvm/include/llvm/IR/
DIRBuilderFolder.h107 virtual Value *CreateIntToPtr(Constant *C, Type *DestTy) const = 0;
DConstantFolder.h215 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
DNoFolder.h249 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function
/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp102 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
144 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp88 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
131 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h211 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
/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
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h195 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
/external/llvm/include/llvm/Analysis/
DTargetFolder.h193 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
/external/llvm/lib/CodeGen/
DSafeStack.cpp570 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
697 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetFolder.h201 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const override { in CreateIntToPtr() function

12345