|
OpenADFortTk (basic)
|
#include <WhirlParentize.h>
Public Member Functions | |
| WhirlParentMap () | |
| WhirlParentMap (const WN *wn) | |
| ~WhirlParentMap () | |
| void | Create (const WN *wn) |
| void | Clear () |
| WN * | Find (const WN *wn) |
| WN * | FindBlock (const WN *wn) |
| void | Insert (const WN *wn, const WN *parent) |
| WN_MAP | GetMap () const |
Private Member Functions | |
| void | Ctor () |
| void | Parentize (const WN *wn) |
Private Attributes | |
| MEM_POOL | memPool |
| WN_MAP | parentMap |
A WHIRL abstract syntax tree only contains child pointers -- no parent pointers. WhirlParentMap provides parent pointers -- in an auxillary object -- for times when they would be useful.
Definition at line 26 of file WhirlParentize.h.
Definition at line 71 of file WhirlParentize.cxx.
References Ctor().

| fortTkSupport::WhirlParentMap::WhirlParentMap | ( | const WN * | wn | ) |
Definition at line 76 of file WhirlParentize.cxx.
References Create(), and Ctor().

Definition at line 91 of file WhirlParentize.cxx.
References memPool.
| void fortTkSupport::WhirlParentMap::Clear | ( | ) |
| void fortTkSupport::WhirlParentMap::Create | ( | const WN * | wn | ) |
Definition at line 98 of file WhirlParentize.cxx.
References Clear(), memPool, Parentize(), and parentMap.
Referenced by WhirlParentMap().

| void fortTkSupport::WhirlParentMap::Ctor | ( | ) | [private] |
Definition at line 83 of file WhirlParentize.cxx.
References memPool, and parentMap.
Referenced by WhirlParentMap().
| WN* fortTkSupport::WhirlParentMap::Find | ( | const WN * | wn | ) | [inline] |
Definition at line 41 of file WhirlParentize.h.
References parentMap.
Referenced by FindBlock(), xaif2whirl::PUXlationContext::findParentWN(), and whirl2xaif::PUXlationContext::findParentWN().
| WN * fortTkSupport::WhirlParentMap::FindBlock | ( | const WN * | wn | ) |
Definition at line 116 of file WhirlParentize.cxx.
References Find().
Referenced by fortTkSupport::AddControlFlowEndTags(), xaif2whirl::PUXlationContext::findParentBlockWN(), and whirl2xaif::PUXlationContext::findParentBlockWN().

| WN_MAP fortTkSupport::WhirlParentMap::GetMap | ( | ) | const [inline] |
Definition at line 55 of file WhirlParentize.h.
References parentMap.
| void fortTkSupport::WhirlParentMap::Insert | ( | const WN * | wn, |
| const WN * | parent | ||
| ) | [inline] |
| void fortTkSupport::WhirlParentMap::Parentize | ( | const WN * | wn | ) | [private] |
Definition at line 131 of file WhirlParentize.cxx.
References Insert().
Referenced by Create().

MEM_POOL fortTkSupport::WhirlParentMap::memPool [private] |
Definition at line 63 of file WhirlParentize.h.
Referenced by Create(), Ctor(), and ~WhirlParentMap().
WN_MAP fortTkSupport::WhirlParentMap::parentMap [private] |