LLVM 20.0.0git
Public Member Functions | List of all members
llvm::sandboxir::NullPass Class Referencefinal

A Region pass that does nothing, for use as a placeholder in tests. More...

#include "llvm/Transforms/Vectorize/SandboxVectorizer/Passes/NullPass.h"

Inheritance diagram for llvm::sandboxir::NullPass:
Inheritance graph
[legend]

Public Member Functions

 NullPass ()
 
bool runOnRegion (Region &R, const Analyses &A) final
 \Returns true if it modifies R.
 
- Public Member Functions inherited from llvm::sandboxir::RegionPass
 RegionPass (StringRef Name)
 Name can't contain any spaces or start with '-'.
 
virtual bool runOnRegion (Region &R, const Analyses &A)=0
 \Returns true if it modifies R.
 
- Public Member Functions inherited from llvm::sandboxir::Pass
 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.
 

Additional Inherited Members

- Protected Attributes inherited from llvm::sandboxir::Pass
const std::string Name
 The pass name.
 

Detailed Description

A Region pass that does nothing, for use as a placeholder in tests.

Definition at line 11 of file NullPass.h.

Constructor & Destructor Documentation

◆ NullPass()

llvm::sandboxir::NullPass::NullPass ( )
inline

Definition at line 13 of file NullPass.h.

Member Function Documentation

◆ runOnRegion()

bool llvm::sandboxir::NullPass::runOnRegion ( Region R,
const Analyses A 
)
inlinefinalvirtual

\Returns true if it modifies R.

Implements llvm::sandboxir::RegionPass.

Definition at line 14 of file NullPass.h.


The documentation for this class was generated from the following file: