hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
IRFunctionOptimizer::SimulationStack::Item::ContributedInstructionSet Struct Reference

#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)
 
ContributedInstructionSetinsert (yoi::indexT index)
 
ContributedInstructionSet operator+ (const ContributedInstructionSet &other) const
 
Iterator begin () const
 
Iterator end () const
 

Public Attributes

yoi::indexT codeBlockIndex
 
std::set< yoi::indexTinstructions
 
bool optimizable {true}
 

Detailed Description

Definition at line 63 of file IROptimizer.hpp.

Constructor & Destructor Documentation

◆ ContributedInstructionSet() [1/3]

◆ ContributedInstructionSet() [2/3]

ContributedInstructionSet ( yoi::indexT  codeBlockIndex,
const std::set< yoi::indexT > &  instructions 
)

Definition at line 17 of file IROptimizer.cpp.

◆ ContributedInstructionSet() [3/3]

ContributedInstructionSet ( yoi::indexT  codeBlockIndex,
const std::set< yoi::indexT > &  instructions,
bool  optimizable 
)

Definition at line 21 of file IROptimizer.cpp.

Member Function Documentation

◆ begin()

◆ end()

◆ insert()

◆ operator+()

Member Data Documentation

◆ codeBlockIndex

yoi::indexT codeBlockIndex

Definition at line 64 of file IROptimizer.hpp.

Referenced by IRFunctionOptimizer::reduce().

◆ instructions

◆ optimizable


The documentation for this struct was generated from the following files: