Searched refs:GlobalExtensions (Results 1 – 2 of 2) sorted by relevance
50 PassManagerBuilder::ExtensionFn>, 8> > GlobalExtensions; variable55 GlobalExtensions->push_back(std::make_pair(Ty, Fn)); in addGlobalExtension()64 for (unsigned i = 0, e = GlobalExtensions->size(); i != e; ++i) in addExtensionsToPM()65 if ((*GlobalExtensions)[i].first == ETy) in addExtensionsToPM()66 (*GlobalExtensions)[i].second(*this, PM); in addExtensionsToPM()
159 PassManagerBuilder::ExtensionFn>, 8> > GlobalExtensions; variable164 GlobalExtensions->push_back(std::make_pair(Ty, std::move(Fn))); in addGlobalExtension()173 for (unsigned i = 0, e = GlobalExtensions->size(); i != e; ++i) in addExtensionsToPM()174 if ((*GlobalExtensions)[i].first == ETy) in addExtensionsToPM()175 (*GlobalExtensions)[i].second(*this, PM); in addExtensionsToPM()352 else if (!GlobalExtensions->empty() || !Extensions.empty()) in populateModulePassManager()