OpenASIP
2.0
|
#include <PRegionAliasAnalyzer.hh>
Private Member Functions | |
virtual bool | isAddressTraceable (DataDependenceGraph &ddg, const ProgramOperation &pop) |
virtual AliasingResult | analyze (DataDependenceGraph &ddg, const ProgramOperation &pop1, const ProgramOperation &pop2, MoveNodeUse::BBRelation bbInfo) |
~PRegionAliasAnalyzer () | |
Additional Inherited Members | |
Public Types inherited from MemoryAliasAnalyzer | |
enum | AliasingResult { ALIAS_FALSE = 0, ALIAS_TRUE = 1, ALIAS_UNKNOWN = 2, ALIAS_PARTIAL = 3 } |
Public Member Functions inherited from MemoryAliasAnalyzer | |
virtual void | initProcedure (TTAProgram::Procedure &) |
virtual | ~MemoryAliasAnalyzer () |
Protected Member Functions inherited from MemoryAliasAnalyzer | |
AliasingResult | compareIndeces (int index1, int index2, const ProgramOperation &pop1, const ProgramOperation &pop2) |
Static Protected Member Functions inherited from MemoryAliasAnalyzer | |
static const MoveNode * | addressOperandMove (const ProgramOperation &po) |
static TwoPartAddressOperandDetection | findTwoPartAddressOperands (const ProgramOperation &po) |
static const MoveNode * | searchLoopIndexBasedIncrement (DataDependenceGraph &ddg, const MoveNode &mn, long &loopIncrement) |
static const MoveNode * | findIncrement (const MoveNode &mn, long &increment) |
static const MoveNode * | detectConstantScale (const MoveNode &mn, int &shiftAmount) |
Definition at line 41 of file PRegionAliasAnalyzer.hh.
|
private |
Definition at line 102 of file PRegionAliasAnalyzer.cc.
|
privatevirtual |
Implements MemoryAliasAnalyzer.
Definition at line 57 of file PRegionAliasAnalyzer.cc.
References TTAProgram::ProgramAnnotation::ANN_PARALLEL_REGION_ID, TTAProgram::AnnotatedInstructionElement::annotation(), TTAProgram::AnnotatedInstructionElement::hasAnnotations(), TTAProgram::Move::hasSourceLineNumber(), TTAProgram::ProgramAnnotation::intValue(), MoveNode::isMove(), Application::logStream(), MoveNode::move(), TTAProgram::Move::sourceLineNumber(), and TTAProgram::Move::toString().
|
privatevirtual |
Checks whether the analyzer knows anything about the address.
ie. if it can return true or false to some query concerning this address.
Implements MemoryAliasAnalyzer.
Definition at line 50 of file PRegionAliasAnalyzer.cc.