osprey/common/ipfec_targ_info/gen/bypass_gen.cxx File Reference

#include "bypass_gen.h"
#include <map>
#include <list>

Include dependency graph for bypass_gen.cxx:

Go to the source code of this file.

Data Types

type  SUC_FU_BYPASS
type  bypass_care_fu

Typedefs

typedef struct bypass_care_fu BYPASS_CARE_FU

Functions/Subroutines

void Print_OddLatency (void *pknobs, FILE *c_file)
void Print_All_Bypass (void *pknobs, FILE *h_file, FILE *c_file)
char * Chop_fu (char *funame)
void Print_Bypass_Pre_Case (void *pknobs, FILE *c_file, int pre_i)
void Print_Bypass_Suc_Case (void *pknobs, FILE *c_file, int suc_i)
void print_bypass_struct (void *pknobs, FILE *c_file, SUC_FU_BYPASS *bypass, BOOL fu_adjust=false)
void Print_FU_Class (void *pknobs, FILE *h_file, FILE *c_file)
void Print_Bypass_Care_FU (void *pknobs, FILE *h_file, FILE *c_file)
void Bypass_Generator (void *pknobs, GEN_MODE mode, MACHINE_TYPE type)

Variables

static BOOL first_in_pre_case = true
static BOOL first_in_suc_case = true
static BOOL last_in_suc_case = false
static SUC_FU_BYPASS cur_state
static std::map< int, char * > oddfunc_pair
static std::list< BYPASS_CARE_FUcare_fu_bypasslist
static std::list
< BYPASS_CARE_FU >::iterator 
cf_iter


Typedef Documentation


Function Documentation

void Bypass_Generator ( void pknobs,
GEN_MODE  mode,
MACHINE_TYPE  type 
)

char* Chop_fu ( char *  funame  )  [inline]

Definition at line 83 of file bypass_gen.cxx.

References NULL, and strlen().

Referenced by Print_Bypass_Pre_Case(), Print_Bypass_Suc_Case(), Print_FU_Class(), and Print_OddLatency().

void Print_All_Bypass ( void pknobs,
FILE h_file,
FILE c_file 
)

void Print_Bypass_Care_FU ( void pknobs,
FILE h_file,
FILE c_file 
)

void Print_Bypass_Pre_Case ( void pknobs,
FILE c_file,
int  pre_i 
)

Definition at line 179 of file bypass_gen.cxx.

References Chop_fu(), first_in_pre_case, fprintf(), Is_True, KAPI_fu2fuName(), and NULL.

Referenced by Print_All_Bypass(), and Print_Bypass_Care_FU().

void print_bypass_struct ( void pknobs,
FILE c_file,
SUC_FU_BYPASS bypass,
BOOL  fu_adjust = false 
)

void Print_Bypass_Suc_Case ( void pknobs,
FILE c_file,
int  suc_i 
)

void Print_FU_Class ( void pknobs,
FILE h_file,
FILE c_file 
)

void Print_OddLatency ( void pknobs,
FILE c_file 
)


Variable Documentation

std::list< BYPASS_CARE_FU > care_fu_bypasslist [static]

Definition at line 69 of file bypass_gen.cxx.

Referenced by Print_All_Bypass(), and Print_Bypass_Care_FU().

std::list< BYPASS_CARE_FU >::iterator cf_iter [static]

Definition at line 70 of file bypass_gen.cxx.

Referenced by Print_Bypass_Care_FU().

Definition at line 67 of file bypass_gen.cxx.

BOOL first_in_pre_case = true [static]

Definition at line 63 of file bypass_gen.cxx.

Referenced by Bypass_Generator(), Print_Bypass_Care_FU(), and Print_Bypass_Pre_Case().

BOOL first_in_suc_case = true [static]

Definition at line 64 of file bypass_gen.cxx.

Referenced by Bypass_Generator(), Print_All_Bypass(), and Print_Bypass_Suc_Case().

BOOL last_in_suc_case = false [static]

std::map<int, char*> oddfunc_pair [static]

Definition at line 68 of file bypass_gen.cxx.

Referenced by Print_All_Bypass(), and Print_OddLatency().


Generated on Wed Apr 8 14:40:40 2009 for Open64 by  doxygen 1.5.6