Home
last modified time | relevance | path

Searched refs:ShadowPtr (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp911 Value *ShadowPtr, *OriginPtr; in materializeStores() local
915 std::tie(ShadowPtr, OriginPtr) = in materializeStores()
918 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores()
1122 Value *ShadowPtr = in getShadowOriginPtrUserspace() local
1139 return std::make_pair(ShadowPtr, OriginPtr); in getShadowOriginPtrUserspace()
1274 Value **ShadowPtr = &ShadowMap[V]; in getShadow() local
1275 if (*ShadowPtr) in getShadow()
1276 return *ShadowPtr; in getShadow()
1318 *ShadowPtr = getCleanShadow(V); in getShadow()
1322 *ShadowPtr = getCleanShadow(V); in getShadow()
[all …]
DEfficiencySanitizer.cpp894 Value *ShadowPtr = appToShadow(AddrPtr, IRB); in instrumentFastpathWorkingSet() local
902 Value *OldValue = IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
911 IRB.CreateStore(NewVal, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
DHWAddressSanitizer.cpp528 Value *ShadowPtr = IRB.CreateIntToPtr( in tagAlloca() local
537 IRB.CreateMemSet(ShadowPtr, JustTag, ShadowSize, /*Align=*/1); in tagAlloca()
DAddressSanitizer.cpp1545 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local
1548 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp760 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 …]
DEfficiencySanitizer.cpp880 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()
DAddressSanitizer.cpp1158 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local
1161 IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentAddress()