Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
ti_bundle.c File Reference
#include <alloca.h>
#include <stdio.h>
#include <limits.h>
#include <assert.h>
#include "ti_si.h"
#include "ti_errors.h"
#include "targ_isa_bundle.h"
#include "ti_bundle.h"
Include dependency graph for ti_bundle.c:

Go to the source code of this file.

Defines

#define SLOTS_COMPATIBLE(_prop, _bundle_index, _slot_index)

Functions

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 Documentation

#define SLOTS_COMPATIBLE (   _prop,
  _bundle_index,
  _slot_index 
)
Value:
((_prop == 0) || \
  ((_prop & ISA_EXEC_Slot_Prop(_bundle_index, _slot_index)) == \
   ISA_EXEC_Slot_Prop(_bundle_index, _slot_index)))

Referenced by TI_BUNDLE_Slot_Available(), and TI_BUNDLE_Stop_Bit_Available().


Function Documentation

BOOL TI_BUNDLE_Has_Property ( TI_BUNDLE bundle,
ISA_EXEC_UNIT_PROPERTY  property,
INT error 
)
BOOL TI_BUNDLE_Is_Empty ( TI_BUNDLE bundle,
INT error 
)
BOOL TI_BUNDLE_Is_Full ( TI_BUNDLE bundle,
INT error 
)
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 
)

Definition at line 313 of file ti_bundle.c.

References FALSE, fprintf(), Set_TI_BUNDLE_stop_bit, and TRUE.

Here is the call graph for this function:

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 
)
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.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines