9#ifndef LLVM_SANDBOXIR_PASS_H
10#define LLVM_SANDBOXIR_PASS_H
52 "A pass name should not contain whitespaces!");
53 assert(!
Name.starts_with(
'-') &&
"A pass name should not start with '-'!");
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
The main scalar evolution driver.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
Analyses(AAResults &AA, ScalarEvolution &SE)
ScalarEvolution & getScalarEvolution() const
AAResults & getAA() const
static Analyses emptyForTesting()
For use by unit tests.
A pass that runs on a sandbox::Function.
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.
The base class of a Sandbox IR Pass.
virtual void printPipeline(raw_ostream &OS) const
Similar to print() but adds a newline. Used for testing.
const std::string Name
The pass name.
friend raw_ostream & operator<<(raw_ostream &OS, const Pass &Pass)
Pass(StringRef Name)
Name can't contain any spaces or start with '-'.
virtual LLVM_DUMP_METHOD void dump() const
virtual void print(raw_ostream &OS) const
StringRef getName() const
\Returns the name of the pass.
A pass that runs on a sandbox::Region.
virtual bool runOnRegion(Region &R, const Analyses &A)=0
\Returns true if it modifies R.
RegionPass(StringRef Name)
Name can't contain any spaces or start with '-'.
The main job of the Region is to point to new instructions generated by vectorization passes.
This is an optimization pass for GlobalISel generic memory operations.