Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/
DAddressSanitizer.h101 explicit AddressSanitizerPass(bool CompileKernel = false,
107 bool CompileKernel;
120 explicit ModuleAddressSanitizerPass(bool CompileKernel = false,
127 bool CompileKernel;
134 FunctionPass *createAddressSanitizerFunctionPass(bool CompileKernel = false,
138 bool CompileKernel = false, bool Recover = false, bool UseGlobalsGC = true,
DHWAddressSanitizer.h27 explicit HWAddressSanitizerPass(bool CompileKernel = false,
32 bool CompileKernel;
36 FunctionPass *createHWAddressSanitizerLegacyPassPass(bool CompileKernel = false,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp190 explicit HWAddressSanitizer(Module &M, bool CompileKernel = false, in HWAddressSanitizer() argument
193 this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0 ? in HWAddressSanitizer()
194 ClEnableKhwasan : CompileKernel; in HWAddressSanitizer()
276 bool CompileKernel; member in __anon54ebfd1f0111::HWAddressSanitizer
301 explicit HWAddressSanitizerLegacyPass(bool CompileKernel = false, in HWAddressSanitizerLegacyPass() argument
303 : FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover) {} in HWAddressSanitizerLegacyPass()
308 HWASan = std::make_unique<HWAddressSanitizer>(M, CompileKernel, Recover); in doInitialization()
323 bool CompileKernel; member in __anon54ebfd1f0111::HWAddressSanitizerLegacyPass
340 FunctionPass *llvm::createHWAddressSanitizerLegacyPassPass(bool CompileKernel, in createHWAddressSanitizerLegacyPassPass() argument
342 assert(!CompileKernel || Recover); in createHWAddressSanitizerLegacyPassPass()
[all …]
DAddressSanitizer.cpp585 bool CompileKernel = false, bool Recover = false, in AddressSanitizer()
589 this->CompileKernel = in AddressSanitizer()
590 ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan : CompileKernel; in AddressSanitizer()
597 Mapping = getShadowMapping(TargetTriple, LongSize, this->CompileKernel); in AddressSanitizer()
676 bool CompileKernel; member
704 explicit AddressSanitizerLegacyPass(bool CompileKernel = false, in AddressSanitizerLegacyPass() argument
707 : FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover), in AddressSanitizerLegacyPass()
726 AddressSanitizer ASan(*F.getParent(), &GlobalsMD, CompileKernel, Recover, in runOnFunction()
732 bool CompileKernel; member in __anon472532000211::AddressSanitizerLegacyPass
740 bool CompileKernel = false, bool Recover = false, in ModuleAddressSanitizer() argument
[all …]
DMemorySanitizer.cpp468 : CompileKernel(Options.Kernel), TrackOrigins(Options.TrackOrigins), in MemorySanitizer()
494 bool CompileKernel; member in __anon7cd724730211::MemorySanitizer
846 if (CompileKernel) { in initializeCallbacks()
948 if (!CompileKernel) { in initializeModule()
1065 if (MS.CompileKernel) in MemorySanitizerVisitor()
1141 if (AsCall && SizeIndex < kNumberOfAccessSizes && !MS.CompileKernel) { in storeOrigin()
1191 if (MS.CompileKernel) { in insertWarningFn()
1223 if (AsCall && SizeIndex < kNumberOfAccessSizes && !MS.CompileKernel) { in materializeOneCheck()
1468 if (MS.CompileKernel) in getShadowOriginPtr()
3307 if (ClHandleAsmConservative && MS.CompileKernel) in visitCallSite()
[all …]
/external/llvm/include/llvm/Transforms/
DInstrumentation.h104 FunctionPass *createAddressSanitizerFunctionPass(bool CompileKernel = false,
107 ModulePass *createAddressSanitizerModulePass(bool CompileKernel = false,
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp449 explicit AddressSanitizer(bool CompileKernel = false, bool Recover = false, in AddressSanitizer()
451 : FunctionPass(ID), CompileKernel(CompileKernel || ClEnableKasan), in AddressSanitizer()
529 bool CompileKernel; member
555 explicit AddressSanitizerModule(bool CompileKernel = false, in AddressSanitizerModule() argument
557 : ModulePass(ID), CompileKernel(CompileKernel || ClEnableKasan), in AddressSanitizerModule()
576 bool CompileKernel; member in __anon4202ff1e0111::AddressSanitizerModule
813 FunctionPass *llvm::createAddressSanitizerFunctionPass(bool CompileKernel, in INITIALIZE_PASS_DEPENDENCY()
816 assert(!CompileKernel || Recover); in INITIALIZE_PASS_DEPENDENCY()
817 return new AddressSanitizer(CompileKernel, Recover, UseAfterScope); in INITIALIZE_PASS_DEPENDENCY()
826 ModulePass *llvm::createAddressSanitizerModulePass(bool CompileKernel, in createAddressSanitizerModulePass() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassRegistry.def89 MODULE_PASS("asan-module", ModuleAddressSanitizerPass(/*CompileKernel=*/false, false, true, false))
92 MODULE_PASS("kasan-module", ModuleAddressSanitizerPass(/*CompileKernel=*/true, false, true, false))