LLVM 20.0.0git
|
The base class of a Sandbox IR Pass. More...
#include "llvm/SandboxIR/Pass.h"
Public Member Functions | |
Pass (StringRef Name) | |
Name can't contain any spaces or start with '-'. | |
virtual | ~Pass () |
StringRef | getName () const |
\Returns the name of the pass. | |
virtual void | print (raw_ostream &OS) const |
virtual LLVM_DUMP_METHOD void | dump () const |
virtual void | printPipeline (raw_ostream &OS) const |
Similar to print() but adds a newline. Used for testing. | |
Protected Attributes | |
const std::string | Name |
The pass name. | |
Friends | |
raw_ostream & | operator<< (raw_ostream &OS, const Pass &Pass) |
|
inline |
|
virtual |
|
inline |
\Returns the name of the pass.
Definition at line 57 of file Pass.h.
References Name.
Referenced by llvm::sandboxir::PassManager< ParentPass, ContainedPass >::print(), llvm::sandboxir::BottomUpVec::printPipeline(), and llvm::sandboxir::RegionsFromMetadata::printPipeline().
|
inlinevirtual |
Reimplemented in llvm::sandboxir::PassManager< FunctionPass, FunctionPass >, and llvm::sandboxir::PassManager< RegionPass, RegionPass >.
|
inlinevirtual |
Similar to print() but adds a newline. Used for testing.
Reimplemented in llvm::sandboxir::BottomUpVec, llvm::sandboxir::RegionsFromMetadata, llvm::sandboxir::PassManager< FunctionPass, FunctionPass >, and llvm::sandboxir::PassManager< RegionPass, RegionPass >.
|
friend |
|
protected |