ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
etiss::instr::InstructionClass Class Reference

maps to VariableInstructionSet More...

#include <Instruction.h>

Collaboration diagram for etiss::instr::InstructionClass:
Collaboration graph
[legend]

Public Member Functions

 etiss_del_como (InstructionClass) template< typename... T > InstructionClass(unsigned mode
 
const std::string unsigned InstructionGroupname_ (name)
 
const std::string unsigned InstructionGroupwidth_ (width)
 
void foreach (std::function< void(InstructionGroup &)> call)
 
void addTo (VariableInstructionSet &set, bool &ok)
 

Public Attributes

const unsigned mode_
 
const std::string name_
 
const unsigned width_
 
const std::string & name
 
const std::string unsigned width
 
const std::string unsigned InstructionGroupgroup1
 
const std::string unsigned InstructionGroup T & othergroups: mode_(mode)
 

Private Member Functions

template<typename... T>
void add (InstructionGroup &group, T &... args)
 
void add ()
 

Private Attributes

std::set< InstructionGroup * > groups_
 

Detailed Description

maps to VariableInstructionSet

Definition at line 637 of file Instruction.h.

Member Function Documentation

◆ add() [1/2]

void etiss::instr::InstructionClass::add ( )
inlineprivate

Definition at line 647 of file Instruction.h.

Referenced by add(), and name_().

Here is the caller graph for this function:

◆ add() [2/2]

template<typename... T>
void etiss::instr::InstructionClass::add ( InstructionGroup group,
T &...  args 
)
inlineprivate

Definition at line 642 of file Instruction.h.

References add(), get_metrics::args, and groups_.

Here is the call graph for this function:

◆ addTo()

void etiss::instr::InstructionClass::addTo ( VariableInstructionSet set,
bool ok 
)

Definition at line 717 of file Instruction.cpp.

References etiss::instr::InstructionGroup::addTo(), etiss::instr::InstructionGroup::name_, etiss::instr::VariableInstructionSet::open(), and etiss::instr::InstructionGroup::width_.

Referenced by etiss::instr::InstructionCollection::addTo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ etiss_del_como()

etiss::instr::InstructionClass::etiss_del_como ( InstructionClass  )

◆ foreach()

void etiss::instr::InstructionClass::foreach ( std::function< void(InstructionGroup &)>  call)
inline

Definition at line 663 of file Instruction.h.

References groups_.

◆ name_()

const std::string unsigned InstructionGroup T etiss::instr::InstructionClass::name_ ( name  )

References add(), group1, and othergroups.

Here is the call graph for this function:

◆ width_()

const std::string unsigned InstructionGroup T etiss::instr::InstructionClass::width_ ( width  )
inline

Definition at line 659 of file Instruction.h.

Member Data Documentation

◆ group1

const std::string unsigned InstructionGroup& etiss::instr::InstructionClass::group1

Definition at line 657 of file Instruction.h.

Referenced by name_().

◆ groups_

std::set<InstructionGroup *> etiss::instr::InstructionClass::groups_
private

Definition at line 640 of file Instruction.h.

Referenced by add(), and foreach().

◆ mode_

const unsigned etiss::instr::InstructionClass::mode_

Definition at line 650 of file Instruction.h.

Referenced by etiss::instr::InstructionCollection::addTo().

◆ name

const std::string& etiss::instr::InstructionClass::name

Definition at line 657 of file Instruction.h.

Referenced by get_metrics.MemRange::stats().

◆ name_

const std::string etiss::instr::InstructionClass::name_

Definition at line 651 of file Instruction.h.

Referenced by etiss::instr::InstructionCollection::addTo().

◆ othergroups

const std::string unsigned InstructionGroup T& etiss::instr::InstructionClass::othergroups

Definition at line 658 of file Instruction.h.

Referenced by name_().

◆ width

const std::string unsigned etiss::instr::InstructionClass::width

Definition at line 657 of file Instruction.h.

◆ width_

const unsigned etiss::instr::InstructionClass::width_

Definition at line 652 of file Instruction.h.

Referenced by etiss::instr::InstructionCollection::addTo().


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