Lines Matching refs:GlobalExtensions
196 GlobalExtensions;
199 /// Check if GlobalExtensions is constructed and not empty.
200 /// Since GlobalExtensions is a managed static, calling 'empty()' will trigger
203 return GlobalExtensions.isConstructed() && !GlobalExtensions->empty();
210 GlobalExtensions->push_back(std::make_tuple(Ty, std::move(Fn), ExtensionID));
216 // RegisterStandardPasses may try to call this function after GlobalExtensions
218 if (!GlobalExtensions.isConstructed())
222 llvm::find_if(*GlobalExtensions, [ExtensionID](const auto &elem) {
225 assert(GlobalExtension != GlobalExtensions->end() &&
228 GlobalExtensions->erase(GlobalExtension);
238 for (auto &Ext : *GlobalExtensions) {