OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
Peel2BBLoops::BBNodes Struct Reference
Collaboration diagram for Peel2BBLoops::BBNodes:
Collaboration graph

Public Member Functions

 BBNodes (bool ok)
 
 BBNodes ()
 
 BBNodes (BasicBlockNode *prel, BasicBlockNode *bl, BasicBlockNode *el, BasicBlockNode *pol)
 
 operator bool () const
 

Public Attributes

BasicBlockNodepreLoop
 
BasicBlockNodebeginLoop
 
BasicBlockNodeendLoop
 
BasicBlockNodepostLoop
 

Detailed Description

Definition at line 36 of file Peel2BBLoops.hh.

Constructor & Destructor Documentation

◆ BBNodes() [1/3]

Peel2BBLoops::BBNodes::BBNodes ( bool  ok)
inline

Definition at line 37 of file Peel2BBLoops.hh.

37  : BBNodes() {
38  assert(!ok && "only call this on fail to allow return false"); }

References assert.

◆ BBNodes() [2/3]

Peel2BBLoops::BBNodes::BBNodes ( )
inline

Definition at line 39 of file Peel2BBLoops.hh.

39  : preLoop(NULL), beginLoop(NULL),
40  endLoop(NULL), postLoop(NULL) {}

◆ BBNodes() [3/3]

Peel2BBLoops::BBNodes::BBNodes ( BasicBlockNode prel,
BasicBlockNode bl,
BasicBlockNode el,
BasicBlockNode pol 
)
inline

Definition at line 41 of file Peel2BBLoops.hh.

43  : preLoop(prel), beginLoop(bl), endLoop(el), postLoop(pol) {}

Member Function Documentation

◆ operator bool()

Peel2BBLoops::BBNodes::operator bool ( ) const
inline

Definition at line 48 of file Peel2BBLoops.hh.

48 { return preLoop != NULL; }

References preLoop.

Member Data Documentation

◆ beginLoop

BasicBlockNode* Peel2BBLoops::BBNodes::beginLoop

Definition at line 45 of file Peel2BBLoops.hh.

Referenced by Peel2BBLoops::performCodeMotion(), and Peel2BBLoops::updateCFG().

◆ endLoop

BasicBlockNode* Peel2BBLoops::BBNodes::endLoop

Definition at line 46 of file Peel2BBLoops.hh.

Referenced by Peel2BBLoops::performCodeMotion(), and Peel2BBLoops::updateCFG().

◆ postLoop

BasicBlockNode* Peel2BBLoops::BBNodes::postLoop

Definition at line 47 of file Peel2BBLoops.hh.

Referenced by Peel2BBLoops::performCodeMotion(), and Peel2BBLoops::updateCFG().

◆ preLoop

BasicBlockNode* Peel2BBLoops::BBNodes::preLoop

The documentation for this struct was generated from the following file:
Peel2BBLoops::BBNodes::postLoop
BasicBlockNode * postLoop
Definition: Peel2BBLoops.hh:47
Peel2BBLoops::BBNodes::beginLoop
BasicBlockNode * beginLoop
Definition: Peel2BBLoops.hh:45
assert
#define assert(condition)
Definition: Application.hh:86
Peel2BBLoops::BBNodes::endLoop
BasicBlockNode * endLoop
Definition: Peel2BBLoops.hh:46
Peel2BBLoops::BBNodes::preLoop
BasicBlockNode * preLoop
Definition: Peel2BBLoops.hh:44
Peel2BBLoops::BBNodes::BBNodes
BBNodes()
Definition: Peel2BBLoops.hh:39