LLVM API Documentation
#include <MSchedGraphSB.h>
Collaboration diagram for llvm::MSchedGraphSBNode:
Definition at line 71 of file MSchedGraphSB.h.
typedef std::vector<MSchedGraphSBNode*>::const_iterator llvm::MSchedGraphSBNode::pred_const_iterator |
Definition at line 99 of file MSchedGraphSB.h.
typedef std::vector<MSchedGraphSBNode*>::iterator llvm::MSchedGraphSBNode::pred_iterator |
Definition at line 94 of file MSchedGraphSB.h.
typedef MSchedGraphSBNodeIterator<std::vector<MSchedGraphSBEdge>::const_iterator, const MSchedGraphSBNode> llvm::MSchedGraphSBNode::succ_const_iterator |
Definition at line 104 of file MSchedGraphSB.h.
typedef MSchedGraphSBNodeIterator<std::vector<MSchedGraphSBEdge>::iterator, MSchedGraphSBNode> llvm::MSchedGraphSBNode::succ_iterator |
Definition at line 109 of file MSchedGraphSB.h.
MSchedGraphSBNode::MSchedGraphSBNode | ( | const MachineInstr * | inst, | |
MSchedGraphSB * | graph, | |||
unsigned | index, | |||
unsigned | late = 0 , |
|||
bool | isBranch = false | |||
) |
MSchedGraphSBNode::MSchedGraphSBNode | ( | const MachineInstr * | inst, | |
std::vector< const MachineInstr * > & | other, | |||
MSchedGraphSB * | graph, | |||
unsigned | index, | |||
unsigned | late = 0 , |
|||
bool | isPNode = true | |||
) |
MSchedGraphSBNode::MSchedGraphSBNode | ( | const MSchedGraphSBNode & | N | ) |
Definition at line 62 of file MSchedGraphSB.cpp.
References index, index, Inst, Inst, isBranchInstr, latency, otherInstrs, and Parent.
void llvm::MSchedGraphSBNode::addOutEdge | ( | MSchedGraphSBNode * | destination, | |
MSchedGraphSBEdge::MSchedGraphSBEdgeType | type, | |||
unsigned | deptype, | |||
unsigned | diff = 0 | |||
) | [inline] |
void llvm::MSchedGraphSBNode::deleteSuccessor | ( | MSchedGraphSBNode * | node | ) | [inline] |
unsigned llvm::MSchedGraphSBNode::getIndex | ( | ) | [inline] |
Definition at line 151 of file MSchedGraphSB.h.
MSchedGraphSBEdge MSchedGraphSBNode::getInEdge | ( | MSchedGraphSBNode * | pred | ) |
Definition at line 83 of file MSchedGraphSB.cpp.
References abort(), E, I, succ_begin(), and succ_end().
unsigned MSchedGraphSBNode::getInEdgeNum | ( | MSchedGraphSBNode * | pred | ) |
Definition at line 107 of file MSchedGraphSB.cpp.
References abort(), E, I, succ_begin(), and succ_end().
const MachineInstr* llvm::MSchedGraphSBNode::getInst | ( | ) | [inline] |
Definition at line 145 of file MSchedGraphSB.h.
Referenced by llvm::MSchedGraphSB::deleteNode(), and llvm::MSchedGraphSB::MSchedGraphSB().
unsigned MSchedGraphSBNode::getIteDiff | ( | MSchedGraphSBNode * | succ | ) |
unsigned llvm::MSchedGraphSBNode::getLatency | ( | ) | const [inline] |
Definition at line 150 of file MSchedGraphSB.h.
unsigned llvm::MSchedGraphSBNode::getLatency | ( | ) | [inline] |
Definition at line 149 of file MSchedGraphSB.h.
std::vector<const MachineInstr*> llvm::MSchedGraphSBNode::getOtherInstrs | ( | ) | [inline] |
Definition at line 160 of file MSchedGraphSB.h.
MSchedGraphSB* llvm::MSchedGraphSBNode::getParent | ( | ) | [inline] |
Definition at line 146 of file MSchedGraphSB.h.
MSchedGraphSBNode* llvm::MSchedGraphSBNode::getPredecessor | ( | unsigned | index | ) | [inline] |
Definition at line 119 of file MSchedGraphSB.h.
MSchedGraphSBEdge* llvm::MSchedGraphSBNode::getSuccessor | ( | unsigned | index | ) | [inline] |
Definition at line 123 of file MSchedGraphSB.h.
bool llvm::MSchedGraphSBNode::hasPredecessors | ( | ) | [inline] |
Definition at line 147 of file MSchedGraphSB.h.
bool llvm::MSchedGraphSBNode::hasSuccessors | ( | ) | [inline] |
Definition at line 148 of file MSchedGraphSB.h.
bool llvm::MSchedGraphSBNode::isBranch | ( | ) | [inline] |
Definition at line 157 of file MSchedGraphSB.h.
bool MSchedGraphSBNode::isPredecessor | ( | MSchedGraphSBNode * | ) |
Definition at line 131 of file MSchedGraphSB.cpp.
bool llvm::MSchedGraphSBNode::isPredicate | ( | ) | const [inline] |
Definition at line 159 of file MSchedGraphSB.h.
bool llvm::MSchedGraphSBNode::isPredicate | ( | ) | [inline] |
bool MSchedGraphSBNode::isSuccessor | ( | MSchedGraphSBNode * | ) |
pred_const_iterator llvm::MSchedGraphSBNode::pred_begin | ( | ) | const [inline] |
Definition at line 100 of file MSchedGraphSB.h.
pred_iterator llvm::MSchedGraphSBNode::pred_begin | ( | ) | [inline] |
Definition at line 95 of file MSchedGraphSB.h.
Referenced by llvm::GraphTraits< Inverse< const MSchedGraphSB * > >::child_begin(), llvm::GraphTraits< Inverse< MSchedGraphSB * > >::child_begin(), and llvm::MSchedGraphSB::deleteNode().
pred_const_iterator llvm::MSchedGraphSBNode::pred_end | ( | ) | const [inline] |
Definition at line 101 of file MSchedGraphSB.h.
pred_iterator llvm::MSchedGraphSBNode::pred_end | ( | ) | [inline] |
Definition at line 96 of file MSchedGraphSB.h.
Referenced by llvm::GraphTraits< Inverse< const MSchedGraphSB * > >::child_end(), and llvm::GraphTraits< Inverse< MSchedGraphSB * > >::child_end().
unsigned llvm::MSchedGraphSBNode::pred_size | ( | ) | [inline] |
void MSchedGraphSBNode::print | ( | std::ostream & | os | ) | const |
Definition at line 74 of file MSchedGraphSB.cpp.
References Inst, and isPredicate().
Referenced by llvm::operator<<(), and llvm::MSchedGraphSB::print().
void llvm::MSchedGraphSBNode::setParent | ( | MSchedGraphSB * | p | ) | [inline] |
Definition at line 164 of file MSchedGraphSB.h.
void llvm::MSchedGraphSBNode::setPredecessor | ( | unsigned | index, | |
MSchedGraphSBNode * | dest | |||
) | [inline] |
Definition at line 115 of file MSchedGraphSB.h.
MSchedGraphSBNode::succ_iterator llvm::MSchedGraphSBNode::succ_begin | ( | ) | [inline] |
Definition at line 209 of file MSchedGraphSB.h.
MSchedGraphSBNode::succ_const_iterator llvm::MSchedGraphSBNode::succ_begin | ( | ) | const [inline] |
Definition at line 203 of file MSchedGraphSB.h.
Referenced by llvm::GraphTraits< const MSchedGraphSB * >::child_begin(), llvm::GraphTraits< MSchedGraphSB * >::child_begin(), llvm::GraphTraits< MSchedGraphSBNode * >::child_begin(), getInEdge(), getInEdgeNum(), and isSuccessor().
MSchedGraphSBNode::succ_iterator llvm::MSchedGraphSBNode::succ_end | ( | ) | [inline] |
Definition at line 212 of file MSchedGraphSB.h.
MSchedGraphSBNode::succ_const_iterator llvm::MSchedGraphSBNode::succ_end | ( | ) | const [inline] |
Definition at line 206 of file MSchedGraphSB.h.
Referenced by llvm::GraphTraits< const MSchedGraphSB * >::child_end(), llvm::GraphTraits< MSchedGraphSB * >::child_end(), llvm::GraphTraits< MSchedGraphSBNode * >::child_end(), getInEdge(), getInEdgeNum(), and isSuccessor().
unsigned llvm::MSchedGraphSBNode::succ_size | ( | ) | [inline] |
Definition at line 112 of file MSchedGraphSB.h.