1#ifndef LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_PASSES_PRINTINSTRUCTIONCOUNT_H
2#define LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_PASSES_PRINTINSTRUCTIONCOUNT_H
16 outs() <<
"InstructionCount: " << std::distance(R.begin(), R.end()) <<
"\n";
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
A Region pass that prints the instruction count for the region to stdout.
bool runOnRegion(Region &R, const Analyses &A) final
\Returns true if it modifies R.
A pass that runs on a sandbox::Region.
The main job of the Region is to point to new instructions generated by vectorization passes.
raw_fd_ostream & outs()
This returns a reference to a raw_fd_ostream for standard output.