/external/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
D | MemorySanitizer.h | 23 MemorySanitizerOptions(int TrackOrigins, bool Recover, bool Kernel); 25 int TrackOrigins; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/ |
D | MemorySanitizer.h | 23 MemorySanitizerOptions(int TrackOrigins, bool Recover, bool Kernel); 25 int TrackOrigins; member
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 489 : CompileKernel(Options.Kernel), TrackOrigins(Options.TrackOrigins), in MemorySanitizer() 518 int TrackOrigins; member in __anon24d2787a0211::MemorySanitizer 665 TrackOrigins(getOptOrDefault(ClTrackOrigins, Kernel ? 2 : TO)), in MemorySanitizerOptions() 980 if (TrackOrigins) in initializeModule() 984 IRB.getInt32(TrackOrigins), "__msan_track_origins"); in initializeModule() 1117 if (MS.TrackOrigins <= 1) return V; in updateOrigin() 1214 if (MS.TrackOrigins && !SI->isAtomic()) in materializeStores() 1253 IRB.CreateCall(Fn, {ConvertedShadow2, MS.TrackOrigins && Origin in materializeOneCheck() 1311 PHINode *PNO = MS.TrackOrigins ? cast<PHINode>(getOrigin(PN)) : nullptr; in runOnFunction() 1492 if (MS.TrackOrigins) { in getShadowOriginPtrUserspace() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 468 : CompileKernel(Options.Kernel), TrackOrigins(Options.TrackOrigins), in MemorySanitizer() 496 int TrackOrigins; member in __anon1b6b5cee0211::MemorySanitizer 645 TrackOrigins(getOptOrDefault(ClTrackOrigins, Kernel ? 2 : TO)), in MemorySanitizerOptions() 949 if (TrackOrigins) in initializeModule() 953 IRB.getInt32(TrackOrigins), "__msan_track_origins"); in initializeModule() 1076 if (MS.TrackOrigins <= 1) return V; in updateOrigin() 1181 if (MS.TrackOrigins && !SI->isAtomic()) in materializeStores() 1194 if (MS.TrackOrigins) { in insertWarningFn() 1227 IRB.CreateCall(Fn, {ConvertedShadow2, MS.TrackOrigins && Origin in materializeOneCheck() 1295 PHINode *PNO = MS.TrackOrigins ? cast<PHINode>(getOrigin(PN)) : nullptr; in runOnFunction() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 315 MemorySanitizer(int TrackOrigins = 0) in MemorySanitizer() argument 317 TrackOrigins(std::max(TrackOrigins, (int)ClTrackOrigins)), in MemorySanitizer() 331 int TrackOrigins; member in __anone9e6778c0111::MemorySanitizer 398 FunctionPass *llvm::createMemorySanitizerPass(int TrackOrigins) { in INITIALIZE_PASS_DEPENDENCY() 399 return new MemorySanitizer(TrackOrigins); in INITIALIZE_PASS_DEPENDENCY() 565 if (TrackOrigins) in doInitialization() 567 IRB.getInt32(TrackOrigins), "__msan_track_origins"); in doInitialization() 666 if (MS.TrackOrigins <= 1) return V; in updateOrigin() 773 if (MS.TrackOrigins && !SI->isAtomic()) in materializeStores() 789 if (MS.TrackOrigins) { in materializeOneCheck() [all …]
|
/external/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 111 FunctionPass *createMemorySanitizerPass(int TrackOrigins = 0);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 325 int TrackOrigins = CGOpts.SanitizeMemoryTrackOrigins; in addGeneralOptsForMemorySanitizer() local 328 MemorySanitizerOptions{TrackOrigins, Recover, CompileKernel})); in addGeneralOptsForMemorySanitizer() 1240 int TrackOrigins = CodeGenOpts.SanitizeMemoryTrackOrigins; in EmitAssemblyWithNewPassManager() local 1243 [TrackOrigins, Recover](ModulePassManager &MPM, in EmitAssemblyWithNewPassManager() 1245 MPM.addPass(MemorySanitizerPass({TrackOrigins, Recover, false})); in EmitAssemblyWithNewPassManager() 1247 MemorySanitizerPass({TrackOrigins, Recover, false}))); in EmitAssemblyWithNewPassManager()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/ |
D | PassBuilder.cpp | 1528 if (ParamName.getAsInteger(0, Result.TrackOrigins)) in parseMSanPassOptions()
|
/external/llvm-project/llvm/lib/Passes/ |
D | PassBuilder.cpp | 1996 if (ParamName.getAsInteger(0, Result.TrackOrigins)) in parseMSanPassOptions()
|