OpenASIP 2.2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
MoveNodeUse Class Reference

#include <MoveNodeUse.hh>

Collaboration diagram for MoveNodeUse:
Collaboration graph

Public Types

enum  BBRelation { INTRA_BB = 0 , INTER_BB = 1 , LOOP = 3 }
 

Public Member Functions

 MoveNodeUse ()
 
 MoveNodeUse (const MoveNode &mn, bool guard=false, bool ra=false, bool pseudo=false, BBRelation bbRelation=INTRA_BB)
 
 MoveNodeUse (const MoveNodeUse &mnu, BBRelation newBBRelation)
 
bool operator< (const MoveNodeUse &other) const
 
const MoveNode * mn () const
 
bool guard () const
 
bool ra () const
 
bool pseudo () const
 
bool loop () const
 
bool interBB () const
 
BBRelation bbRelation () const
 

Private Attributes

const MoveNode * mn_
 
bool guard_
 
bool ra_
 
bool pseudo_
 
BBRelation bbRelation_
 

Detailed Description

Definition at line 20 of file MoveNodeUse.hh.

Member Enumeration Documentation

◆ BBRelation

Enumerator
INTRA_BB 
INTER_BB 
LOOP 

Definition at line 23 of file MoveNodeUse.hh.

23 {
24 INTRA_BB = 0,
25 INTER_BB = 1,
26 LOOP = 3
27 };

Constructor & Destructor Documentation

◆ MoveNodeUse() [1/3]

MoveNodeUse::MoveNodeUse ( )
inline

Definition at line 29 of file MoveNodeUse.hh.

29: mn_(NULL) {} //because STL sucks. always = after this.
const MoveNode * mn_

◆ MoveNodeUse() [2/3]

MoveNodeUse::MoveNodeUse ( const MoveNode &  mn,
bool  guard = false,
bool  ra = false,
bool  pseudo = false,
BBRelation  bbRelation = INTRA_BB 
)
inline

Definition at line 30 of file MoveNodeUse.hh.

32 :
const MoveNode * mn() const
bool guard() const
BBRelation bbRelation() const
bool ra() const
bool pseudo() const
BBRelation bbRelation_

◆ MoveNodeUse() [3/3]

MoveNodeUse::MoveNodeUse ( const MoveNodeUse &  mnu,
BBRelation  newBBRelation 
)
inline

Member Function Documentation

◆ bbRelation()

BBRelation MoveNodeUse::bbRelation ( ) const
inline

Definition at line 45 of file MoveNodeUse.hh.

45{ return bbRelation_; }

References bbRelation_.

Referenced by DataDependenceGraphBuilder::checkAndCreateMemDep().

◆ guard()

bool MoveNodeUse::guard ( ) const
inline

◆ interBB()

bool MoveNodeUse::interBB ( ) const
inline

Definition at line 44 of file MoveNodeUse.hh.

44{ return bbRelation_ > INTRA_BB; }

References bbRelation_, and INTRA_BB.

◆ loop()

bool MoveNodeUse::loop ( ) const
inline

◆ mn()

const MoveNode * MoveNodeUse::mn ( ) const
inline

◆ operator<()

bool MoveNodeUse::operator< ( const MoveNodeUse &  other) const
inline

◆ pseudo()

bool MoveNodeUse::pseudo ( ) const
inline

◆ ra()

bool MoveNodeUse::ra ( ) const
inline

Member Data Documentation

◆ bbRelation_

BBRelation MoveNodeUse::bbRelation_
private

Definition at line 51 of file MoveNodeUse.hh.

Referenced by bbRelation(), interBB(), and loop().

◆ guard_

bool MoveNodeUse::guard_
private

Definition at line 48 of file MoveNodeUse.hh.

Referenced by guard().

◆ mn_

const MoveNode* MoveNodeUse::mn_
private

Definition at line 47 of file MoveNodeUse.hh.

Referenced by mn().

◆ pseudo_

bool MoveNodeUse::pseudo_
private

Definition at line 50 of file MoveNodeUse.hh.

Referenced by pseudo().

◆ ra_

bool MoveNodeUse::ra_
private

Definition at line 49 of file MoveNodeUse.hh.

Referenced by ra().


The documentation for this class was generated from the following file: