#include "topcode.h"

Go to the source code of this file.
Typedefs | |
| typedef struct ti_res_res | TI_RES_RES |
Functions | |
| TI_RES_RES * | TI_RES_RES_Alloc (BOOL cyclic, MEM_POOL *pool) |
| void | TI_RES_RES_Has_TOP (TI_RES_RES *res, TOP opcode) |
| void | TI_RES_RES_Set_BB_Cycle_Count (TI_RES_RES *res, INT cycles) |
| BOOL | TI_RES_RES_Resources_Available (TI_RES_RES *res, TOP opcode, INT cycle) |
| void | TI_RES_RES_Reserve_Resources (TI_RES_RES *res, TOP opcode, INT cycle) |
| void | TI_RES_RES_Unreserve_Resources (TI_RES_RES *res, TOP opcode, INT cycle) |
| BOOL | TI_RES_RES_Is_Bad_II (TI_RES_RES *res, INT ii) |
| BOOL | TI_RES_RES_Resources_Relevant (TI_RES_RES *res, TOP opcode1, TOP opcode2, INT offset) |
| BOOL | TI_RES_RES_Resources_Equivalent (TI_RES_RES *res, TOP opcode1, TOP opcode2) |
| BOOL | TI_RES_RES_Resources_Grainy (TI_RES_RES *res, TOP opcode) |
| BOOL | TI_RES_RES_Resources_Length (TI_RES_RES *res, TOP opcode) |
| void | TI_RES_RES_Print (FILE *fp, TI_RES_RES *res) |
| BOOL | TI_RES_RES_Equal (TI_RES_RES *res1, TI_RES_RES *res2) |
| typedef struct ti_res_res TI_RES_RES |
Definition at line 202 of file ti_res_res.h.
| TI_RES_RES* TI_RES_RES_Alloc | ( | BOOL | cyclic, | |
| MEM_POOL * | pool | |||
| ) |
Definition at line 284 of file ti_res_res.c.
References BS_Create_Empty(), SI_BAD_II_SET_Empty(), SI_ID_Count(), TI_RES_RES_alloc_size, TI_RES_RES_bad_iis, TI_RES_RES_cyclic, TI_RES_RES_length, TI_RES_RES_min_rr_length, TI_RES_RES_pool, TI_RES_RES_si_ids, and TYPE_MEM_POOL_ALLOC.

| BOOL TI_RES_RES_Equal | ( | TI_RES_RES * | res1, | |
| TI_RES_RES * | res2 | |||
| ) |
Definition at line 595 of file ti_res_res.c.
References FALSE, TI_RES_RES_length, and TI_RES_RES_rrtab.
| void TI_RES_RES_Has_TOP | ( | TI_RES_RES * | res, | |
| TOP | opcode | |||
| ) |
Definition at line 128 of file ti_res_res.c.
References BS_MemberP(), BS_Union1D(), SI_BAD_II_SET_Union(), SI_RR_Length(), TI_RES_RES_bad_iis, TI_RES_RES_min_rr_length, TI_RES_RES_pool, TI_RES_RES_si_ids, TSI_Bad_IIs(), TSI_Id(), and TSI_Resource_Requirement().

| BOOL TI_RES_RES_Is_Bad_II | ( | TI_RES_RES * | res, | |
| INT | ii | |||
| ) |
Definition at line 423 of file ti_res_res.c.
References SI_BAD_II_SET_MemberP(), and TI_RES_RES_bad_iis.

| void TI_RES_RES_Print | ( | FILE * | fp, | |
| TI_RES_RES * | res | |||
| ) |
Definition at line 587 of file ti_res_res.c.
References fprintf(), TI_RES_RES_length, and TI_RES_RES_rrtab.

| void TI_RES_RES_Reserve_Resources | ( | TI_RES_RES * | res, | |
| TOP | opcode, | |||
| INT | cycle | |||
| ) |
Definition at line 353 of file ti_res_res.c.
References Check_Reserve_Loop_Control(), SI_RR_Cycle_RRW(), SI_RRW_Reserve(), and TI_RES_RES_rrtab.

| BOOL TI_RES_RES_Resources_Available | ( | TI_RES_RES * | res, | |
| TOP | opcode, | |||
| INT | cycle | |||
| ) |
Definition at line 314 of file ti_res_res.c.
References Check_Reserve_Loop_Control(), SI_RR_Cycle_RRW(), SI_RRW_Has_Overuse(), SI_RRW_Reserve(), and TI_RES_RES_rrtab.

| BOOL TI_RES_RES_Resources_Equivalent | ( | TI_RES_RES * | res, | |
| TOP | opcode1, | |||
| TOP | opcode2 | |||
| ) |
Definition at line 518 of file ti_res_res.c.
References FALSE, SI_RR_Cycle_RRW(), SI_RR_Length(), TI_RES_RES_length, and TSI_II_Resource_Requirement().

| BOOL TI_RES_RES_Resources_Grainy | ( | TI_RES_RES * | res, | |
| TOP | opcode | |||
| ) |
Definition at line 550 of file ti_res_res.c.
References SI_RESOURCE_ID_SET_Intersection_Non_Empty(), SI_RR_Length(), TI_RES_RES_length, TI_RES_RES_min_rr_length, TI_RES_RES_uncommon_res_ids, TSI_II_Cycle_Resource_Ids_Used(), and TSI_II_Resource_Requirement().

| BOOL TI_RES_RES_Resources_Length | ( | TI_RES_RES * | res, | |
| TOP | opcode | |||
| ) |
Definition at line 578 of file ti_res_res.c.
References SI_RR_Length(), and TSI_Resource_Requirement().

| BOOL TI_RES_RES_Resources_Relevant | ( | TI_RES_RES * | res, | |
| TOP | opcode1, | |||
| TOP | opcode2, | |||
| INT | offset | |||
| ) |
Definition at line 440 of file ti_res_res.c.
References Cycle_Mod_II(), FmtAssert, SI_RESOURCE_ID_SET_Intersection4_Non_Empty(), SI_RR_Length(), TI_RES_RES_cyclic, TI_RES_RES_length, TI_RES_RES_uncommon_res_ids, TSI_II_Cycle_Resource_Ids_Used(), and TSI_II_Resource_Requirement().

| void TI_RES_RES_Set_BB_Cycle_Count | ( | TI_RES_RES * | res, | |
| INT | cycles | |||
| ) |
Definition at line 199 of file ti_res_res.c.
References BS_Choose(), BS_Choose_Next(), MIN, SI_ID_II_Cycle_Resource_Ids_Used(), SI_RESOURCE_ID_SET_Complement(), SI_RESOURCE_ID_SET_Intersection(), SI_RESOURCE_ID_SET_Universe(), SI_RRW_Initial(), TI_RES_RES_alloc_size, TI_RES_RES_cyclic, TI_RES_RES_length, TI_RES_RES_min_rr_length, TI_RES_RES_pool, TI_RES_RES_rrtab, TI_RES_RES_si_ids, TI_RES_RES_uncommon_res_ids, and TYPE_MEM_POOL_ALLOC_N.

| void TI_RES_RES_Unreserve_Resources | ( | TI_RES_RES * | res, | |
| TOP | opcode, | |||
| INT | cycle | |||
| ) |
Definition at line 388 of file ti_res_res.c.
References Check_Reserve_Loop_Control(), SI_RR_Cycle_RRW(), SI_RRW_Unreserve(), and TI_RES_RES_rrtab.

1.7.1