OpenADFortTk (including Open64 and OpenAnalysis references)
|
Classes | |
class | BaseMap |
class | Diagnostics |
class | BaseException |
class | Exception |
class | FatalException |
class | PrintEntry |
class | IntrinsicXlationTable |
class | CollectModVars_ST_TAB |
class | InterOAInfoMap |
class | IntraOAInfo |
class | ScalarizedRef |
class | ScalarizedRefTab_Base |
class | ScalarizedRefTab |
class | ScalarizedRefTab< ScalarizedRefTab_Base::W2X > |
class | ScalarizedRefTabMap_W2X |
class | ForAllScalarizableRefsOp |
class | AddToScalarizedRefTabOp |
class | Symbol |
class | IdList |
class | SymTabToSymTabIdMap |
class | SymTabIdToSymTabMap |
class | PUToPUIdMap |
class | PUIdToPUMap |
class | WNToWNIdMap |
class | WNIdToWNMap |
class | WNToWNIdTabMap |
class | WNIdToWNTabMap |
class | WhirlParentMap |
class | XAIFSymToSymbolMap |
Typedefs | |
typedef std::list< OA::OA_ptr < OA::CFG::NodeInterface > > | CFGNodeList |
typedef std::list< OA::OA_ptr < OA::DGraph::NodeInterface > > | DGraphNodeList |
typedef ScalarizedRefTab < ScalarizedRefTab_Base::W2X > | ScalarizedRefTab_W2X |
typedef UINT | SymTabId |
typedef UINT | SymId |
typedef UINT | PUId |
typedef UINT | WNId |
Functions | |
OA::OA_ptr< OA::CFG::CFGInterface > | CreateCFG (PU_Info *pu, OA::OA_ptr< OA::CFG::EachCFGInterface > cfgeach, OA::OA_ptr< Open64IRInterface > irIF) |
static void | MassageOACallGraphIntoXAIFCallGraph (OA::OA_ptr< OA::CallGraph::CallGraph > cg) |
static void | AddControlFlowEndTags (PU_Info *pu, WhirlParentMap *wnParentMap, OA::OA_ptr< Open64IRInterface > irIF) |
static void | MassageOACFGIntoXAIFCFG (OA::OA_ptr< OA::CFG::CFG > cfg, OA::OA_ptr< Open64IRInterface > irIF) |
const char * | GetCFGVertexType (OA::OA_ptr< OA::CFG::CFGInterface > cfg, OA::OA_ptr< OA::CFG::NodeInterface > n) |
const char * | GetCFGControlFlowVertexType (WN *wstmt) |
void | ForAllScalarizableRefs (const WN *wn, ForAllScalarizableRefsOp &op) |
void | CreateSymTabIdMaps (PU_Info *pu_forest, SymTabToSymTabIdMap *x, SymTabIdToSymTabMap *y) |
void | CreatePUIdMaps (PU_Info *pu_forest, PUToPUIdMap *x, PUIdToPUMap *y) |
void | CreateWhirlIdMaps (WN *wn, WNToWNIdMap *x, WNIdToWNMap *y) |
WN * | FindParentWNBlock (const WN *wn_tree, const WN *wn) |
typedef std::list<OA::OA_ptr<OA::CFG::NodeInterface> > fortTkSupport::CFGNodeList |
typedef std::list<OA::OA_ptr<OA::DGraph::NodeInterface> > fortTkSupport::DGraphNodeList |
typedef UINT fortTkSupport::PUId |
Definition at line 27 of file WhirlIDMaps.h.
Definition at line 81 of file ScalarizedRefTab.h.
typedef UINT fortTkSupport::SymId |
Definition at line 26 of file WhirlIDMaps.h.
typedef UINT fortTkSupport::SymTabId |
Definition at line 25 of file WhirlIDMaps.h.
typedef UINT fortTkSupport::WNId |
Definition at line 28 of file WhirlIDMaps.h.
|
static |
Definition at line 287 of file OAMaps.cxx.
References WN_TREE_CONTAINER< order >::begin(), XAIFStringRepository::elem_BBBranch(), XAIFStringRepository::elem_BBEndBranch(), XAIFStringRepository::elem_BBEndLoop(), XAIFStringRepository::elem_BBForLoop(), XAIFStringRepository::elem_BBPostLoop(), XAIFStringRepository::elem_BBPreLoop(), WN_TREE_CONTAINER< order >::end(), fortTkSupport::WhirlParentMap::FindBlock(), GetCFGControlFlowVertexType(), NULL, OPR_DO_LOOP, OPR_LABEL, OPR_SWITCH, PU_Info_tree_ptr, Open64IRInterface::setContext(), WN_TREE_ITER_base< WHIRL >::Wn(), WN_CreateComment(), WN_do_body, WN_INSERT_BlockAfter(), WN_INSERT_BlockLast, WN_label_number(), WN_last_label(), WN_next(), WN_operator(), WN_while_body, and XAIFStrings.
Referenced by CreateCFG().
OA::OA_ptr< OA::CFG::CFGInterface > fortTkSupport::CreateCFG | ( | PU_Info * | pu, |
OA::OA_ptr< OA::CFG::EachCFGInterface > | cfgeach, | ||
OA::OA_ptr< Open64IRInterface > | irIF | ||
) |
Definition at line 232 of file OAMaps.cxx.
References AddControlFlowEndTags(), OA::OA_ptr< T >::convert(), OA::CFG::CFG::dump(), OA::CFG::EachCFGInterface::getCFGResults(), and PU_Info_tree_ptr.
Referenced by fortTkSupport::InterOAInfoMap::init().
void fortTkSupport::CreatePUIdMaps | ( | PU_Info * | pu_forest, |
PUToPUIdMap * | x, | ||
PUIdToPUMap * | y | ||
) |
Definition at line 166 of file WhirlIDMaps.cxx.
References Open64IRProcIterator::current(), OA::IRHandle::hval(), fortTkSupport::BaseMap< FromTy, ToTy >::Insert(), and Open64IRProcIterator::isValid().
Referenced by fortTkSupport::PUToPUIdMap::Create(), and fortTkSupport::PUIdToPUMap::Create().
void fortTkSupport::CreateSymTabIdMaps | ( | PU_Info * | pu_forest, |
SymTabToSymTabIdMap * | x, | ||
SymTabIdToSymTabMap * | y | ||
) |
Definition at line 134 of file WhirlIDMaps.cxx.
References Open64IRProcIterator::current(), CURRENT_SYMTAB, GLOBAL_SYMTAB, OA::IRHandle::hval(), fortTkSupport::BaseMap< FromTy, ToTy >::Insert(), fortTkSupport::SymTabIdToSymTabMap::Insert(), Open64IRProcIterator::isValid(), NULL, and Scope_tab.
Referenced by fortTkSupport::SymTabToSymTabIdMap::Create(), and fortTkSupport::SymTabIdToSymTabMap::Create().
void fortTkSupport::CreateWhirlIdMaps | ( | WN * | wn, |
WNToWNIdMap * | x, | ||
WNIdToWNMap * | y | ||
) |
Definition at line 187 of file WhirlIDMaps.cxx.
References WN_TREE_CONTAINER< order >::begin(), Open64IRInterface::DumpWN(), WN_TREE_CONTAINER< order >::end(), fortTkSupport::BaseMap< FromTy, ToTy >::Insert(), and WN_TREE_ITER_base< WHIRL >::Wn().
Referenced by fortTkSupport::WNToWNIdMap::Create(), fortTkSupport::WNIdToWNMap::Create(), and xaif2whirl::TranslateCFG().
Definition at line 12 of file WhirlParentize.cxx.
References NULL, OPERATOR_is_scf(), OPR_BLOCK, WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_operator().
Referenced by InlineTest().
void fortTkSupport::ForAllScalarizableRefs | ( | const WN * | wn, |
ForAllScalarizableRefsOp & | op | ||
) |
Definition at line 115 of file ScalarizedRefTab.cxx.
References fortTkSupport::ScalarizedRef::isRefScalarizable(), NULL, OPERATOR_is_leaf(), OPERATOR_is_store(), OPR_BLOCK, WN_first(), WN_kid(), WN_kid0(), WN_kid_count(), WN_next(), and WN_operator().
Referenced by fortTkSupport::ScalarizedRefTab< ScalarizedRefTab_Base::W2X >::Create().
const char * fortTkSupport::GetCFGControlFlowVertexType | ( | WN * | wstmt) |
Definition at line 719 of file OAMaps.cxx.
References XAIFStringRepository::elem_BBBranch(), XAIFStringRepository::elem_BBEndBranch(), XAIFStringRepository::elem_BBEndLoop(), XAIFStringRepository::elem_BBForLoop(), XAIFStringRepository::elem_BBPostLoop(), XAIFStringRepository::elem_BBPreLoop(), Index_To_Str(), NULL, OPR_COMMENT, OPR_COMPGOTO, OPR_DO_LOOP, OPR_DO_WHILE, OPR_FALSEBR, OPR_IF, OPR_SWITCH, OPR_TRUEBR, OPR_WHILE_DO, WN_GetComment(), WN_operator(), and XAIFStrings.
Referenced by AddControlFlowEndTags(), GetCFGVertexType(), whirl2xaif::GetLoopReversalType(), MassageOACFGIntoXAIFCFG(), and whirl2xaif::xlate_BBStmt().
const char * fortTkSupport::GetCFGVertexType | ( | OA::OA_ptr< OA::CFG::CFGInterface > | cfg, |
OA::OA_ptr< OA::CFG::NodeInterface > | n | ||
) |
Definition at line 683 of file OAMaps.cxx.
References XAIFStringRepository::elem_BB(), XAIFStringRepository::elem_BBEntry(), XAIFStringRepository::elem_BBExit(), GetCFGControlFlowVertexType(), OA::CFG::CFGInterface::getEntry(), OA::CFG::CFGInterface::getExit(), OA::CFG::NodeInterface::getNodeStatementsIterator(), OA::IRHandle::hval(), and XAIFStrings.
Referenced by MassageOACFGIntoXAIFCFG(), and whirl2xaif::xlate_FUNC_ENTRY().
|
static |
Definition at line 259 of file OAMaps.cxx.
References OA::OA_ptr< T >::convert(), FORTTK_DIAGIF_DEV, OA::DGraph::DGraphImplement::getNodesIterator(), OA::CallGraph::Node::getProc(), OA::CallGraph::Node::getProcSym(), OA::IRHandle::hval(), OA::n, OA::DGraph::DGraphImplement::removeNode(), and ST_name().
Referenced by fortTkSupport::InterOAInfoMap::init().
|
static |
Definition at line 427 of file OAMaps.cxx.
References OA::CFG::Node::add_front(), OA::CFG::CFG::connect(), OA::OA_ptr< T >::convert(), OA::DGraph::NodesIteratorInterface::current(), OA::StmtHandleIterator::current(), XAIFStringRepository::elem_BBEndBranch(), XAIFStringRepository::elem_BBEndLoop(), XAIFStringRepository::elem_BBForLoop(), OA::CFG::Node::erase(), OA::CFG::FALLTHROUGH_EDGE, GetCFGControlFlowVertexType(), Open64IRInterface::getCFGStmtType(), GetCFGVertexType(), OA::DGraph::DGraphImplement::getNodesIterator(), OA::CFG::NodeInterface::getNodeStatementsIterator(), OA::CFG::Node::getNodeStatementsIterator(), OA::DGraph::NodeInterface::getOutgoingEdgesIterator(), OA::DGraph::EdgeImplement::getSink(), OA::DGraph::NodeInterface::getSourceNodesIterator(), OA::CFG::Edge::getType(), OA::IRHandle::hval(), OA::DGraph::NodesIteratorInterface::isValid(), OA::StmtHandleIterator::isValid(), OA::n, NULL, OA::DGraph::NodeInterface::num_incoming(), OA::DGraph::DGraphImplement::removeNode(), OA::CFG::NodeInterface::size(), OA::CFG::Node::size(), OA::CFG::CFG::splitBlock(), OA::CFG::STRUCT_MULTIWAY_CONDITIONAL, OA::CFG::STRUCT_TWOWAY_CONDITIONAL, OA::CFG::USTRUCT_MULTIWAY_CONDITIONAL, OA::CFG::USTRUCT_TWOWAY_CONDITIONAL_F, OA::CFG::USTRUCT_TWOWAY_CONDITIONAL_T, WN_start, WN_step, and XAIFStrings.
Referenced by fortTkSupport::InterOAInfoMap::init().