Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1166 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 …]
DHWAddressSanitizer.cpp784 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()
DAddressSanitizer.cpp1699 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/
DMemorySanitizer.cpp1200 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 …]
DMemProfiler.cpp483 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local
484 Value *ShadowAddr = IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy); in instrumentAddress()
DHWAddressSanitizer.cpp891 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()
DAddressSanitizer.cpp1686 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() local
1689 IRB.CreateLoad(ShadowTy, 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()