|
Jlm
|
#include <NodeReduction.hpp>


Classes | |
| struct | ReductionCounters |
Public Member Functions | |
| ~Statistics () noexcept override=default | |
| Statistics (const util::FilePath &sourceFile) | |
| void | Start (const rvsdg::Graph &graph) noexcept |
| void | End (const rvsdg::Graph &graph) noexcept |
| bool | AddIteration (const rvsdg::Region ®ion, size_t numIterations) |
| std::optional< size_t > | GetNumIterations (const rvsdg::Region ®ion) const noexcept |
| size_t | getNumRegions () const noexcept |
| size_t | getTotalIterations () const noexcept |
| size_t | getMaxIterationsPerRegion () const noexcept |
| ReductionCounters & | getReductionCounters () noexcept |
| const ReductionCounters & | getReductionCounters () const noexcept |
Public Member Functions inherited from jlm::util::Statistics | |
| Statistics (const Statistics::Id &statisticsId, util::FilePath sourceFile) | |
| Statistics::Id | GetId () const noexcept |
| std::string_view | GetName () const |
| const util::FilePath & | GetSourceFile () const |
| std::string | Serialize (char fieldSeparator, char nameValueSeparator) const |
| bool | HasMeasurement (const std::string &name) const noexcept |
| const Measurement & | GetMeasurement (const std::string &name) const |
| template<typename T > | |
| const T & | GetMeasurementValue (const std::string &name) const |
| IteratorRange< MeasurementList::const_iterator > | GetMeasurements () const |
| bool | HasTimer (const std::string &name) const noexcept |
| size_t | GetTimerElapsedNanoseconds (const std::string &name) const |
| IteratorRange< TimerList::const_iterator > | GetTimers () const |
Static Public Member Functions | |
| static std::unique_ptr< Statistics > | Create (const util::FilePath &sourceFile) |
Private Attributes | |
| ReductionCounters | reductionCounters_ {} |
| std::unordered_map< const rvsdg::Region *, size_t > | NumIterations_ |
Static Private Attributes | |
| static const char * | NumRegionsLabel_ = "NumRegions" |
| static const char * | NumTotalRegionIterationsLabel_ = "NumTotalRegionIterations" |
| static const char * | MaxIterationsPerRegionLabel_ = "MaxIterationsPerRegion" |
Represents the statistics gathered throughout the NodeReduction transformation.
Definition at line 83 of file NodeReduction.hpp.
|
overridevirtualdefaultnoexcept |
Reimplemented from jlm::util::Statistics.
|
inlineexplicit |
Definition at line 92 of file NodeReduction.hpp.
| bool jlm::llvm::NodeReduction::Statistics::AddIteration | ( | const rvsdg::Region & | region, |
| size_t | numIterations | ||
| ) |
Definition at line 92 of file NodeReduction.cpp.
|
inlinestatic |
Definition at line 186 of file NodeReduction.hpp.
|
noexcept |
Definition at line 36 of file NodeReduction.cpp.
|
noexcept |
Definition at line 129 of file NodeReduction.cpp.
|
noexcept |
Definition at line 100 of file NodeReduction.cpp.
|
noexcept |
Definition at line 111 of file NodeReduction.cpp.
|
inlinenoexcept |
Definition at line 180 of file NodeReduction.hpp.
|
inlinenoexcept |
Definition at line 174 of file NodeReduction.hpp.
|
noexcept |
Definition at line 117 of file NodeReduction.cpp.
|
noexcept |
Definition at line 28 of file NodeReduction.cpp.
|
inlinestaticprivate |
Definition at line 87 of file NodeReduction.hpp.
|
private |
Definition at line 193 of file NodeReduction.hpp.
|
inlinestaticprivate |
Definition at line 85 of file NodeReduction.hpp.
|
inlinestaticprivate |
Definition at line 86 of file NodeReduction.hpp.
|
private |
Definition at line 192 of file NodeReduction.hpp.