|
hoshi-lang dev
Yet another programming language
|
#include <IROptimizer.hpp>
Classes | |
| struct | Iterator |
Public Member Functions | |
| ContributedInstructionSet ()=default | |
| ContributedInstructionSet (yoi::indexT codeBlockIndex, const std::set< yoi::indexT > &instructions) | |
| ContributedInstructionSet (yoi::indexT codeBlockIndex, const std::set< yoi::indexT > &instructions, bool optimizable) | |
| ContributedInstructionSet & | insert (yoi::indexT index) |
| ContributedInstructionSet | operator+ (const ContributedInstructionSet &other) const |
| Iterator | begin () const |
| Iterator | end () const |
Public Attributes | |
| yoi::indexT | codeBlockIndex |
| std::set< yoi::indexT > | instructions |
| bool | optimizable {true} |
Definition at line 63 of file IROptimizer.hpp.
|
default |
| ContributedInstructionSet | ( | yoi::indexT | codeBlockIndex, |
| const std::set< yoi::indexT > & | instructions | ||
| ) |
Definition at line 17 of file IROptimizer.cpp.
| ContributedInstructionSet | ( | yoi::indexT | codeBlockIndex, |
| const std::set< yoi::indexT > & | instructions, | ||
| bool | optimizable | ||
| ) |
Definition at line 21 of file IROptimizer.cpp.
Definition at line 61 of file IROptimizer.cpp.
References IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::instructions.
Definition at line 66 of file IROptimizer.cpp.
References IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::instructions.
Definition at line 27 of file IROptimizer.cpp.
References IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::insert().
Referenced by IRFunctionOptimizer::generatePushOp(), IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::insert(), and IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::operator+().


| IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet operator+ | ( | const ContributedInstructionSet & | other | ) | const |
Definition at line 33 of file IROptimizer.cpp.
References IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::insert(), IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::instructions, and IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::optimizable.

| yoi::indexT codeBlockIndex |
Definition at line 64 of file IROptimizer.hpp.
Referenced by IRFunctionOptimizer::reduce().
| std::set<yoi::indexT> instructions |
Definition at line 65 of file IROptimizer.hpp.
Referenced by IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::begin(), IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::end(), and IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::operator+().
| bool optimizable {true} |
Definition at line 66 of file IROptimizer.hpp.
Referenced by IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet::operator+(), and IRFunctionOptimizer::reduce().