Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "topcode.h"
Go to the source code of this file.
Classes | |
struct | ti_bundle |
Defines | |
#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 struct ti_bundle | TI_BUNDLE |
Functions | |
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 FOR_ALL_SLOT_MEMBERS | ( | bundle, | |
i | |||
) | for (i = 0; i < TI_BUNDLE_slot_count(bundle); ++i) |
Definition at line 206 of file ti_bundle.h.
#define Set_TI_BUNDLE_exec_property | ( | t, | |
i, | |||
value | |||
) |
((t)->bundle_info->slot[i] = \ (value))
Definition at line 194 of file ti_bundle.h.
Referenced by TI_BUNDLE_Reserve_Slot().
#define Set_TI_BUNDLE_pack_code | ( | t, | |
value | |||
) |
((t)->bundle_info->pack_code = \ (value))
Definition at line 201 of file ti_bundle.h.
Referenced by TI_BUNDLE_Clear(), TI_BUNDLE_Slot_Available(), and TI_BUNDLE_Stop_Bit_Available().
#define Set_TI_BUNDLE_slot_count | ( | t, | |
i | |||
) | ((t)->bundle_info->slot_count = i) |
Definition at line 198 of file ti_bundle.h.
Referenced by TI_BUNDLE_Clear().
#define Set_TI_BUNDLE_slot_mask | ( | t, | |
i | |||
) | ((t)->bundle_info->slot_mask = i) |
Definition at line 196 of file ti_bundle.h.
Referenced by TI_BUNDLE_Clear().
#define Set_TI_BUNDLE_stop_bit | ( | t, | |
i, | |||
value | |||
) |
((t)->bundle_info->stop[i] = \ (value))
Definition at line 199 of file ti_bundle.h.
Referenced by TI_BUNDLE_Reserve_Stop_Bit(), and TI_BUNDLE_Unreserve_Stop_Bit().
#define Set_TI_BUNDLE_stop_mask | ( | t, | |
i | |||
) | ((t)->bundle_info->stop_mask = i) |
Definition at line 197 of file ti_bundle.h.
Referenced by TI_BUNDLE_Clear().
#define TI_BUNDLE_bundle_info | ( | t | ) | ((t)->bundle_info) |
Definition at line 185 of file ti_bundle.h.
#define TI_BUNDLE_exec_property | ( | t, | |
i | |||
) | ((t)->bundle_info->slot[i]) |
Definition at line 187 of file ti_bundle.h.
Referenced by 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 192 of file ti_bundle.h.
Referenced by TI_BUNDLE_Return_Template().
#define TI_BUNDLE_slot_count | ( | t | ) | ((t)->bundle_info->slot_count) |
Definition at line 186 of file ti_bundle.h.
Referenced by TI_BUNDLE_Has_Property(), TI_BUNDLE_Is_Empty(), TI_BUNDLE_Is_Full(), and TI_BUNDLE_Stop_Bit_Present().
#define TI_BUNDLE_slot_filled | ( | t, | |
i | |||
) | ((t)->slot_filled[i]) |
Definition at line 189 of file ti_bundle.h.
Referenced by 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 190 of file ti_bundle.h.
Referenced by TI_BUNDLE_Reserve_Slot().
#define TI_BUNDLE_stop_bit | ( | t, | |
i | |||
) | ((t)->bundle_info->stop[i]) |
Definition at line 188 of file ti_bundle.h.
Referenced by 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 191 of file ti_bundle.h.
void TI_BUNDLE_Clear | ( | TI_BUNDLE * | bundle | ) |
Definition at line 164 of file ti_bundle.c.
References 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, and TI_BUNDLE_stop_bit.
BOOL TI_BUNDLE_Has_Property | ( | TI_BUNDLE * | bundle, |
ISA_EXEC_UNIT_PROPERTY | property, | ||
INT * | error | ||
) |
Definition at line 55 of file ti_bundle.c.
References FALSE, NULL, TI_BUNDLE_exec_property, TI_BUNDLE_slot_count, TI_errmsg, TI_RC_ERROR, TI_RC_OKAY, and TRUE.
BOOL TI_BUNDLE_Is_Empty | ( | TI_BUNDLE * | bundle, |
INT * | error | ||
) |
Definition at line 118 of file ti_bundle.c.
References FALSE, NULL, TI_BUNDLE_slot_count, TI_BUNDLE_slot_filled, TI_errmsg, TI_RC_ERROR, TI_RC_OKAY, and TRUE.
BOOL TI_BUNDLE_Is_Full | ( | TI_BUNDLE * | bundle, |
INT * | error | ||
) |
Definition at line 87 of file ti_bundle.c.
References FALSE, NULL, TI_BUNDLE_slot_count, TI_BUNDLE_slot_filled, TI_errmsg, TI_RC_ERROR, TI_RC_OKAY, and TRUE.
void TI_BUNDLE_Reserve_Slot | ( | TI_BUNDLE * | bundle, |
INT | slot, | ||
ISA_EXEC_UNIT_PROPERTY | property | ||
) |
Definition at line 292 of file ti_bundle.c.
References Set_TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_slot_mask, and TRUE.
void TI_BUNDLE_Reserve_Stop_Bit | ( | TI_BUNDLE * | bundle, |
INT | slot | ||
) |
Definition at line 313 of file ti_bundle.c.
References FALSE, fprintf(), Set_TI_BUNDLE_stop_bit, and TRUE.
INT TI_BUNDLE_Return_Template | ( | TI_BUNDLE * | bundle | ) |
Definition at line 149 of file ti_bundle.c.
References TI_BUNDLE_pack_code.
BOOL TI_BUNDLE_Slot_Available | ( | TI_BUNDLE * | bundle, |
ISA_EXEC_UNIT_PROPERTY | property, | ||
INT | slot | ||
) |
Definition at line 190 of file ti_bundle.c.
References FALSE, Set_TI_BUNDLE_pack_code, SLOTS_COMPATIBLE, TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_stop_bit, and TRUE.
BOOL TI_BUNDLE_Stop_Bit_Available | ( | TI_BUNDLE * | bundle, |
INT | slot | ||
) |
Definition at line 245 of file ti_bundle.c.
References FALSE, Set_TI_BUNDLE_pack_code, SLOTS_COMPATIBLE, TI_BUNDLE_exec_property, TI_BUNDLE_slot_filled, TI_BUNDLE_stop_bit, and TRUE.
BOOL TI_BUNDLE_Stop_Bit_Present | ( | TI_BUNDLE * | bundle | ) | [inline] |
Definition at line 210 of file ti_bundle.h.
References FALSE, TI_BUNDLE_slot_count, TI_BUNDLE_stop_bit, and TRUE.
void TI_BUNDLE_Unreserve_Stop_Bit | ( | TI_BUNDLE * | bundle, |
INT | slot | ||
) |
Definition at line 334 of file ti_bundle.c.
References FALSE, fprintf(), and Set_TI_BUNDLE_stop_bit.