Go to the documentation of this file.
34 #ifndef TTA_RESOURCE_ELEMENT_HH
35 #define TTA_RESOURCE_ELEMENT_HH
82 void setId(HalfWord aId);
@ MRT_OP
Operation operand or function unit register.
@ UNIVERSAL_RF_MASK
Bit to check if registerfile is real or universal.
@ BOOL_RF
Universal boolean register file.
ResourceType type() const
@ MRT_SR
Special register.
ReservedResourceIDs
Resource Id numbers that are reserved for some particular use.
void setType(ResourceType aType)
const ReferenceManager::SafePointer * name_
Name.
@ ILLEGAL_RF
Illegal register file.
@ INLINE_IMM
Inline immediate unit id.
@ MRT_NULL
Illegal undefined machine resource.
@ MRT_PORT
Function unit port.
HalfWord id_
Unique id number that is used to refer resource.
ResourceType
Resource types.
virtual ~ResourceElement()
@ UNIVERSAL_BUS
Universal bus.
@ FP_RF
Universal floating point register file.
@ INT_RF
Universal integer register file.
static const std::string RETURN_ADDRESS_NAME
Reserved string of return address special register.
void setName(ReferenceManager::SafePointer *aName)
Word info_
Additional info.
@ UNIVERSAL_FU
Universal function unit.