Trivial adaptor that maps from a function to its machine function.
Declared in <llvm/CodeGen/MachinePassManager.h>
class FunctionToMachineFunctionPassAdaptor
: public RequiredPassInfoMixin<FunctionToMachineFunctionPassAdaptor>
Designed to allow composition of a MachineFunctionPass(Manager) and a FunctionPassManager by running the MachineFunctionPass(Manager) over the machine function corresponding to each IR function.
| Name | Description |
|---|---|
RequiredPassInfoMixin<FunctionToMachineFunctionPassAdaptor> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
PassConceptT | Type-erased machine function pass concept used by this adaptor. |
| Name | Description |
|---|---|
FunctionToMachineFunctionPassAdaptor [constructor] | Construct an adaptor that runs Pass over the machine function. |
printPipeline | Print this adaptor and its nested machine function pass as a pipeline. |
run | Runs the machine function pass on the machine function for F. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |
| Name | Description |
|---|---|
createFunctionToMachineFunctionPassAdaptor | A function to deduce a machine function pass type and wrap it in the templated adaptor. |