Lines Matching refs:legacy
64 mutable legacy::PassManager *CodeGenPasses;
65 mutable legacy::PassManager *PerModulePasses;
66 mutable legacy::FunctionPassManager *PerFunctionPasses;
76 legacy::PassManager *getCodeGenPasses() const { in getCodeGenPasses()
78 CodeGenPasses = new legacy::PassManager(); in getCodeGenPasses()
85 legacy::PassManager *getPerModulePasses() const { in getPerModulePasses()
87 PerModulePasses = new legacy::PassManager(); in getPerModulePasses()
94 legacy::FunctionPassManager *getPerFunctionPasses() const { in getPerFunctionPasses()
96 PerFunctionPasses = new legacy::FunctionPassManager(TheModule); in getPerFunctionPasses()
177 legacy::PassManagerBase &PM) { in addAddDiscriminatorsPass()
182 const PassManagerBuilder &Builder, legacy::PassManagerBase &PM) { in addCleanupPassesForSampleProfiler()
193 legacy::PassManagerBase &PM) { in addBoundsCheckingPass()
198 legacy::PassManagerBase &PM) { in addSanitizerCoveragePass()
214 legacy::PassManagerBase &PM) { in addAddressSanitizerPasses()
226 legacy::PassManagerBase &PM) { in addKernelAddressSanitizerPasses()
235 legacy::PassManagerBase &PM) { in addMemorySanitizerPass()
255 legacy::PassManagerBase &PM) { in addThreadSanitizerPass()
260 legacy::PassManagerBase &PM) { in addDataFlowSanitizerPass()
268 legacy::PassManagerBase &PM) { in addEfficiencySanitizerPass()
304 legacy::PassManager *MPM) { in addSymbolRewriterPass()
365 legacy::PassManager *MPM = getPerModulePasses(); in CreatePasses()
379 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in CreatePasses()
455 legacy::FunctionPassManager *FPM = getPerFunctionPasses(); in CreatePasses()
651 legacy::PassManager *PM = getCodeGenPasses(); in AddEmitPasses()