[#llvm-getGlobalPassGate] = xref:llvm.adoc[llvm]::getGlobalPassGate :relfileprefix: ../ :mrdocs: Singleton instance of the OptPassGate class, so multiple pass managers don't need to coordinate their uses of OptBisect and OptDisable. == Synopsis Declared in `<llvm/IR/OptBisect.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/OptPassGate.adoc[OptPassGate]& getGlobalPassGate(); ---- == Return Value A reference to the global OptPassGate singleton. [.small]#Created with https://www.mrdocs.com[MrDocs]#