OpenADFortTk (basic)
src/whirl2xaif/wn2xaif_expr.cxx File Reference
#include "Open64IRInterface/Open64BasicTypes.h"
#include "Open64IRInterface/IntrinsicInfo.h"
#include "wn2xaif.h"
#include "wn2xaif_expr.h"
#include "wn2xaif_mem.h"
#include "ty2xaif.h"
#include "st2xaif.h"
Include dependency graph for wn2xaif_expr.cxx:

Go to the source code of this file.

Classes

struct  Conv_Op

Defines

#define NUMBER_OF_CONV_OPS   sizeof(Conv_Op_Map)/sizeof(CONV_OP)

Typedefs

typedef struct Conv_Op CONV_OP

Functions

static void xlate_UnaryOpUsingIntrinsicTable (xml::ostream &xos, OPCODE opcode, TY_IDX result_ty, WN *wn, PUXlationContext &ctxt)
static void xlate_BinaryOpUsingIntrinsicTable (xml::ostream &xos, OPCODE opcode, TY_IDX result_ty, WN *wn0, WN *wn1, PUXlationContext &ctxt)
static void xlate_Operand (xml::ostream &xos, WN *opnd, TY_IDX assumed_ty, BOOL callByValue, PUXlationContext &ctxt)
static void WN2F_Expr_initialize (void)
static void WN2F_Convert (xml::ostream &xos, MTYPE from_mtype, MTYPE to_mtype)
static void InitConvOpMap ()
static void WN2F_Intr_Funcall (xml::ostream &xos, WN *wn, fortTkSupport::IntrinsicXlationTable::XAIFInfoPair &infoPair, INT begArgIdx, INT endArgIdx, BOOL callByValue, PUXlationContext &ctxt)

Variables

static const char * Conv_Op [MTYPE_LAST+1][MTYPE_LAST+1]
static bool Conv_OpInitialized = false
static const CONV_OP Conv_Op_Map []

Define Documentation

#define NUMBER_OF_CONV_OPS   sizeof(Conv_Op_Map)/sizeof(CONV_OP)

Definition at line 54 of file wn2xaif_expr.cxx.

Referenced by WN2F_Expr_initialize().


Typedef Documentation

typedef struct Conv_Op CONV_OP

Function Documentation

static void InitConvOpMap ( ) [static]

Definition at line 205 of file wn2xaif_expr.cxx.

References Conv_OpInitialized, and WN2F_Expr_initialize().

Referenced by whirl2xaif::WN2F_cvt(), and whirl2xaif::WN2F_cvtl().

Here is the call graph for this function:

static void WN2F_Convert ( xml::ostream xos,
MTYPE  from_mtype,
MTYPE  to_mtype 
) [static]

Definition at line 178 of file wn2xaif_expr.cxx.

References Append_Token_String(), and FORTTK_ASSERT_WARN.

Referenced by whirl2xaif::WN2F_cvtl().

Here is the call graph for this function:

static void WN2F_Expr_initialize ( void  ) [static]

Definition at line 168 of file wn2xaif_expr.cxx.

References Conv_Op_Map, Conv_Op::from, Conv_Op::name, NUMBER_OF_CONV_OPS, and Conv_Op::to.

Referenced by InitConvOpMap().

static void xlate_UnaryOpUsingIntrinsicTable ( xml::ostream xos,
OPCODE  opcode,
TY_IDX  result_ty,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 806 of file wn2xaif_expr.cxx.

References xlate_BinaryOpUsingIntrinsicTable().

Referenced by whirl2xaif::xlate_UnaryOp().

Here is the call graph for this function:


Variable Documentation

const char* Conv_Op[MTYPE_LAST+1][MTYPE_LAST+1] [static]

Definition at line 45 of file wn2xaif_expr.cxx.

const CONV_OP Conv_Op_Map[] [static]

Definition at line 56 of file wn2xaif_expr.cxx.

Referenced by WN2F_Expr_initialize().

bool Conv_OpInitialized = false [static]

Definition at line 46 of file wn2xaif_expr.cxx.

Referenced by InitConvOpMap().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines