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

maps to Instruction More...

#include <Instruction.h>

Inheritance diagram for etiss::instr::InstructionDefinition:
Inheritance graph
[legend]
Collaboration diagram for etiss::instr::InstructionDefinition:
Collaboration graph
[legend]

Public Member Functions

 etiss_del_como (InstructionDefinition) template< typename T > InstructionDefinition(InstructionGroup &ig
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> name_ (name)
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> opc_ (ig.width_, code, mask)
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> callback_ (callback)
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> ASMprinter_ (ASMprinter)
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> builtinGroups_ (builtinGroups)
 
 ~InstructionDefinition ()
 
void addTo (Instruction &set, bool &ok)
 
std::string toString () const
 
- Public Member Functions inherited from etiss::ToString
 ToString ()
 
virtual ~ToString ()
 

Public Attributes

InstructionGroupgroup_
 
const std::string name_
 
const OPCode opc_
 
const std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> callback_
 
const std::function< std::string(BitArray &, Instruction &)> ASMprinter_
 
const uint32_t builtinGroups_
 
const std::string & name
 
const std::string T code
 
const std::string T T mask
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> callback
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t builtinGroups
 
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> ASMprinter: group_(ig)
 

Detailed Description

maps to Instruction

Definition at line 707 of file Instruction.h.

Constructor & Destructor Documentation

◆ ~InstructionDefinition()

etiss::instr::InstructionDefinition::~InstructionDefinition ( )
inline

Definition at line 742 of file Instruction.h.

Member Function Documentation

◆ addTo()

void etiss::instr::InstructionDefinition::addTo ( Instruction set,
bool ok 
)

◆ ASMprinter_()

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::ASMprinter_ ( ASMprinter  )

◆ builtinGroups_()

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::builtinGroups_ ( builtinGroups  )
inline

◆ callback_()

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::callback_ ( callback  )

◆ etiss_del_como()

etiss::instr::InstructionDefinition::etiss_del_como ( InstructionDefinition  ) &

◆ name_()

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::name_ ( name  )

◆ opc_()

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::opc_ ( ig.  width_,
code  ,
mask   
)

◆ toString()

std::string etiss::instr::InstructionDefinition::toString ( ) const
inline

Definition at line 747 of file Instruction.h.

References group_, etiss::instr::InstructionGroup::name_, and name_.

Member Data Documentation

◆ ASMprinter

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::ASMprinter

Definition at line 723 of file Instruction.h.

◆ ASMprinter_

const std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::ASMprinter_

Definition at line 714 of file Instruction.h.

Referenced by addTo().

◆ builtinGroups

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t etiss::instr::InstructionDefinition::builtinGroups

Definition at line 723 of file Instruction.h.

◆ builtinGroups_

const uint32_t etiss::instr::InstructionDefinition::builtinGroups_

Definition at line 715 of file Instruction.h.

Referenced by addTo().

◆ callback

const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> etiss::instr::InstructionDefinition::callback

Definition at line 722 of file Instruction.h.

Referenced by builtinGroups_().

◆ callback_

const std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> etiss::instr::InstructionDefinition::callback_

Definition at line 713 of file Instruction.h.

Referenced by addTo().

◆ code

const std::string T etiss::instr::InstructionDefinition::code

Definition at line 721 of file Instruction.h.

◆ group_

InstructionGroup& etiss::instr::InstructionDefinition::group_

Definition at line 710 of file Instruction.h.

Referenced by builtinGroups_(), and toString().

◆ mask

const std::string T T etiss::instr::InstructionDefinition::mask

Definition at line 721 of file Instruction.h.

◆ name

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

Definition at line 721 of file Instruction.h.

Referenced by builtinGroups_(), and get_metrics.MemRange::stats().

◆ name_

const std::string etiss::instr::InstructionDefinition::name_

Definition at line 711 of file Instruction.h.

Referenced by toString().

◆ opc_

const OPCode etiss::instr::InstructionDefinition::opc_

Definition at line 712 of file Instruction.h.

Referenced by addTo().


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