llvm::sandboxir::PassManager

Base class.

Synopsis

Declared in <llvm/SandboxIR/PassManager.h>

template<
    typename ParentPass,
    typename ContainedPass>
class PassManager
    : public ParentPass

Base Classes

NameDescription
ParentPass

Type Aliases

NameDescription
CreatePassFunc Factory that creates a contained pass from its name and argument strings. CreatePassFunc(StringRef PassName, StringRef PassArgs, StringRef AuxArg)

Member Functions

NameDescription
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.

Static Data Members

NameDescription
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 (,).

Protected Member Functions

NameDescription
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.

Protected Data Members

NameDescription
Passes The list of passes that this pass manager will run.

Derived Classes

NameDescription
FunctionPassManager A pass manager that runs function passes on a sandbox::Function.
RegionPassManager A pass manager that runs region passes on a sandbox::Region.