#include "topcode.h"


Go to the source code of this file.
Data Types | |
| type | ti_bundle |
Defines | |
| #define | TRUE ((BOOL) 1) |
| #define | FALSE ((BOOL) 0) |
| #define | TI_BUNDLE_bundle_info(t) ((t)->bundle_info) |
| #define | TI_BUNDLE_slot_count(t) ((t)->bundle_info->slot_count) |
| #define | TI_BUNDLE_exec_property(t, i) ((t)->bundle_info->slot[i]) |
| #define | TI_BUNDLE_stop_bit(t, i) ((t)->bundle_info->stop[i]) |
| #define | TI_BUNDLE_slot_filled(t, i) ((t)->slot_filled[i]) |
| #define | TI_BUNDLE_slot_mask(t) ((t)->bundle_info->slot_mask) |
| #define | TI_BUNDLE_stop_mask(t) ((t)->bundle_info->stop_mask) |
| #define | TI_BUNDLE_pack_code(t) ((t)->bundle_info->pack_code) |
| #define | Set_TI_BUNDLE_exec_property(t, i, value) |
| #define | Set_TI_BUNDLE_slot_mask(t, i) ((t)->bundle_info->slot_mask = i) |
| #define | Set_TI_BUNDLE_stop_mask(t, i) ((t)->bundle_info->stop_mask = i) |
| #define | Set_TI_BUNDLE_slot_count(t, i) ((t)->bundle_info->slot_count = i) |
| #define | Set_TI_BUNDLE_stop_bit(t, i, value) |
| #define | Set_TI_BUNDLE_pack_code(t, value) |
| #define | FOR_ALL_SLOT_MEMBERS(bundle, i) for (i = 0; i < TI_BUNDLE_slot_count(bundle); ++i) |
Typedefs | |
| typedef signed int | INT |
| typedef signed int | INT32 |
| typedef signed long long | INT64 |
| typedef signed char | mINT8 |
| typedef signed short | mINT16 |
| typedef signed int | mINT32 |
| typedef signed long long | mINT64 |
| typedef unsigned int | UINT |
| typedef unsigned int | UINT32 |
| typedef unsigned long long | UINT64 |
| typedef unsigned char | mUINT8 |
| typedef unsigned short | mUINT16 |
| typedef unsigned int | mUINT32 |
| typedef unsigned long long | mUINT64 |
| typedef int | BOOL |
| typedef unsigned char | mBOOL |
| typedef struct ti_bundle | TI_BUNDLE |
Functions/Subroutines | |
| BOOL | TI_BUNDLE_Stop_Bit_Present (TI_BUNDLE *bundle) |
| BOOL | TI_BUNDLE_Has_Property (TI_BUNDLE *bundle, ISA_EXEC_UNIT_PROPERTY property, INT *error) |
| BOOL | TI_BUNDLE_Is_Full (TI_BUNDLE *bundle, INT *error) |
| BOOL | TI_BUNDLE_Is_Empty (TI_BUNDLE *bundle, INT *error) |
| INT | TI_BUNDLE_Return_Template (TI_BUNDLE *bundle) |
| void | TI_BUNDLE_Clear (TI_BUNDLE *bundle) |
| BOOL | TI_BUNDLE_Slot_Available (TI_BUNDLE *bundle, ISA_EXEC_UNIT_PROPERTY property, INT slot) |
| BOOL | TI_BUNDLE_Stop_Bit_Available (TI_BUNDLE *bundle, INT slot) |
| void | TI_BUNDLE_Reserve_Slot (TI_BUNDLE *bundle, INT slot, ISA_EXEC_UNIT_PROPERTY property) |
| void | TI_BUNDLE_Reserve_Stop_Bit (TI_BUNDLE *bundle, INT slot) |
| void | TI_BUNDLE_Unreserve_Stop_Bit (TI_BUNDLE *bundle, INT slot) |
| #define FALSE ((BOOL) 0) |
Definition at line 176 of file ti_bundle.h.
Definition at line 212 of file ti_bundle.h.
Referenced by CGTARG_Handle_Bundle_Hazard(), and Check_For_Bundle_Hazards().
| #define Set_TI_BUNDLE_pack_code | ( | t, | |||
| value | ) |
Value:
((t)->bundle_info->pack_code = \
(value))
Definition at line 207 of file ti_bundle.h.
Referenced by TI_BUNDLE_Clear(), TI_BUNDLE_Slot_Available(), and TI_BUNDLE_Stop_Bit_Available().
Value:
Definition at line 205 of file ti_bundle.h.
Referenced by TI_BUNDLE_Reserve_Stop_Bit(), and TI_BUNDLE_Unreserve_Stop_Bit().
| #define TI_BUNDLE_bundle_info | ( | t | ) | ((t)->bundle_info) |
Definition at line 193 of file ti_bundle.h.
Referenced by SWP_Pack_A_Bundle(), TI_BUNDLE_Clear(), TI_BUNDLE_Has_Property(), TI_BUNDLE_Slot_Available(), and TI_BUNDLE_Stop_Bit_Available().
| #define TI_BUNDLE_pack_code | ( | t | ) | ((t)->bundle_info->pack_code) |
Definition at line 198 of file ti_bundle.h.
Referenced by SWP_Append_Noop(), and TI_BUNDLE_Return_Template().
| #define TI_BUNDLE_slot_count | ( | t | ) | ((t)->bundle_info->slot_count) |
Definition at line 192 of file ti_bundle.h.
Referenced by SWP_Append_Noop(), SWP_Bundle(), SWP_Bundle_Next_Cycle(), SWP_Fillup_Bundle(), SWP_Insert_Stop_Bit(), SWP_Num_Remaining_Slots(), SWP_Pack_A_Bundle(), SWP_Pack_Into_New_Bundles(), SWP_Set_Stop_At(), TI_BUNDLE_Has_Property(), TI_BUNDLE_Is_Empty(), TI_BUNDLE_Is_Full(), and TI_BUNDLE_Stop_Bit_Present().
Definition at line 195 of file ti_bundle.h.
Referenced by CGTARG_Bundle_Slot_Available(), CGTARG_Handle_Bundle_Hazard(), SWP_Bundle(), SWP_Fillup_Bundle(), SWP_Insert_Stop_Bit(), SWP_Num_Remaining_Slots(), TI_BUNDLE_Clear(), TI_BUNDLE_Is_Empty(), TI_BUNDLE_Is_Full(), TI_BUNDLE_Reserve_Slot(), TI_BUNDLE_Slot_Available(), and TI_BUNDLE_Stop_Bit_Available().
| #define TI_BUNDLE_slot_mask | ( | t | ) | ((t)->bundle_info->slot_mask) |
Definition at line 194 of file ti_bundle.h.
Referenced by CGTARG_Bundle_Stop_Bit_Available(), Delay_Scheduling_OP(), SWP_Append_Noop(), SWP_Fillup_Bundle(), SWP_Insert_Stop_Bit(), TI_BUNDLE_Clear(), TI_BUNDLE_Slot_Available(), TI_BUNDLE_Stop_Bit_Available(), and TI_BUNDLE_Stop_Bit_Present().
| #define TI_BUNDLE_stop_mask | ( | t | ) | ((t)->bundle_info->stop_mask) |
Definition at line 197 of file ti_bundle.h.
| #define TRUE ((BOOL) 1) |
Definition at line 173 of file ti_bundle.h.
| typedef int BOOL |
Definition at line 170 of file ti_bundle.h.
| typedef signed int INT |
Definition at line 156 of file ti_bundle.h.
| typedef signed int INT32 |
Definition at line 157 of file ti_bundle.h.
Definition at line 158 of file ti_bundle.h.
| typedef unsigned char mBOOL |
Definition at line 171 of file ti_bundle.h.
| typedef signed short mINT16 |
Definition at line 160 of file ti_bundle.h.
| typedef signed int mINT32 |
Definition at line 161 of file ti_bundle.h.
Definition at line 162 of file ti_bundle.h.
| typedef signed char mINT8 |
Definition at line 159 of file ti_bundle.h.
| typedef unsigned short mUINT16 |
Definition at line 167 of file ti_bundle.h.
| typedef unsigned int mUINT32 |
Definition at line 168 of file ti_bundle.h.
Definition at line 169 of file ti_bundle.h.
| typedef unsigned char mUINT8 |
Definition at line 166 of file ti_bundle.h.
| typedef unsigned int UINT |
Definition at line 163 of file ti_bundle.h.
| typedef unsigned int UINT32 |
Definition at line 164 of file ti_bundle.h.
Definition at line 165 of file ti_bundle.h.
Definition at line 164 of file ti_bundle.c.
References i, INT, Set_TI_BUNDLE_pack_code, Set_TI_BUNDLE_slot_count, Set_TI_BUNDLE_slot_mask, Set_TI_BUNDLE_stop_mask, TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_stop_bit, and x0.
Referenced by Check_For_Bundle_Hazards(), Handle_All_Hazards(), CG_GROUPING::start_new_bundle(), SWP_Bundle(), and TI_BUNDLE_Create().
Definition at line 55 of file ti_bundle.c.
References FALSE, i, INT, NULL, sprintf(), TI_BUNDLE_exec_property, TI_BUNDLE_slot_count, TI_errmsg, TI_RC_ERROR, TI_RC_OKAY, and TRUE.
Definition at line 118 of file ti_bundle.c.
References FALSE, i, INT, NULL, sprintf(), TI_BUNDLE_slot_count, TI_BUNDLE_slot_filled, TI_errmsg, TI_RC_ERROR, TI_RC_OKAY, and TRUE.
Referenced by CGTARG_Handle_Bundle_Hazard().
Definition at line 87 of file ti_bundle.c.
References FALSE, i, INT, NULL, sprintf(), TI_BUNDLE_slot_count, TI_BUNDLE_slot_filled, TI_errmsg, TI_RC_ERROR, TI_RC_OKAY, and TRUE.
Referenced by CGTARG_Handle_Bundle_Hazard(), and Check_For_Bundle_Hazards().
Definition at line 294 of file ti_bundle.c.
References Set_TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_slot_mask, and TRUE.
Referenced by CGTARG_Handle_Bundle_Hazard(), Check_For_Bundle_Hazards(), SWP_Append_Noop(), and SWP_Reserve_Bundle_Slot().
Definition at line 315 of file ti_bundle.c.
References assert, FALSE, fprintf(), Set_TI_BUNDLE_stop_bit, and TRUE.
Referenced by CGTARG_Bundle_Slot_Available(), Check_For_Bundle_Hazards(), and SWP_Set_Stop_At().
Definition at line 149 of file ti_bundle.c.
References TI_BUNDLE_pack_code.
Referenced by CGTARG_Handle_Bundle_Hazard().
Definition at line 190 of file ti_bundle.c.
References BOOL, FALSE, i, INT, Set_TI_BUNDLE_pack_code, SLOTS_COMPATIBLE, TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_stop_bit, and TRUE.
Referenced by CGTARG_Bundle_Slot_Available(), and SWP_Noop_Property().
Definition at line 245 of file ti_bundle.c.
References BOOL, FALSE, i, INT, Set_TI_BUNDLE_pack_code, SLOTS_COMPATIBLE, TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_stop_bit, and TRUE.
Referenced by CGTARG_Bundle_Stop_Bit_Available().
Definition at line 216 of file ti_bundle.h.
References FALSE, i, TI_BUNDLE_slot_count, TI_BUNDLE_stop_bit, and TRUE.
Referenced by SWP_Insert_Stop_Bit().
Definition at line 336 of file ti_bundle.c.
References assert, FALSE, fprintf(), and Set_TI_BUNDLE_stop_bit.
Referenced by CGTARG_Bundle_Slot_Available(), and SWP_Fillup_Bundle().
1.5.6