OpenADFortTk (basic)
whirl2sexp Namespace Reference

Namespaces

namespace  XlateFlags

Classes

class  xlate_SYMTAB_entry_op

Enumerations

enum  status { good, bad }

Functions

void TranslateGlobalSymbolTables (sexp::ostream &sos, int flags=0)
void TranslateLocalSymbolTables (sexp::ostream &sos, SYMTAB_IDX stab_lvl, int flags=0)
void xlate_FILE_INFO (sexp::ostream &sos)
void xlate_ST_TAB (sexp::ostream &sos, SYMTAB_IDX stab_lvl)
void xlate_ST_TAB (sexp::ostream &sos, const SCOPE &scope)
void xlate_ST_ATTR_TAB (sexp::ostream &sos, SYMTAB_IDX stab_lvl)
void xlate_PU_TAB (sexp::ostream &sos)
void xlate_TY_TAB (sexp::ostream &sos)
void xlate_FLD_TAB (sexp::ostream &sos)
void xlate_ARB_TAB (sexp::ostream &sos)
void xlate_TYLIST_TAB (sexp::ostream &sos)
void xlate_TCON_TAB (sexp::ostream &sos)
void xlate_TCON_STR_TAB (sexp::ostream &sos)
void xlate_INITO_TAB (sexp::ostream &sos, SYMTAB_IDX stab_lvl)
void xlate_INITV_TAB (sexp::ostream &sos)
void xlate_BLK_TAB (sexp::ostream &sos)
void xlate_STR_TAB (sexp::ostream &sos)
void xlate_LABEL_TAB (sexp::ostream &sos, SYMTAB_IDX stab_lvl)
void xlate_PREG_TAB (sexp::ostream &sos, SYMTAB_IDX stab_lvl)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, ST *st)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, ST_ATTR *sta)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, PU *pu)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, TY *ty)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, FLD *fld)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, ARB *arb)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, TYLIST *tyl)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, TCON *tcon)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, INITO *inito)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, INITV *initv)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, BLK *blk)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, LABEL *lbl)
void xlate_SYMTAB_entry (sexp::ostream &sos, UINT32 idx, PREG *preg)
void xlate_SYMTAB_entry_TCON_STR (sexp::ostream &sos, UINT32 idx)
void xlate_SYMTAB_entry_STR (sexp::ostream &sos, UINT32 idx)
void TranslateIR (std::ostream &os, PU_Info *pu_forest, int flags=0)
void TranslatePUTree (std::ostream &os, PU_Info *pu_tree, int flags=0)
void TranslatePU (std::ostream &os, PU_Info *pu, int flags=0)
void TranslateWN (std::ostream &os, WN *wn, int flags=0)
void DumpIR (PU_Info *pu_forest, int flags)
void DumpPUTree (PU_Info *pu_tree, int flags)
void DumpPU (PU_Info *pu, int flags)
void DumpWN (WN *wn, int flags)
whirl2sexp::status TranslateWN (sexp::ostream &sos, WN *wn)
whirl2sexp::status TranslateWNChildren (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_FUNC_ENTRY (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_BLOCK (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_REGION (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_structured_cf (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_IMPLIED_DO (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_GOTOx_LABEL (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_multiBR (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_CASEGOTO (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_AGOTO (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_ALTENTRY (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_condBR (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_RETURNx (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_xCALL (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_IO (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_misc_stmt (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_xPRAGMA (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_LDA_LDMA (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_LDID_STID (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_IDNAME (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_xLOADx_xSTOREx (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_PSTID (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_PSTORE (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_STRCTFLD (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_ARRAYx (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_CVT_CVTL (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_TAS (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_CONST (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_INTCONST (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_UnaryOp (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_PARM (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_ALLOCA (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_BinaryOp (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_TernaryOp (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_IO_ITEM (sexp::ostream &sos, WN *wn)
whirl2sexp::status xlate_unknown (sexp::ostream &sos, WN *wn)

Enumeration Type Documentation

Enumerator:
good 
bad 

Definition at line 8 of file whirl2sexp.i.


Function Documentation

void whirl2sexp::DumpIR ( PU_Info *  pu_forest,
int  flags 
)

Definition at line 74 of file whirl2sexp.cxx.

References sexp2whirl::TranslateIR().

Here is the call graph for this function:

void whirl2sexp::DumpPU ( PU_Info *  pu,
int  flags 
)

Definition at line 86 of file whirl2sexp.cxx.

References TranslatePU().

Here is the call graph for this function:

void whirl2sexp::DumpPUTree ( PU_Info *  pu_tree,
int  flags 
)

Definition at line 80 of file whirl2sexp.cxx.

References TranslatePUTree().

Here is the call graph for this function:

void whirl2sexp::TranslateIR ( std::ostream &  os,
PU_Info *  pu_forest,
int  flags = 0 
)

Definition at line 37 of file whirl2sexp.cxx.

References GenHeader(), and xlate_IR().

Referenced by real_main().

Here is the call graph for this function:

void whirl2sexp::TranslateLocalSymbolTables ( sexp::ostream sos,
SYMTAB_IDX  stab_lvl,
int  flags = 0 
)

Definition at line 91 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), SexpTags::PU_SYMTAB, xlate_INITO_TAB(), xlate_LABEL_TAB(), xlate_PREG_TAB(), xlate_ST_ATTR_TAB(), and xlate_ST_TAB().

Referenced by xlate_PU().

Here is the call graph for this function:

void whirl2sexp::TranslatePU ( std::ostream &  os,
PU_Info *  pu,
int  flags = 0 
)

Definition at line 55 of file whirl2sexp.cxx.

References GenHeader(), and xlate_PU().

Referenced by DumpPU().

Here is the call graph for this function:

void whirl2sexp::TranslatePUTree ( std::ostream &  os,
PU_Info *  pu_tree,
int  flags = 0 
)

Definition at line 46 of file whirl2sexp.cxx.

References GenHeader(), and xlate_PUTree().

Referenced by DumpPUTree().

Here is the call graph for this function:

Definition at line 27 of file wn2sexp.cxx.

References sexp::BegList(), sexp::EndList(), FORTTK_DEVMSG, and good.

Here is the call graph for this function:

void whirl2sexp::TranslateWN ( std::ostream &  os,
WN *  wn,
int  flags = 0 
)

Definition at line 202 of file symtab2sexp.cxx.

References SexpTags::ARB_TAB, sexp::Atom(), sexp::BegList(), sexp::EndLine(), and sexp::EndList().

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 279 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), SexpTags::BLK_TAB, sexp::EndLine(), and sexp::EndList().

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 394 of file wn2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), FORTTK_ASSERT, GenSexpWNOpr(), good, and fortTkSupport::Diagnostics::UnexpectedInput.

Here is the call graph for this function:

Definition at line 859 of file wn2sexp.cxx.

References sexp::BegList(), sexp::EndList(), FORTTK_ASSERT, GenSexpSymRef(), GenSexpWNOpr(), good, and fortTkSupport::Diagnostics::UnexpectedInput.

Here is the call graph for this function:

Definition at line 131 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), SexpTags::FILE_INFO, and GenSexpFlg().

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 193 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::FLD_TAB.

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

void whirl2sexp::xlate_INITO_TAB ( sexp::ostream sos,
SYMTAB_IDX  stab_lvl 
)

Definition at line 261 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::INITO_TAB.

Referenced by TranslateGlobalSymbolTables(), and TranslateLocalSymbolTables().

Here is the call graph for this function:

Definition at line 270 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::INITV_TAB.

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 844 of file wn2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), FORTTK_ASSERT, GenSexpWNOpr(), good, and fortTkSupport::Diagnostics::UnexpectedInput.

Here is the call graph for this function:

void whirl2sexp::xlate_LABEL_TAB ( sexp::ostream sos,
SYMTAB_IDX  stab_lvl 
)

Definition at line 313 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::LABEL_TAB.

Referenced by TranslateLocalSymbolTables().

Here is the call graph for this function:

void whirl2sexp::xlate_PREG_TAB ( sexp::ostream sos,
SYMTAB_IDX  stab_lvl 
)

Definition at line 325 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::PREG_TAB.

Referenced by TranslateLocalSymbolTables().

Here is the call graph for this function:

Definition at line 175 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::PU_TAB.

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

void whirl2sexp::xlate_ST_ATTR_TAB ( sexp::ostream sos,
SYMTAB_IDX  stab_lvl 
)

Definition at line 157 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::ST_ATTR_TAB.

Referenced by TranslateGlobalSymbolTables(), and TranslateLocalSymbolTables().

Here is the call graph for this function:

void whirl2sexp::xlate_ST_TAB ( sexp::ostream sos,
SYMTAB_IDX  stab_lvl 
)

Definition at line 148 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::ST_TAB.

Referenced by TranslateGlobalSymbolTables(), and TranslateLocalSymbolTables().

Here is the call graph for this function:

void whirl2sexp::xlate_ST_TAB ( sexp::ostream sos,
const SCOPE &  scope 
)

Definition at line 166 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::ST_TAB.

Here is the call graph for this function:

Definition at line 288 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), SexpTags::STR_TAB, and xlate_SYMTAB_entry_STR().

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
ST *  st 
)

Definition at line 341 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), GenSexpFlg(), GenSexpSym(), GenSexpSymNm(), and GenSexpTy().

Referenced by whirl2sexp::xlate_SYMTAB_entry_op< T >::operator()().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
ST_ATTR *  sta 
)

Definition at line 397 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), and GenSexpSym().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
PU *  pu 
)

Definition at line 419 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), GenSexpFlg(), and GenSexpTy().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
TY *  ty 
)

Definition at line 453 of file symtab2sexp.cxx.

References sexp::IOFlags::A_DQUOTE, sexp::Atom(), sexp::BegList(), sexp::EndList(), GenSexpFlg(), GenSexpTy(), and SexpTags::TY.

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
FLD *  fld 
)

Definition at line 510 of file symtab2sexp.cxx.

References sexp::IOFlags::A_DQUOTE, sexp::Atom(), sexp::BegList(), sexp::EndList(), GenSexpFlg(), GenSexpSym(), and GenSexpTy().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
ARB *  arb 
)

Definition at line 547 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), GenSexpFlg(), and GenSexpSym().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
TYLIST *  tyl 
)

Definition at line 597 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), and GenSexpTy().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
TCON *  tcon 
)

Definition at line 610 of file symtab2sexp.cxx.

References sexp::IOFlags::A_HEX, FortTk::assign(), sexp::Atom(), sexp::BegList(), sexp::EndList(), and GenSexpFlg().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
INITO *  inito 
)

Definition at line 642 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), and GenSexpSym().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
INITV *  initv 
)

Definition at line 658 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), and sexp::EndList().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
BLK *  blk 
)

Definition at line 684 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndList(), and GenSexpFlg().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
LABEL *  lbl 
)

Definition at line 709 of file symtab2sexp.cxx.

References sexp::IOFlags::A_DQUOTE, sexp::Atom(), sexp::BegList(), sexp::EndList(), and GenSexpFlg().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry ( sexp::ostream sos,
UINT32  idx,
PREG *  preg 
)

Definition at line 735 of file symtab2sexp.cxx.

References sexp::IOFlags::A_DQUOTE, sexp::Atom(), sexp::BegList(), and sexp::EndList().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry_STR ( sexp::ostream sos,
UINT32  idx 
)

Definition at line 766 of file symtab2sexp.cxx.

References sexp::IOFlags::A_DQUOTE, sexp::Atom(), sexp::BegList(), and sexp::EndList().

Referenced by xlate_STR_TAB().

Here is the call graph for this function:

void whirl2sexp::xlate_SYMTAB_entry_TCON_STR ( sexp::ostream sos,
UINT32  idx 
)

Definition at line 751 of file symtab2sexp.cxx.

References sexp::IOFlags::A_DQUOTE, sexp::Atom(), sexp::BegList(), and sexp::EndList().

Referenced by xlate_TCON_STR_TAB().

Here is the call graph for this function:

Definition at line 824 of file wn2sexp.cxx.

References sexp::BegList(), sexp::EndList(), FORTTK_ASSERT, GenSexpTyUse(), GenSexpWNOpr(), good, TranslateWN(), and fortTkSupport::Diagnostics::UnexpectedInput.

Here is the call graph for this function:

Definition at line 229 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), SexpTags::TCON_STR_TAB, and xlate_SYMTAB_entry_TCON_STR().

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 220 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::TCON_TAB.

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 184 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::TY_TAB.

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 211 of file symtab2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), and SexpTags::TYLIST_TAB.

Referenced by TranslateGlobalSymbolTables().

Here is the call graph for this function:

Definition at line 1000 of file wn2sexp.cxx.

References sexp::BegComment(), sexp::EndComment(), FORTTK_DEVMSG, good, and fortTkSupport::Diagnostics::UnexpectedOpr.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines