Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp398 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand()
425 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowLong, IRB.getInt8PtrTy())); in instrumentMemAccessInline()
528 Value *ShadowPtr = IRB.CreateIntToPtr( in tagAlloca()
610 return IRB.CreateIntToPtr(TaggedPtrLong, Ty); in tagPointer()
DMemorySanitizer.cpp1123 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrUserspace()
1137 IRB.CreateIntToPtr(OriginLong, PointerType::get(IRB.getInt32Ty(), 0)); in getShadowOriginPtrUserspace()
1159 return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0), in getShadowPtrForArgument()
1170 return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0), in getOriginPtrForArgument()
3359 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
3414 Value *RegSaveAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
3426 Value *OverflowArgAreaPtrPtr = IRB.CreateIntToPtr( in finalizeInstrumentation()
3489 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
3539 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
3650 return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0), in getShadowPtrForVAArgument()
[all …]
DAddressSanitizer.cpp1548 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
1599 Value *LastByte = IRB.CreateIntToPtr( in instrumentUnusualSizeOrAlignment()
2687 Poison, IRB.CreateIntToPtr(Ptr, Poison->getType()->getPointerTo()), 1); in copyToShadowInline()
2981 Value *NewAllocaPtr = IRB.CreateIntToPtr( in processStaticAllocas()
2989 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); in processStaticAllocas()
2993 Value *BasePlus1 = IRB.CreateIntToPtr( in processStaticAllocas()
3003 Value *BasePlus2 = IRB.CreateIntToPtr( in processStaticAllocas()
3071 IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy)); in processStaticAllocas()
3074 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in processStaticAllocas()
3199 Value *NewAddressPtr = IRB.CreateIntToPtr(NewAddress, AI->getType()); in handleDynamicAllocaCall()
DSanitizerCoverage.cpp570 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
575 PCs.push_back((Constant *)IRB.CreateIntToPtr( in CreatePCArray()
773 auto GuardPtr = IRB.CreateIntToPtr( in InjectCoverageAtBlock()
DThreadSanitizer.cpp514 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
669 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
DEfficiencySanitizer.cpp902 Value *OldValue = IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
911 IRB.CreateStore(NewVal, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
/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()
DEfficiencySanitizer.cpp888 Value *OldValue = IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
897 IRB.CreateStore(NewVal, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp78 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
121 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadTypeHelper()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h173 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
DTargetFolder.h185 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
DNoFolder.h220 Instruction *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-7.0/llvm/include/llvm/IR/
DConstantFolder.h208 Constant *CreateIntToPtr(Constant *C, Type *DestTy) const { in CreateIntToPtr() function
DNoFolder.h272 Instruction *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()
DSjLjEHPrepare.cpp193 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h192 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStack.cpp540 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
669 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
DSjLjEHPrepare.cpp196 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()

123