Lines Matching refs:PM

106 LLVMTargetMachine::addMachineModuleInfo(PassManagerBase &PM) const {  in addMachineModuleInfo()
110 PM.add(MMI); in addMachineModuleInfo()
114 void LLVMTargetMachine::addMachineFunctionAnalysis(PassManagerBase &PM, in addMachineFunctionAnalysis() argument
116 PM.add(new MachineFunctionAnalysis(*this, MFInitializer)); in addMachineFunctionAnalysis()
121 addPassesToGenerateCode(LLVMTargetMachine *TM, PassManagerBase &PM, in addPassesToGenerateCode() argument
128 PM.add(createLowerEmuTLSPass(TM)); in addPassesToGenerateCode()
130 PM.add(createPreISelIntrinsicLoweringPass()); in addPassesToGenerateCode()
133 PM.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis())); in addPassesToGenerateCode()
137 TargetPassConfig *PassConfig = TM->createPassConfig(PM); in addPassesToGenerateCode()
143 PM.add(PassConfig); in addPassesToGenerateCode()
153 MachineModuleInfo &MMI = TM->addMachineModuleInfo(PM); in addPassesToGenerateCode()
154 TM->addMachineFunctionAnalysis(PM, MFInitializer); in addPassesToGenerateCode()
186 PassManagerBase &PM, raw_pwrite_stream &Out, CodeGenFileType FileType, in addPassesToEmitFile() argument
191 addPassesToGenerateCode(this, PM, DisableVerify, StartBefore, StartAfter, in addPassesToEmitFile()
197 PM.add(createPrintMIRPass(Out)); in addPassesToEmitFile()
263 PM.add(Printer); in addPassesToEmitFile()
273 bool LLVMTargetMachine::addPassesToEmitMC(PassManagerBase &PM, MCContext *&Ctx, in addPassesToEmitMC() argument
277 Ctx = addPassesToGenerateCode(this, PM, DisableVerify, nullptr, nullptr, in addPassesToEmitMC()
308 PM.add(Printer); in addPassesToEmitMC()