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

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

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

Public Member Functions

 BottomUpVec (StringRef Pipeline)
 
bool runOnFunction (Function &F, const Analyses &A) final
 \Returns true if it modifies F.
 
void printPipeline (raw_ostream &OS) const final
 Similar to print() but adds a newline. Used for testing.
 
- Public Member Functions inherited from llvm::sandboxir::FunctionPass
 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 ()
 
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

Definition at line 25 of file BottomUpVec.h.

Constructor & Destructor Documentation

◆ BottomUpVec()

llvm::sandboxir::BottomUpVec::BottomUpVec ( StringRef  Pipeline)

Definition at line 20 of file BottomUpVec.cpp.

Member Function Documentation

◆ printPipeline()

void llvm::sandboxir::BottomUpVec::printPipeline ( raw_ostream OS) const
inlinefinalvirtual

Similar to print() but adds a newline. Used for testing.

Reimplemented from llvm::sandboxir::Pass.

Definition at line 49 of file BottomUpVec.h.

References llvm::sandboxir::Pass::getName(), OS, and llvm::sandboxir::PassManager< ParentPass, ContainedPass >::printPipeline().

◆ runOnFunction()

bool llvm::sandboxir::BottomUpVec::runOnFunction ( Function F,
const Analyses A 
)
finalvirtual

\Returns true if it modifies F.

Implements llvm::sandboxir::FunctionPass.

Definition at line 273 of file BottomUpVec.cpp.

References A, llvm::sandboxir::collectSeeds(), and F.


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