Lines Matching refs:PM
359 static bool addPass(PassManagerBase &PM, const char *argv0, in addPass() argument
381 PM.add(P); in addPass()
487 legacy::PassManager PM; in compileModule() local
495 PM.add(new TargetLibraryInfoWrapperPass(TLII)); in compileModule()
548 TargetPassConfig &TPC = *LLVMTM.createPassConfig(PM); in compileModule()
557 PM.add(&TPC); in compileModule()
558 PM.add(MMI); in compileModule()
561 if (addPass(PM, argv0, RunPassName, TPC)) in compileModule()
565 PM.add(createPrintMIRPass(*OS)); in compileModule()
566 PM.add(createFreeMachineFunctionPass()); in compileModule()
567 } else if (Target->addPassesToEmitFile(PM, *OS, in compileModule()
592 PM.run(*M2); in compileModule()
597 PM.run(*M); in compileModule()