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

Go to the source code of this file.

Namespaces

namespace  whirl2xaif

Typedefs

typedef void(* XlateWNHandlerFunc )(xml::ostream &, WN *, PUXlationContext &)

Functions

static void WN2F_ios_backspace (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_close (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_definefile (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_delete (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_endfile (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_find (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_inquire (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_namelist (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_open (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_rewind (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_unlock (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_accept (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_decode (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_encode (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_print (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_read (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_rewrite (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_type (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_write (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static void WN2F_ios_cr (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)
static BOOL xlate_IO_ITEM_unit (xml::ostream &xos, WN *item, PUXlationContext &ctxt)
static BOOL xlate_IO_ITEM_format (xml::ostream &xos, WN *item, PUXlationContext &ctxt)
static BOOL xlate_IO_ITEM_control (xml::ostream &xos, WN *item, PUXlationContext &ctxt)
static BOOL xlate_IO_ITEM_list (xml::ostream &xos, WN *item, PUXlationContext &ctxt)
static void WN2F_Io_initialize (void)
static BOOL Is_Cray_IO (IOSTATEMENT ios)
static void xlate_IOControlList (xml::ostream &xos, WN *ios, INT from_kid, INT to_kid, PUXlationContext &ctxt)
static void xlate_IOList (xml::ostream &xos, WN *ios, INT from_kid, PUXlationContext &ctxt)
void whirl2xaif::WN2F_implied_do (xml::ostream &xos, WN *wn, PUXlationContext &ctxt)

Variables

static UINT32 Origfmt_Ioctrl_Label
static XlateWNHandlerFunc XlateWNio_HandlerTable [IOSTATEMENT_LAST+1]
static bool HandlerTableInitialized = false

Typedef Documentation

typedef void(* XlateWNHandlerFunc)(xml::ostream &, WN *, PUXlationContext &)

Definition at line 126 of file wn2xaif_io.cxx.


Function Documentation

static BOOL Is_Cray_IO ( IOSTATEMENT  ios) [static]

Definition at line 169 of file wn2xaif_io.cxx.

Referenced by whirl2xaif::xlate_IO().

static void WN2F_ios_accept ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 835 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_backspace ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 601 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, IS_IO_ITEM_IOU, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOControlList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_delete ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 690 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, and xlate_IOControlList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_endfile ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 705 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, IS_IO_ITEM_IOU, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOControlList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_find ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 726 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, and xlate_IOControlList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_namelist ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 768 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_print ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 963 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, IS_IO_ITEM_IOU, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_rewrite ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 1043 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, IS_IO_ITEM_IOL, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, xlate_IOControlList(), and xlate_IOList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_type ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 1077 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:

static void WN2F_ios_unlock ( xml::ostream xos,
WN *  wn,
PUXlationContext ctxt 
) [static]

Definition at line 815 of file wn2xaif_io.cxx.

References FORTTK_ASSERT, IS_IO_ITEM_IOU, fortTkSupport::Diagnostics::UnexpectedOpr, WN_IOSTMT, whirl2xaif::xlate_IO_ITEM(), and xlate_IOControlList().

Referenced by WN2F_Io_initialize().

Here is the call graph for this function:


Variable Documentation

bool HandlerTableInitialized = false [static]

Definition at line 128 of file wn2xaif_io.cxx.

Referenced by whirl2xaif::xlate_IO().

UINT32 Origfmt_Ioctrl_Label [static]
XlateWNHandlerFunc XlateWNio_HandlerTable[IOSTATEMENT_LAST+1] [static]

Definition at line 127 of file wn2xaif_io.cxx.

Referenced by WN2F_Io_initialize(), and whirl2xaif::xlate_IO().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines