Lines Matching refs:PassConfig
137 TargetPassConfig *PassConfig = TM->createPassConfig(PM); in addPassesToGenerateCode() local
138 PassConfig->setStartStopPasses(StartBefore, StartAfter, StopAfter); in addPassesToGenerateCode()
141 PassConfig->setDisableVerify(DisableVerify); in addPassesToGenerateCode()
143 PM.add(PassConfig); in addPassesToGenerateCode()
145 PassConfig->addIRPasses(); in addPassesToGenerateCode()
147 PassConfig->addCodeGenPrepare(); in addPassesToGenerateCode()
149 PassConfig->addPassesToHandleExceptions(); in addPassesToGenerateCode()
151 PassConfig->addISelPrepare(); in addPassesToGenerateCode()
165 if (PassConfig->addIRTranslator()) in addPassesToGenerateCode()
170 PassConfig->addPreRegBankSelect(); in addPassesToGenerateCode()
172 if (PassConfig->addRegBankSelect()) in addPassesToGenerateCode()
175 } else if (PassConfig->addInstSelector()) in addPassesToGenerateCode()
178 PassConfig->addMachinePasses(); in addPassesToGenerateCode()
180 PassConfig->setInitialized(); in addPassesToGenerateCode()