Lines Matching refs:legacy
61 mutable legacy::PassManager *CodeGenPasses;
62 mutable legacy::PassManager *PerModulePasses;
63 mutable legacy::FunctionPassManager *PerFunctionPasses;
73 legacy::PassManager *getCodeGenPasses() const { in getCodeGenPasses()
75 CodeGenPasses = new legacy::PassManager(); in getCodeGenPasses()
82 legacy::PassManager *getPerModulePasses() const { in getPerModulePasses()
84 PerModulePasses = new legacy::PassManager(); in getPerModulePasses()
91 legacy::FunctionPassManager *getPerFunctionPasses() const { in getPerFunctionPasses()
93 PerFunctionPasses = new legacy::FunctionPassManager(TheModule); in getPerFunctionPasses()
172 legacy::PassManagerBase &PM) { in addAddDiscriminatorsPass()
177 legacy::PassManagerBase &PM) { in addBoundsCheckingPass()
182 legacy::PassManagerBase &PM) { in addSanitizerCoveragePass()
197 legacy::PassManagerBase &PM) { in addAddressSanitizerPasses()
207 legacy::PassManagerBase &PM) { in addKernelAddressSanitizerPasses()
215 legacy::PassManagerBase &PM) { in addMemorySanitizerPass()
235 legacy::PassManagerBase &PM) { in addThreadSanitizerPass()
240 legacy::PassManagerBase &PM) { in addDataFlowSanitizerPass()
264 legacy::PassManager *MPM) { in addSymbolRewriterPass()
324 legacy::PassManager *MPM = getPerModulePasses(); in CreatePasses()
400 legacy::FunctionPassManager *FPM = getPerFunctionPasses(); in CreatePasses()
591 legacy::PassManager *PM = getCodeGenPasses(); in AddEmitPasses()