Lines Matching refs:PM
114 PassManagerBase &PM) { in addPassesToHandleExceptions() argument
123 PM.add(createSjLjEHPreparePass(TM->getTargetLowering())); in addPassesToHandleExceptions()
128 PM.add(createDwarfEHPass(TM)); in addPassesToHandleExceptions()
131 PM.add(createLowerInvokePass(TM->getTargetLowering())); in addPassesToHandleExceptions()
134 PM.add(createUnreachableBlockEliminationPass()); in addPassesToHandleExceptions()
141 PassManagerBase &PM, in addPassesToGenerateCode() argument
145 TargetPassConfig *PassConfig = TM->createPassConfig(PM); in addPassesToGenerateCode()
150 PM.add(PassConfig); in addPassesToGenerateCode()
154 addPassesToHandleExceptions(TM, PM); in addPassesToGenerateCode()
163 PM.add(MMI); in addPassesToGenerateCode()
167 PM.add(new MachineFunctionAnalysis(*TM)); in addPassesToGenerateCode()