[#llvm-OptPassGateInstrumentation] = xref:llvm.adoc[llvm]::OptPassGateInstrumentation :relfileprefix: ../ :mrdocs: Instrumentation that respects `‐opt‐bisect‐limit` and related pass gates. == Synopsis Declared in `<llvm/Passes/StandardInstrumentations.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class OptPassGateInstrumentation; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/OptPassGateInstrumentation/2constructor.adoc[`OptPassGateInstrumentation`] [.small]#[constructor]# | Construct instrumentation bound to `Context's` opt‐bisect gate. | xref:llvm/OptPassGateInstrumentation/registerCallbacks.adoc[`registerCallbacks`] | Register the should‐run callback on `PIC.` | xref:llvm/OptPassGateInstrumentation/shouldRun.adoc[`shouldRun`] | Return whether `PassName` should run on `IR` under the current gate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#