LLVM: include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/PrintRegion.h Source File (original) (raw)

Go to the documentation of this file.

1#ifndef LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_PASSES_PRINTREGION_H

2#define LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_PASSES_PRINTREGION_H

3

6

8

9

11public:

15#ifndef NDEBUG

16 OS << "-- Region --\n";

17 OS << R << "\n";

18#else

19

20

21 OS << "Region dump only available in DEBUG build!";

22#endif

23 return false;

24 }

25};

26

27}

28

29#endif

static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")

This class implements an extremely fast bulk output stream that can only output to a stream.

bool runOnRegion(Region &R, const Analyses &A) final

\Returns true if it modifies R.

Definition PrintRegion.h:13

PrintRegion()

Definition PrintRegion.h:12

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.

LLVM_ABI raw_fd_ostream & outs()

This returns a reference to a raw_fd_ostream for standard output.