Base class.
Declared in <llvm/SandboxIR/PassManager.h>
template<
typename ParentPass,
typename ContainedPass>
class PassManager
: public ParentPass
| Name | Description |
|---|---|
ParentPass |
| Name | Description |
|---|---|
CreatePassFunc | Factory that creates a contained pass from its name and argument strings. CreatePassFunc(StringRef PassName, StringRef PassArgs, StringRef AuxArg) |
| Name | Description |
|---|---|
addPass | Adds Pass to the pass pipeline. |
dump | Dump this pass manager to the debug stream. |
print | Print this pass manager and its contained passes to OS. |
printPipeline | Similar to print() but prints one pass per line. Used for testing. |
setPassPipeline | Parses Pipeline as a comma-separated sequence of pass names and sets the pass pipeline, using CreatePass to instantiate passes by name. |
| Name | Description |
|---|---|
BeginArgsToken | Character that opens a standard pass-arguments list (<). |
BeginAuxArgsToken | Character that opens an auxiliary pass-argument ((). |
EndArgsToken | Character that closes a standard pass-arguments list (>). |
EndAuxArgsToken | Character that closes an auxiliary pass-argument ()). |
EndToken | End-of-string sentinel used while parsing a pipeline. |
PassDelimToken | Character that separates passes in a pipeline (,). |
| Name | Description |
|---|---|
PassManager [constructor] [deleted] | Copy construction is not supported. |
PassManager [constructor] | Move-construct a pass manager. |
PassManager [constructor] | Construct a pass manager with the given name. |
PassManager [constructor] | Construct a pass manager and parse Pipeline into its pass list. |
~PassManager [destructor] | Destroy the pass manager. |
operator= [deleted] | Copy assignment is not supported. |
| Name | Description |
|---|---|
Passes | The list of passes that this pass manager will run. |
| Name | Description |
|---|---|
FunctionPassManager | A pass manager that runs function passes on a sandbox::Function. |
RegionPassManager | A pass manager that runs region passes on a sandbox::Region. |