/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1166 Value *ShadowPtr, *OriginPtr; in materializeStores() local 1170 std::tie(ShadowPtr, OriginPtr) = in materializeStores() 1174 IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment.value()); in materializeStores() 1418 Value *ShadowPtr = in getShadowOriginPtrUserspace() local 1435 return std::make_pair(ShadowPtr, OriginPtr); in getShadowOriginPtrUserspace() 1457 Value *ShadowPtr = IRB.CreateExtractValue(ShadowOriginPtrs, 0); in getShadowOriginPtrKernel() local 1458 ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrKernel() 1461 return std::make_pair(ShadowPtr, OriginPtr); in getShadowOriginPtrKernel() 1597 Value **ShadowPtr = &ShadowMap[V]; in getShadow() local 1598 if (*ShadowPtr) in getShadow() [all …]
|
D | HWAddressSanitizer.cpp | 784 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB); in tagAlloca() local 792 IRB.CreateMemSet(ShadowPtr, JustTag, ShadowSize, Align::None()); in tagAlloca() 796 IRB.CreateConstGEP1_32(Int8Ty, ShadowPtr, ShadowSize)); in tagAlloca()
|
D | AddressSanitizer.cpp | 1699 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local 1702 IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1200 Value *ShadowPtr, *OriginPtr; in materializeStores() local 1204 std::tie(ShadowPtr, OriginPtr) = in materializeStores() 1207 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores() 1489 Value *ShadowPtr = in getShadowOriginPtrUserspace() local 1506 return std::make_pair(ShadowPtr, OriginPtr); in getShadowOriginPtrUserspace() 1528 Value *ShadowPtr = IRB.CreateExtractValue(ShadowOriginPtrs, 0); in getShadowOriginPtrKernel() local 1529 ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrKernel() 1532 return std::make_pair(ShadowPtr, OriginPtr); in getShadowOriginPtrKernel() 1668 Value **ShadowPtr = &ShadowMap[V]; in getShadow() local 1669 if (*ShadowPtr) in getShadow() [all …]
|
D | MemProfiler.cpp | 483 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local 484 Value *ShadowAddr = IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy); in instrumentAddress()
|
D | HWAddressSanitizer.cpp | 891 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB); in tagAlloca() local 899 IRB.CreateMemSet(ShadowPtr, JustTag, ShadowSize, Align(1)); in tagAlloca() 903 IRB.CreateConstGEP1_32(Int8Ty, ShadowPtr, ShadowSize)); in tagAlloca()
|
D | AddressSanitizer.cpp | 1686 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local 1689 IRB.CreateLoad(ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 760 Value *ShadowPtr = getShadowPtr(Addr, Shadow->getType(), IRB); in materializeStores() local 763 IRB.CreateAlignedStore(Shadow, ShadowPtr, SI->getAlignment()); in materializeStores() 1105 Value **ShadowPtr = &ShadowMap[V]; in getShadow() local 1106 if (*ShadowPtr) in getShadow() 1107 return *ShadowPtr; in getShadow() 1146 *ShadowPtr = getCleanShadow(V); in getShadow() 1150 *ShadowPtr = getCleanShadow(V); in getShadow() 1152 *ShadowPtr = in getShadow() 1157 **ShadowPtr << "\n"); in getShadow() 1168 assert(*ShadowPtr && "Could not find shadow for an argument"); in getShadow() [all …]
|
D | EfficiencySanitizer.cpp | 880 Value *ShadowPtr = appToShadow(AddrPtr, IRB); in instrumentFastpathWorkingSet() local 888 Value *OldValue = IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet() 897 IRB.CreateStore(NewVal, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
|
D | AddressSanitizer.cpp | 1158 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local 1161 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
|