|
LLVM 22.0.0git
|
A pass that runs on a sandbox::Function. More...
#include "llvm/SandboxIR/Pass.h"
Public Member Functions | |
| FunctionPass (StringRef Name) | |
Name can't contain any spaces or start with '-'. | |
| virtual bool | runOnFunction (Function &F, const Analyses &A)=0 |
\Returns true if it modifies F. | |
| Public Member Functions inherited from llvm::sandboxir::Pass | |
| Pass (StringRef Name) | |
Name can't contain any spaces or start with '-'. | |
| virtual | ~Pass ()=default |
| 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. | |
Additional Inherited Members | |
| Protected Attributes inherited from llvm::sandboxir::Pass | |
| const std::string | Name |
| The pass name. | |
|
inline |
Name can't contain any spaces or start with '-'.
Definition at line 78 of file Pass.h.
References llvm::sandboxir::Pass::Name, and llvm::sandboxir::Pass::Pass().
Referenced by llvm::sandboxir::RegionsFromBBs::RegionsFromBBs(), llvm::sandboxir::RegionsFromMetadata::RegionsFromMetadata(), and llvm::sandboxir::SeedCollection::SeedCollection().
|
pure virtual |
\Returns true if it modifies F.
Implemented in llvm::sandboxir::FunctionPassManager, llvm::sandboxir::RegionsFromBBs, llvm::sandboxir::RegionsFromMetadata, and llvm::sandboxir::SeedCollection.