#include <hierarchical_channel_instance.h>
|
enum | Type {
CThreadType,
ChannelType,
ChannelInstanceType,
ClassType,
DefinitionType,
EventType,
FunctionType,
HierarchicalChannelType,
HierarchicalChannelInstanceType,
InOutPortType,
InPortType,
InstanceType,
InterfaceType,
MethodType,
ModuleType,
ModuleInstanceType,
ObjectType,
OutPortType,
PortType,
PrimitiveChannelType,
PrimitiveChannelInstanceType,
ThreadType,
VariableType,
SocketType,
InitiatorSocketType,
TargetSocketType
} |
| We are using these enums to identify type type of and instance or definition during traversal. More...
|
|
We are using these enums to identify type type of and instance or definition during traversal.
Enumerator |
---|
CThreadType |
|
ChannelType |
|
ChannelInstanceType |
|
ClassType |
|
DefinitionType |
|
EventType |
|
FunctionType |
|
HierarchicalChannelType |
|
HierarchicalChannelInstanceType |
|
InOutPortType |
|
InPortType |
|
InstanceType |
|
InterfaceType |
|
MethodType |
|
ModuleType |
|
ModuleInstanceType |
|
ObjectType |
|
OutPortType |
|
PortType |
|
PrimitiveChannelType |
|
PrimitiveChannelInstanceType |
|
ThreadType |
|
VariableType |
|
SocketType |
|
InitiatorSocketType |
|
TargetSocketType |
|
risc::HierarchicalChannelInstance::HierarchicalChannelInstance |
( |
SgVariableDefinition * |
ast_node, |
|
|
HierarchicalChannel * |
ir_def |
|
) |
| |
|
explicit |
default constructor
- Parameters
-
ast_node | associated definition node in the ast |
ir_def | internal definition pointer of the instance |
Disabled copy constructor.
risc::ModuleInstance::add_backward_socket_mapping |
( |
Socket * |
socket_from, |
|
|
Socket * |
socket_to |
|
) |
| |
|
inherited |
This is a helper functio to add a mapping.
risc::ModuleInstance::add_mapping |
( |
Port * |
port, |
|
|
Object * |
object |
|
) |
| |
|
inherited |
This is a helper functio to add a mapping.
risc::ModuleInstance::add_socket_mapping |
( |
Socket * |
socket_from, |
|
|
Socket * |
socket_to |
|
) |
| |
|
inherited |
This is a helper functio to add a mapping.
SgVariableDefinition * risc::Object::get_ast_node |
( |
| ) |
|
|
virtualinherited |
Returns the ast definition of the object.
- Returns
- Pointer to the definition
Reimplemented from risc::Definition.
SgType * risc::Definition::get_ast_type |
( |
| ) |
|
|
virtualinherited |
Returns the type of the ast node.
std::string risc::Instance::get_ast_type_name |
( |
| ) |
|
|
virtualinherited |
risc::HierarchicalChannelInstance::get_definition |
( |
| ) |
|
|
virtual |
returns this associated definition of the hierarchical channel instance
Reimplemented from risc::ModuleInstance.
std::string risc::Definition::get_file_name |
( |
| ) |
|
|
inherited |
Get the name of the file where the declaration is located.
- Returns
- filename
risc::ModuleInstance::get_instance_qualified_name |
( |
| ) |
|
|
inherited |
return the qualified name of the module instance for example: ::top::prod_inst
int risc::Definition::get_line_number |
( |
| ) |
|
|
inherited |
Get the line number of the instance.
- Returns
- line number
std::string risc::Object::get_name |
( |
| ) |
|
|
virtualinherited |
Get function for the name of the module instance variable.
- Returns
- Name as std::string
Reimplemented from risc::Definition.
int risc::Definition::get_position_in_line |
( |
| ) |
|
|
inherited |
Get the position of the in declaration in the corresponding line In other words the column in the line.
- Returns
- position in line
risc::Object::get_symbol |
( |
| ) |
|
|
inherited |
return the symbol of the object
bool risc::Definition::has_source_location |
( |
| ) |
|
|
inherited |
Determines if a ast node has an associated ast node.
bool risc::Object::is_array |
( |
| ) |
|
|
inherited |
checks if this object is an array
bool risc::Object::is_pointer |
( |
| ) |
|
|
inherited |
checks if this object is a pointer
bool risc::Object::is_reference |
( |
| ) |
|
|
inherited |
checks if this object is a reference
SgNode* risc::Definition::ast_node_ |
|
inherited |
SgType* risc::Definition::ast_type_pointer_ |
|
inherited |
std::map<Socket*, Socket*> risc::ModuleInstance::backward_socket_mapping_ |
|
inherited |
This pointer points to the corresponding definition in the internal representation.
std::map<Port*, Object*> risc::ModuleInstance::mapping_ |
|
inherited |
unsigned int risc::Object::number_of_array_elements_ |
|
inherited |
std::map<Socket*, Socket*> risc::ModuleInstance::socket_mapping_ |
|
inherited |
Type risc::Definition::type_ |
|
inherited |
The documentation for this class was generated from the following files: