|
OpenADFortTk (basic)
|
Iterates in PU_Info* pu_forest in DFS order. More...
#include <Open64IRInterface.hpp>

Public Member Functions | |
| Open64IRProcIterator (PU_Info *pu_forest) | |
| virtual | ~Open64IRProcIterator () |
| virtual OA::ProcHandle | current () const |
| virtual bool | isValid () const |
| virtual void | operator++ () |
| void | operator++ (int) |
| virtual void | reset () |
Private Member Functions | |
| void | prepare_current_pu () |
| void | build_pu_list (PU_Info *pu) |
Private Attributes | |
| std::list< PU_Info * > | pulist |
| std::list< PU_Info * >::iterator | pulist_iter |
Iterates in PU_Info* pu_forest in DFS order.
Definition at line 103 of file Open64IRInterface.hpp.
| Open64IRProcIterator::Open64IRProcIterator | ( | PU_Info * | pu_forest | ) |
Definition at line 86 of file Open64IRInterface.cpp.
References build_pu_list(), and reset().

| Open64IRProcIterator::~Open64IRProcIterator | ( | ) | [virtual] |
Definition at line 98 of file Open64IRInterface.cpp.
| void Open64IRProcIterator::build_pu_list | ( | PU_Info * | pu | ) | [private] |
Definition at line 128 of file Open64IRInterface.cpp.
References pulist.
Referenced by Open64IRProcIterator().
| virtual OA::ProcHandle Open64IRProcIterator::current | ( | ) | const [inline, virtual] |
Definition at line 108 of file Open64IRInterface.hpp.
Referenced by fortTkSupport::ScalarizedRefTabMap_W2X::Create(), fortTkSupport::WNToWNIdTabMap::Create(), fortTkSupport::WNIdToWNTabMap::Create(), fortTkSupport::CreatePUIdMaps(), fortTkSupport::CreateSymTabIdMaps(), DumpIR(), Open64IRInterface::initCallSymToProcMap(), Open64IRInterface::initProcContext(), Open64IRInterface::initProcToSymRefSetMap(), PrepareIR(), TestForEachPU(), whirltester::TestIR_OA(), whirltester::TestIR_whirl2f(), and whirl2xaif::Whirl2Xaif::translateAnalMaps().
| virtual bool Open64IRProcIterator::isValid | ( | ) | const [inline, virtual] |
Definition at line 110 of file Open64IRInterface.hpp.
References pulist, and pulist_iter.
Referenced by fortTkSupport::ScalarizedRefTabMap_W2X::Create(), fortTkSupport::WNToWNIdTabMap::Create(), fortTkSupport::WNIdToWNTabMap::Create(), fortTkSupport::CreatePUIdMaps(), fortTkSupport::CreateSymTabIdMaps(), DumpIR(), Open64IRInterface::initCallSymToProcMap(), Open64IRInterface::initProcContext(), Open64IRInterface::initProcToSymRefSetMap(), prepare_current_pu(), PrepareIR(), TestForEachPU(), whirltester::TestIR_OA(), whirltester::TestIR_whirl2f(), and whirl2xaif::Whirl2Xaif::translateAnalMaps().
| void Open64IRProcIterator::operator++ | ( | ) | [virtual] |
Definition at line 103 of file Open64IRInterface.cpp.
References prepare_current_pu(), and pulist_iter.

| void Open64IRProcIterator::operator++ | ( | int | ) | [inline] |
Definition at line 112 of file Open64IRInterface.hpp.
| void Open64IRProcIterator::prepare_current_pu | ( | ) | [private] |
Definition at line 119 of file Open64IRInterface.cpp.
References isValid(), and PU_SetGlobalState().
Referenced by operator++(), and reset().

| void Open64IRProcIterator::reset | ( | ) | [virtual] |
Definition at line 111 of file Open64IRInterface.cpp.
References prepare_current_pu(), pulist, and pulist_iter.
Referenced by Open64IRInterface::initCallSymToProcMap(), Open64IRInterface::initProcContext(), Open64IRInterface::initProcToSymRefSetMap(), Open64IRProcIterator(), and whirl2xaif::Whirl2Xaif::translateAnalMaps().

std::list<PU_Info*> Open64IRProcIterator::pulist [private] |
Definition at line 119 of file Open64IRInterface.hpp.
Referenced by build_pu_list(), isValid(), and reset().
std::list<PU_Info*>::iterator Open64IRProcIterator::pulist_iter [private] |
Definition at line 120 of file Open64IRInterface.hpp.
Referenced by isValid(), operator++(), and reset().