OpenASIP  2.0
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 MoveNodemn () const
 
bool guard () const
 
bool ra () const
 
bool pseudo () const
 
bool loop () const
 
bool interBB () const
 
BBRelation bbRelation () const
 

Private Attributes

const MoveNodemn_
 
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.

◆ 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.

◆ 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:
MoveNodeUse::mn
const MoveNode * mn() const
Definition: MoveNodeUse.hh:39
MoveNodeUse::mn_
const MoveNode * mn_
Definition: MoveNodeUse.hh:47
MoveNodeUse::pseudo
bool pseudo() const
Definition: MoveNodeUse.hh:42
MoveNodeUse::INTER_BB
@ INTER_BB
Definition: MoveNodeUse.hh:25
MoveNodeUse::pseudo_
bool pseudo_
Definition: MoveNodeUse.hh:50
MoveNodeUse::ra
bool ra() const
Definition: MoveNodeUse.hh:41
MoveNodeUse::ra_
bool ra_
Definition: MoveNodeUse.hh:49
MoveNodeUse::INTRA_BB
@ INTRA_BB
Definition: MoveNodeUse.hh:24
MoveNodeUse::guard_
bool guard_
Definition: MoveNodeUse.hh:48
MoveNodeUse::guard
bool guard() const
Definition: MoveNodeUse.hh:40
MoveNodeUse::LOOP
@ LOOP
Definition: MoveNodeUse.hh:26
MoveNodeUse::bbRelation
BBRelation bbRelation() const
Definition: MoveNodeUse.hh:45
MoveNodeUse::bbRelation_
BBRelation bbRelation_
Definition: MoveNodeUse.hh:51