OpenADFortTk (basic)
xaif2whirl::XlateStmt Class Reference

#include <XlateStmt.h>

List of all members.

Static Public Member Functions

static WN * translateStmt (const DOMElement *stmt, PUXlationContext &ctxt)
static WN * translateAssignmentSimple (const DOMElement *stmt, PUXlationContext &ctxt)
static WN * patchWNStmt (WN *wn, PUXlationContext &ctxt)

Static Private Member Functions

static WN * xlate_Assignment (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_AssignmentLHS (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_AssignmentRHS (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_SubroutineCall (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_InlinableSubroutineCall (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_DerivativePropagator (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_SetDeriv (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_SetNegDeriv (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_IncDeriv (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_DecDeriv (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_ZeroDeriv (const DOMElement *elem, PUXlationContext &ctxt)
static WN * xlate_Saxpy (const DOMElement *elem, PUXlationContext &ctxt, bool saxpy)
static void patchWN_IO (WN *wn, PUXlationContext &ctxt)
static void patchWN_IO_cray (WN *wn, PUXlationContext &ctxt)
static void patchWN_IO_ITEM_list (WN *wn, PUXlationContext &ctxt)
static WN * createAssignment (WN *lhs, WN *rhs)
static WN * createAssignment (ST *lhs, WN_OFFSET oset, WN *rhs)
static WN * createZeroConst (TYPE_ID ty)
static WN * createOpenADInline (const char *fname, std::vector< WN * > &args)

Detailed Description

Definition at line 17 of file XlateStmt.h.


Member Function Documentation

WN * xaif2whirl::XlateStmt::createAssignment ( WN *  lhs,
WN *  rhs 
) [static, private]

Definition at line 514 of file XlateStmt.cxx.

References TY_Is_Array(), TY_Is_Pointer(), and WN_Tree_Type().

Referenced by translateAssignmentSimple(), and xlate_Assignment().

Here is the call graph for this function:

WN * xaif2whirl::XlateStmt::createAssignment ( ST *  lhs,
WN_OFFSET  oset,
WN *  rhs 
) [static, private]

Definition at line 533 of file XlateStmt.cxx.

References WN_Tree_Type().

Here is the call graph for this function:

WN * xaif2whirl::XlateStmt::createOpenADInline ( const char *  fname,
std::vector< WN * > &  args 
) [static, private]

Definition at line 547 of file XlateStmt.cxx.

Referenced by xlate_InlinableSubroutineCall().

WN * xaif2whirl::XlateStmt::createZeroConst ( TYPE_ID  ty) [static, private]

Definition at line 543 of file XlateStmt.cxx.

void xaif2whirl::XlateStmt::patchWN_IO ( WN *  wn,
PUXlationContext ctxt 
) [static, private]

Definition at line 458 of file XlateStmt.cxx.

References patchWN_IO_cray().

Referenced by patchWNStmt().

Here is the call graph for this function:

void xaif2whirl::XlateStmt::patchWN_IO_cray ( WN *  wn,
PUXlationContext ctxt 
) [static, private]

Definition at line 464 of file XlateStmt.cxx.

References FORTTK_ASSERT_WARN, IS_IO_ITEM_IOL, patchWN_IO_ITEM_list(), and fortTkSupport::Diagnostics::UnexpectedInput.

Referenced by patchWN_IO().

Here is the call graph for this function:

void xaif2whirl::XlateStmt::patchWN_IO_ITEM_list ( WN *  wn,
PUXlationContext ctxt 
) [static, private]

Definition at line 482 of file XlateStmt.cxx.

References FORTTK_DIE, xaif2whirl::XlateExpression::patchWNExpr(), and fortTkSupport::Diagnostics::UnexpectedOpr.

Referenced by patchWN_IO_cray().

Here is the call graph for this function:

WN * xaif2whirl::XlateStmt::patchWNStmt ( WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 74 of file XlateStmt.cxx.

References patchWN_IO(), and xaif2whirl::XlateExpression::patchWNExpr().

Referenced by xaif2whirl::TranslateBasicBlock(), and xaif2whirl::xlate_BasicBlock_OLD().

Here is the call graph for this function:

WN * xaif2whirl::XlateStmt::translateAssignmentSimple ( const DOMElement *  stmt,
PUXlationContext ctxt 
) [static]
WN * xaif2whirl::XlateStmt::xlate_ZeroDeriv ( const DOMElement *  elem,
PUXlationContext ctxt 
) [static, private]

Definition at line 410 of file XlateStmt.cxx.

References xaif2whirl::CreateCallToIntrin(), xaif2whirl::CreateParm(), and xlate_AssignmentLHS().

Referenced by xlate_DerivativePropagator().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines