Home
last modified time | relevance | path

Searched refs:ShadowAddr (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan.cpp492 if (!MmapFixedNoReserve(ShadowAddr(), UnusedAddr() - ShadowAddr())) in dfsan_flush()
501 if (!MmapFixedSuperNoReserve(ShadowAddr(), UnusedAddr() - ShadowAddr())) in dfsan_init()
504 DontDumpShadowMemory(ShadowAddr(), UnusedAddr() - ShadowAddr()); in dfsan_init()
Ddfsan_platform.h94 uptr ShadowAddr() { in ShadowAddr() function
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp481 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align,
1332 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in loadShadow() local
1337 LoadInst *LI = new LoadInst(DFS.PrimitiveShadowTy, ShadowAddr, "", Pos); in loadShadow()
1343 Value *ShadowAddr1 = IRB.CreateGEP(DFS.PrimitiveShadowTy, ShadowAddr, in loadShadow()
1346 IRB.CreateAlignedLoad(DFS.PrimitiveShadowTy, ShadowAddr, ShadowAlign), in loadShadow()
1358 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow()
1383 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow()
1390 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow()
1445 UnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow()
1489 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in storeShadow() local
[all …]
DMemProfiler.cpp484 Value *ShadowAddr = IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy); in instrumentAddress() local
485 Value *ShadowValue = IRB.CreateLoad(ShadowTy, ShadowAddr); in instrumentAddress()
488 IRB.CreateStore(ShadowValue, ShadowAddr); in instrumentAddress()
/external/compiler-rt/lib/dfsan/
Ddfsan_platform.h86 uptr ShadowAddr() { in ShadowAddr() function
Ddfsan.cc406 MmapFixedNoReserve(ShadowAddr(), UnusedAddr() - ShadowAddr()); in dfsan_init()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp323 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align,
1076 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in loadShadow() local
1081 LoadInst *LI = new LoadInst(ShadowAddr, "", Pos); in loadShadow()
1087 Value *ShadowAddr1 = IRB.CreateGEP(DFS.ShadowTy, ShadowAddr, in loadShadow()
1089 return combineShadows(IRB.CreateAlignedLoad(ShadowAddr, ShadowAlign), in loadShadow()
1101 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow()
1108 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow()
1158 DFS.DFSanUnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow()
1205 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in storeShadow() local
1210 IRB.CreateBitCast(ShadowAddr, PointerType::getUnqual(ShadowTy)); in storeShadow()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp425 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align,
1213 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in loadShadow() local
1218 LoadInst *LI = new LoadInst(DFS.ShadowTy, ShadowAddr, "", Pos); in loadShadow()
1224 Value *ShadowAddr1 = IRB.CreateGEP(DFS.ShadowTy, ShadowAddr, in loadShadow()
1227 IRB.CreateAlignedLoad(DFS.ShadowTy, ShadowAddr, ShadowAlign), in loadShadow()
1239 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow()
1246 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow()
1298 DFS.DFSanUnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow()
1344 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in storeShadow() local
1349 IRB.CreateBitCast(ShadowAddr, PointerType::getUnqual(ShadowTy)); in storeShadow()
[all …]