New PM pass that inserts XRay instrumentation into machine functions.
Declared in <llvm/CodeGen/XRayInstrumentation.h>
class XRayInstrumentationPass
: public RequiredPassInfoMixin<XRayInstrumentationPass>
Looks for XRay-specific function attributes to decide whether to insert the replacement operations that enable runtime patching of entry and exit sleds.
| Name | Description |
|---|---|
RequiredPassInfoMixin<XRayInstrumentationPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Insert XRay instrumentation instructions into MF when requested. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |