Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
whirl2f_common.h File Reference
#include "common_include.h"
#include "w2f_driver.h"
Include dependency graph for whirl2f_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define W2F_TY_pointed(ty, msg)
#define Prepend_Idented_Newline   DO_NOT_USE_THIS_FUNCTION
#define Append_Idented_Newline   DO_NOT_USE_THIS_FUNCTION
#define WHIRL2F_number_as_name(number)   Number_as_String(number, "%llu")
#define WHIRL2F_ptr_as_name(ptr)   Ptr_as_String(ptr)

Functions

const char * WHIRL2F_make_valid_name (const char *name, BOOL allow_dot)
void WHIRL2F_Append_Comment (TOKEN_BUFFER tokens, const char *cmt, UINT prefix_lines, UINT suffix_lines)
void WHIRL2F_Parenthesize (TOKEN_BUFFER tokens)

Variables

BOOL WN2F_F90_pu

Define Documentation

#define Append_Idented_Newline   DO_NOT_USE_THIS_FUNCTION

Definition at line 130 of file whirl2f_common.h.

#define Prepend_Idented_Newline   DO_NOT_USE_THIS_FUNCTION

Definition at line 129 of file whirl2f_common.h.

#define W2F_TY_pointed (   ty,
  msg 
)
Value:
(ASSERT_DBG_FATAL(TY_Is_Pointer(ty), (DIAG_W2F_EXPECTED_PTR, (msg))), \
    TY_pointed(ty))

Definition at line 121 of file whirl2f_common.h.

Referenced by WN2F_array(), WN2F_arrsection(), WN2F_istore(), and WN2F_pstore().

#define WHIRL2F_ptr_as_name (   ptr)    Ptr_as_String(ptr)

Definition at line 138 of file whirl2f_common.h.


Function Documentation

void WHIRL2F_Append_Comment ( TOKEN_BUFFER  tokens,
const char *  cmt,
UINT  prefix_lines,
UINT  suffix_lines 
)
const char* WHIRL2F_make_valid_name ( const char *  name,
BOOL  allow_dot 
)

Definition at line 58 of file whirl2f_common.cxx.

References Get_Name_Buf_Slot(), name, NULL, and strcpy.

Referenced by Unparse_Target_FTN::Make_Valid_Name(), ST2F_use_var(), and TY2F_Fld_Name().

Here is the call graph for this function:

Definition at line 150 of file whirl2f_common.cxx.

References Append_Token_Special(), and Prepend_Token_Special().

Referenced by WN2F_Translate_DoLoop_Bound().

Here is the call graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines