OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
opcode.cxx File Reference
#include "opcode.h"
Include dependency graph for opcode.cxx:

Go to the source code of this file.

Macros

#define opcode_C   "opcode.c"
 

Functions

const char * OPERATOR_name (OPERATOR opr)
 
OPERATOR Name_To_OPERATOR (const char *nm)
 
void Init_Operator_To_Opcode_Table (void)
 
OPCODE OPCODE_commutative_op (OPCODE opc)
 

Variables

BOOL Operator_To_Opcode_Table_Inited = FALSE
 

Macro Definition Documentation

#define opcode_C   "opcode.c"

Implementation of external functions from opcode.h.

Definition at line 42 of file opcode.cxx.

Function Documentation

void Init_Operator_To_Opcode_Table ( void  )

Definition at line 73 of file opcode.cxx.

References Operator_To_Opcode_Table_Inited, and TRUE.

Referenced by main(), real_main(), and xaif2whirl::real_main().

OPERATOR Name_To_OPERATOR ( const char *  nm)

Definition at line 59 of file opcode.cxx.

References ir_a2b::MapStrToEnum(), OPERATOR_info, and OPERATOR_LAST.

Referenced by sexp2whirl::GetWhirlOpr().

Here is the call graph for this function:

OPCODE OPCODE_commutative_op ( OPCODE  opc)

Variable Documentation

BOOL Operator_To_Opcode_Table_Inited = FALSE

To make this lookup routine routine simple but efficient, we use a closed hashing scheme.

Definition at line 72 of file opcode.cxx.

Referenced by Init_Operator_To_Opcode_Table().