OpenADFortTk (basic)
src/lib/support/Open64IRInterface/WhirlIO.cpp File Reference
#include "Open64BasicTypes.h"
#include "ir_bread.h"
#include "ir_bwrite.h"
#include "ir_reader.h"
#include "tracing.h"
#include "be_util.h"
#include "stblock.h"
#include "WhirlIO.h"
#include "WhirlGlobalStateUtils.h"
#include "Open64IRInterface.hpp"
#include "IFDiagnostics.h"
#include "CleanUpWhirl.h"
Include dependency graph for WhirlIO.cpp:

Go to the source code of this file.

Functions

static void ReadPU (PU_Info *pu)
PU_Info * ReadIR (const char *irfilename, bool noCleanUpWhirl)
static void WritePU (PU_Info *pu)
static void SetPUInfoStateIR (PU_Info *pu_forest, Subsect_State state)
static void SetPUInfoStatePU (PU_Info *pu, Subsect_State state)
static void SetPUInfoState (PU_Info *pu, Subsect_State state)
void WriteIR (const char *irfilename, PU_Info *pu_forest)
static void FreePU (PU_Info *pu)
void FreeIR (PU_Info *pu_forest)
void PrepareIR (PU_Info *pu_forest)
void DumpIR (PU_Info *pu_forest)

Function Documentation

void DumpIR ( PU_Info *  pu_forest)

Definition at line 272 of file WhirlIO.cpp.

References Open64IRProcIterator::current(), and Open64IRProcIterator::isValid().

Referenced by real_main().

Here is the call graph for this function:

void FreeIR ( PU_Info *  pu_forest)

Definition at line 202 of file WhirlIO.cpp.

References Diag_Set_Phase(), and FreePU().

Referenced by real_main().

Here is the call graph for this function:

static void FreePU ( PU_Info *  pu) [static]

Definition at line 235 of file WhirlIO.cpp.

References PU_SetGlobalState().

Referenced by FreeIR().

Here is the call graph for this function:

void PrepareIR ( PU_Info *  pu_forest)

Definition at line 254 of file WhirlIO.cpp.

References Open64IRProcIterator::current(), Diag_Set_Phase(), and Open64IRProcIterator::isValid().

Referenced by xaif2whirl::real_main(), and real_main().

Here is the call graph for this function:

PU_Info* ReadIR ( const char *  irfilename,
bool  noCleanUpWhirl 
)

Definition at line 34 of file WhirlIO.cpp.

References Diag_Set_Phase(), CleanUpWhirl::forPUInfoForest(), and ReadPU().

Referenced by xaif2whirl::real_main(), and real_main().

Here is the call graph for this function:

void ReadPU ( PU_Info *  pu) [static]

Definition at line 75 of file WhirlIO.cpp.

References WhirlGlobalStateUtils_hidden::PU_SaveGlobalState().

Referenced by ReadIR().

Here is the call graph for this function:

static void SetPUInfoState ( PU_Info *  pu,
Subsect_State  state 
) [static]

Definition at line 182 of file WhirlIO.cpp.

Referenced by SetPUInfoStatePU().

static void SetPUInfoStateIR ( PU_Info *  pu_forest,
Subsect_State  state 
) [static]

Definition at line 156 of file WhirlIO.cpp.

References SetPUInfoStatePU().

Here is the call graph for this function:

static void SetPUInfoStatePU ( PU_Info *  pu,
Subsect_State  state 
) [static]

Definition at line 167 of file WhirlIO.cpp.

References SetPUInfoState().

Referenced by SetPUInfoStateIR().

Here is the call graph for this function:

void WriteIR ( const char *  irfilename,
PU_Info *  pu_forest 
)

Definition at line 115 of file WhirlIO.cpp.

References Diag_Set_Phase(), and WritePU().

Referenced by real_main(), and xaif2whirl::real_main().

Here is the call graph for this function:

static void WritePU ( PU_Info *  pu) [static]

Definition at line 138 of file WhirlIO.cpp.

References PU_SetGlobalState().

Referenced by WriteIR().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines