LLVM: llvm::sandboxir::FunctionPass Class Reference (original) (raw)
A pass that runs on a sandbox::Function. More...
#include "[llvm/SandboxIR/Pass.h](SandboxIR%5F2Pass%5F8h%5Fsource.html)"
Inheritance diagram for llvm::sandboxir::FunctionPass:
| 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 |
| LLVM_ABI_FOR_TEST virtual LLVM_DUMP_METHOD void | dump () const |
| virtual void | printPipeline (raw_ostream &OS) const |
| Similar to print() but adds a newline. Used for testing. |
Detailed Description
A pass that runs on a sandbox::Function.
Definition at line 75 of file Pass.h.
Constructor & Destructor Documentation
| llvm::sandboxir::FunctionPass::FunctionPass ( StringRef Name) | inline |
|---|
Member Function Documentation
◆ runOnFunction()
The documentation for this class was generated from the following file:
- include/llvm/SandboxIR/Pass.h