Lines Matching refs:PassManagerBuilder
88 PassManagerBuilder::PassManagerBuilder() { in PassManagerBuilder() function in PassManagerBuilder
107 PassManagerBuilder::~PassManagerBuilder() { in ~PassManagerBuilder()
113 static ManagedStatic<SmallVector<std::pair<PassManagerBuilder::ExtensionPointTy,
114 PassManagerBuilder::ExtensionFn>, 8> > GlobalExtensions;
116 void PassManagerBuilder::addGlobalExtension( in addGlobalExtension()
117 PassManagerBuilder::ExtensionPointTy Ty, in addGlobalExtension()
118 PassManagerBuilder::ExtensionFn Fn) { in addGlobalExtension()
122 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { in addExtension()
126 void PassManagerBuilder::addExtensionsToPM(ExtensionPointTy ETy, in addExtensionsToPM()
136 void PassManagerBuilder::addInitialAliasAnalysisPasses( in addInitialAliasAnalysisPasses()
148 void PassManagerBuilder::populateFunctionPassManager( in populateFunctionPassManager()
169 void PassManagerBuilder::populateModulePassManager( in populateModulePassManager()
408 void PassManagerBuilder::addLTOOptimizationPasses(legacy::PassManagerBase &PM) { in addLTOOptimizationPasses()
503 void PassManagerBuilder::addLateLTOOptimizationPasses( in addLateLTOOptimizationPasses()
517 void PassManagerBuilder::populateLTOPassManager(legacy::PassManagerBase &PM) { in populateLTOPassManager()
539 inline PassManagerBuilder *unwrap(LLVMPassManagerBuilderRef P) { in unwrap()
540 return reinterpret_cast<PassManagerBuilder*>(P); in unwrap()
543 inline LLVMPassManagerBuilderRef wrap(PassManagerBuilder *P) { in wrap()
548 PassManagerBuilder *PMB = new PassManagerBuilder(); in LLVMPassManagerBuilderCreate()
553 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderDispose()
560 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetOptLevel()
567 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetSizeLevel()
574 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetDisableUnitAtATime()
581 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetDisableUnrollLoops()
594 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderUseInlinerWithThreshold()
601 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderPopulateFunctionPassManager()
609 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderPopulateModulePassManager()
618 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderPopulateLTOPassManager()