RVSDG tree printer debug pass.
More...
#include <RvsdgTreePrinter.hpp>
RVSDG tree printer debug pass.
Prints an RVSDG tree to a file.
Definition at line 33 of file RvsdgTreePrinter.hpp.
◆ ~RvsdgTreePrinter()
| jlm::llvm::RvsdgTreePrinter::~RvsdgTreePrinter |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ RvsdgTreePrinter() [1/3]
| jlm::llvm::RvsdgTreePrinter::RvsdgTreePrinter |
( |
Configuration |
configuration | ) |
|
|
inlineexplicit |
◆ RvsdgTreePrinter() [2/3]
◆ RvsdgTreePrinter() [3/3]
◆ AnnotateNumMemoryStateInputsOutputs()
Adds an annotation to annotationMap that indicates the number of inputs/outputs of type MemoryStateType.
- Parameters
-
| rvsdg | The RVSDG for which to compute the annotation. |
| annotationMap | The annotation map in which the annotation is inserted. |
- See also
- NumMemoryStateInputsOutputs
Definition at line 168 of file RvsdgTreePrinter.cpp.
◆ AnnotateNumNodes()
Adds an annotation to annotationMap that indicates the number of RVSDG nodes for regions and structural nodes.
- Parameters
-
| rvsdg | The RVSDG for which to compute the annotation. |
| match | Returns true if a node should be counted, otherwise false. |
| label | The label used for annotating the region tree. |
| annotationMap | The annotation map in which the annotation is inserted. |
- See also
- NumRvsdgNodes
Definition at line 128 of file RvsdgTreePrinter.cpp.
◆ ComputeAnnotationMap()
◆ IsMemoryStateInput()
| bool jlm::llvm::RvsdgTreePrinter::IsMemoryStateInput |
( |
const rvsdg::Input * |
input | ) |
|
|
staticprivatenoexcept |
◆ IsMemoryStateOutput()
| bool jlm::llvm::RvsdgTreePrinter::IsMemoryStateOutput |
( |
const rvsdg::Output * |
output | ) |
|
|
staticprivatenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Run()
Perform RVSDG transformation.
- Note
- This method is expected to be called multiple times. An implementation is required to reset the objects' internal state to ensure correct behavior after every invocation.
- Parameters
-
| module | RVSDG module the transformation is performed on. |
| statisticsCollector | Statistics collector for collecting transformation statistics. |
Implements jlm::rvsdg::Transformation.
Definition at line 51 of file RvsdgTreePrinter.cpp.
◆ Configuration_
The documentation for this class was generated from the following files: