OpenASIP  2.0
Public Attributes | List of all members
CodeSectionCreator::InternalElement Struct Reference
Collaboration diagram for CodeSectionCreator::InternalElement:
Collaboration graph

Public Attributes

ElementType type
 Type of move. More...
 
UValue slot
 Bus slot number. More...
 
bool isBegin
 Is first move of an instruction. More...
 
bool isGuarded
 Is guarded move. More...
 
bool isInverted
 Is guard inverted. More...
 
TPEF::MoveElement::FieldType guardType
 Guard type. More...
 
UValue guardUnit
 TPEF Resource section unit id of guard register or port. More...
 
UValue guardIndex
 TPEF Resource section operand id or register number. More...
 
TPEF::MoveElement::FieldType srcType
 Source type. More...
 
UValue srcUnit
 TPEF Resource section unit id of register or port. More...
 
UValue srcIndex
 TPEF Resource section operand id or register number. More...
 
TPEF::MoveElement::FieldType dstType
 Destination type. More...
 
UValue dstUnit
 TPEF Resource section unit id of register or port. More...
 
UValue dstIndex
 TPEF Resource section operand id or register number. More...
 
LiteralOrExpression immValue
 If source is immediate, the value. More...
 
UValue asmLineNumber
 Line number where in source code this move is located. More...
 
std::vector< Annotationannotationes
 Annotations for the element. More...
 

Detailed Description

Internal representation of one move.

Element can define normal move, empty move or long immediate assignment. This format is written as TPEF in finalize pahse.

Definition at line 92 of file CodeSectionCreator.hh.

Member Data Documentation

◆ annotationes

std::vector<Annotation> CodeSectionCreator::InternalElement::annotationes

Annotations for the element.

Definition at line 133 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addAnnotationes(), and CodeSectionCreator::addMove().

◆ asmLineNumber

UValue CodeSectionCreator::InternalElement::asmLineNumber

Line number where in source code this move is located.

Definition at line 130 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addAnnotationes(), CodeSectionCreator::addMove(), and CodeSectionCreator::finalize().

◆ dstIndex

UValue CodeSectionCreator::InternalElement::dstIndex

TPEF Resource section operand id or register number.

Definition at line 124 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), CodeSectionCreator::finalize(), and CodeSectionCreator::isDestinationAlreadyWritten().

◆ dstType

TPEF::MoveElement::FieldType CodeSectionCreator::InternalElement::dstType

◆ dstUnit

UValue CodeSectionCreator::InternalElement::dstUnit

TPEF Resource section unit id of register or port.

Definition at line 122 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), CodeSectionCreator::finalize(), and CodeSectionCreator::isDestinationAlreadyWritten().

◆ guardIndex

UValue CodeSectionCreator::InternalElement::guardIndex

TPEF Resource section operand id or register number.

Definition at line 110 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), CodeSectionCreator::finalize(), and CodeSectionCreator::isDestinationAlreadyWritten().

◆ guardType

TPEF::MoveElement::FieldType CodeSectionCreator::InternalElement::guardType

◆ guardUnit

UValue CodeSectionCreator::InternalElement::guardUnit

TPEF Resource section unit id of guard register or port.

Definition at line 108 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), CodeSectionCreator::finalize(), and CodeSectionCreator::isDestinationAlreadyWritten().

◆ immValue

LiteralOrExpression CodeSectionCreator::InternalElement::immValue

If source is immediate, the value.

Definition at line 127 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), and CodeSectionCreator::finalize().

◆ isBegin

bool CodeSectionCreator::InternalElement::isBegin

Is first move of an instruction.

Definition at line 99 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), CodeSectionCreator::finalize(), and CodeSectionCreator::isDestinationAlreadyWritten().

◆ isGuarded

bool CodeSectionCreator::InternalElement::isGuarded

◆ isInverted

bool CodeSectionCreator::InternalElement::isInverted

◆ slot

UValue CodeSectionCreator::InternalElement::slot

Bus slot number.

Definition at line 96 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), and CodeSectionCreator::finalize().

◆ srcIndex

UValue CodeSectionCreator::InternalElement::srcIndex

TPEF Resource section operand id or register number.

Definition at line 117 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), and CodeSectionCreator::finalize().

◆ srcType

TPEF::MoveElement::FieldType CodeSectionCreator::InternalElement::srcType

Source type.

Definition at line 113 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), and CodeSectionCreator::finalize().

◆ srcUnit

UValue CodeSectionCreator::InternalElement::srcUnit

TPEF Resource section unit id of register or port.

Definition at line 115 of file CodeSectionCreator.hh.

Referenced by CodeSectionCreator::addMove(), and CodeSectionCreator::finalize().

◆ type

ElementType CodeSectionCreator::InternalElement::type

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