OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
whirl2sexp.cxx File Reference
#include <fstream>
#include "Open64IRInterface/Open64BasicTypes.h"
#include "whirl2sexp.h"
#include "wn2sexp.h"
#include "symtab2sexp.h"
#include "Open64IRInterface/WhirlGlobalStateUtils.h"
#include "SexpTags.h"
Include dependency graph for whirl2sexp.cxx:

Go to the source code of this file.

Functions

static void GenHeader (sexp::ostream &sos)
 
static void xlate_IR (sexp::ostream &os, PU_Info *pu_forest, int flags)
 
static void xlate_PUForest (sexp::ostream &sos, PU_Info *pu_forest, int flags)
 
static void xlate_PUTree (sexp::ostream &os, PU_Info *pu_tree, int flags)
 
static void xlate_PU (sexp::ostream &os, PU_Info *pu, int flags)
 
static void xlate_WN (sexp::ostream &xos, WN *wn, int flags)
 

Function Documentation

void GenHeader ( sexp::ostream sos)
static

Definition at line 103 of file whirl2sexp.cxx.

References SexpTags::get_grammar().

Referenced by whirl2sexp::TranslateIR(), whirl2sexp::TranslatePU(), whirl2sexp::TranslatePUTree(), and whirl2sexp::TranslateWN().

Here is the call graph for this function:

void xlate_IR ( sexp::ostream os,
PU_Info pu_forest,
int  flags 
)
static

Definition at line 110 of file whirl2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), whirl2sexp::TranslateGlobalSymbolTables(), SexpTags::WHIRL, and xlate_PUForest().

Referenced by whirl2sexp::TranslateIR().

Here is the call graph for this function:

void xlate_PU ( sexp::ostream os,
PU_Info pu,
int  flags 
)
static
void xlate_PUForest ( sexp::ostream sos,
PU_Info pu_forest,
int  flags 
)
static

Definition at line 124 of file whirl2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), NULL, SexpTags::PU_FOREST, PU_Info_next, and xlate_PUTree().

Referenced by xlate_IR().

Here is the call graph for this function:

void xlate_PUTree ( sexp::ostream os,
PU_Info pu_tree,
int  flags 
)
static

Definition at line 139 of file whirl2sexp.cxx.

References sexp::Atom(), sexp::BegList(), sexp::EndLine(), sexp::EndList(), NULL, PU_Info_child, PU_Info_next, SexpTags::PU_TREE, and xlate_PU().

Referenced by whirl2sexp::TranslatePUTree(), and xlate_PUForest().

Here is the call graph for this function:

void xlate_WN ( sexp::ostream xos,
WN wn,
int  flags 
)
static

Definition at line 185 of file whirl2sexp.cxx.

References whirl2sexp::TranslateWN().

Referenced by whirl2sexp::TranslateWN(), and xlate_PU().

Here is the call graph for this function: