Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
ti_res_count.h File Reference
#include "topcode.h"
Include dependency graph for ti_res_count.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct ti_res_count TI_RES_COUNT

Functions

TI_RES_COUNTTI_RES_COUNT_Alloc (MEM_POOL *pool)
void TI_RES_COUNT_Add_Op_Resources (TI_RES_COUNT *counts, TOP opcode)
void TI_RES_COUNT_Add_Op_Resources_Scaled (TI_RES_COUNT *counts, TOP opcode, double factor)
void TI_RES_COUNT_Subtract_Op_Resources (TI_RES_COUNT *counts, TOP opcode)
void TI_RES_COUNT_Subtract_Op_Resources_Scaled (TI_RES_COUNT *counts, TOP opcode, double factor)
void TI_RES_COUNT_Add (TI_RES_COUNT *sum, TI_RES_COUNT *addend1, TI_RES_COUNT *addend2)
void TI_RES_COUNT_Subtract (TI_RES_COUNT *difference, TI_RES_COUNT *minuend, TI_RES_COUNT *subtrahend)
double TI_RES_COUNT_Min_Cycles (TI_RES_COUNT *counts)
INT32 TI_RES_COUNT_Min_II (TI_RES_COUNT *counts)
void TI_RES_COUNT_Print (FILE *fp, TI_RES_COUNT *res)
void TI_RES_COUNT_Emit_Note (const char *prefix, FILE *fp, TI_RES_COUNT *res, INT ii)

Typedef Documentation

typedef struct ti_res_count TI_RES_COUNT

Definition at line 170 of file ti_res_count.h.


Function Documentation

void TI_RES_COUNT_Add ( TI_RES_COUNT sum,
TI_RES_COUNT addend1,
TI_RES_COUNT addend2 
)

Definition at line 72 of file ti_res_count.c.

References ti_res_count::bad_ii, bzero(), MEM_POOL_Zeroed, SI_resource_count, TYPE_MEM_POOL_ALLOC, TYPE_MEM_POOL_ALLOC_N, and ti_res_count::vec.

Here is the call graph for this function:

void TI_RES_COUNT_Emit_Note ( const char *  prefix,
FILE *  fp,
TI_RES_COUNT res,
INT  ii 
)

Definition at line 392 of file ti_res_count.c.

References fprintf(), SI_resource_count, SI_RESOURCE_ID_Avail_Per_Cycle(), SI_RESOURCE_ID_Name(), TI_RES_COUNT_vec, and usage().

Here is the call graph for this function:

double TI_RES_COUNT_Min_Cycles ( TI_RES_COUNT counts)

Definition at line 95 of file ti_res_count.c.

References SI_resource_count, SI_RESOURCE_ID_Avail_Per_Cycle(), and TI_RES_COUNT_vec.

Referenced by TI_RES_COUNT_Min_II().

Here is the call graph for this function:

Definition at line 121 of file ti_res_count.c.

References Is_True, SI_BAD_II_SET_MAX, TI_RES_COUNT_bad_ii, and TI_RES_COUNT_Min_Cycles().

Here is the call graph for this function:

void TI_RES_COUNT_Print ( FILE *  fp,
TI_RES_COUNT res 
)

Definition at line 360 of file ti_res_count.c.

References FALSE, fprintf(), SI_resource_count, SI_RESOURCE_ID_Avail_Per_Cycle(), SI_RESOURCE_ID_Name(), TI_RES_COUNT_vec, and TRUE.

Here is the call graph for this function:

void TI_RES_COUNT_Subtract ( TI_RES_COUNT difference,
TI_RES_COUNT minuend,
TI_RES_COUNT subtrahend 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines