LLVM: llvm::sandboxir::PrintInstructionCount Class Reference (original) (raw)

A Region pass that prints the instruction count for the region to stdout. More...

#include "[llvm/Transforms/Vectorize/SandboxVectorizer/Passes/PrintInstructionCount.h](PrintInstructionCount%5F8h%5Fsource.html)"

Inheritance diagram for llvm::sandboxir::PrintInstructionCount:

Public Member Functions
PrintInstructionCount ()
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 '-'.
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 Region pass that prints the instruction count for the region to stdout.

Used to test -sbvec-passes while we don't have any actual optimization passes.

Definition at line 12 of file PrintInstructionCount.h.

Constructor & Destructor Documentation

llvm::sandboxir::PrintInstructionCount::PrintInstructionCount ( ) inline

Member Function Documentation

runOnRegion()


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