LLVM API Documentation
#include <SchedGraphCommon.h>
Inheritance diagram for llvm::SchedGraphNodeCommon:
Definition at line 37 of file SchedGraphCommon.h.
typedef std::vector<SchedGraphEdge*>::const_iterator llvm::SchedGraphNodeCommon::const_iterator |
Definition at line 47 of file SchedGraphCommon.h.
typedef std::vector<SchedGraphEdge*>::const_reverse_iterator llvm::SchedGraphNodeCommon::const_reverse_iterator |
Definition at line 49 of file SchedGraphCommon.h.
typedef std::vector<SchedGraphEdge*>::iterator llvm::SchedGraphNodeCommon::iterator |
Definition at line 46 of file SchedGraphCommon.h.
typedef std::vector<SchedGraphEdge*>::reverse_iterator llvm::SchedGraphNodeCommon::reverse_iterator |
Definition at line 48 of file SchedGraphCommon.h.
llvm::SchedGraphNodeCommon::SchedGraphNodeCommon | ( | ) | [protected] |
llvm::SchedGraphNodeCommon::SchedGraphNodeCommon | ( | unsigned | Id, | |
int | index, | |||
int | late = 0 | |||
) | [inline, protected] |
Definition at line 82 of file SchedGraphCommon.h.
llvm::SchedGraphNodeCommon::~SchedGraphNodeCommon | ( | ) | [protected, virtual] |
void llvm::SchedGraphNodeCommon::addInEdge | ( | SchedGraphEdge * | edge | ) | [inline, protected] |
Definition at line 87 of file SchedGraphCommon.h.
References inEdges.
Referenced by llvm::SchedGraphEdge::SchedGraphEdge().
void llvm::SchedGraphNodeCommon::addOutEdge | ( | SchedGraphEdge * | edge | ) | [inline, protected] |
Definition at line 88 of file SchedGraphCommon.h.
References outEdges.
Referenced by llvm::SchedGraphEdge::SchedGraphEdge().
const_iterator llvm::SchedGraphNodeCommon::beginInEdges | ( | ) | const [inline] |
iterator llvm::SchedGraphNodeCommon::beginInEdges | ( | ) | [inline] |
Definition at line 59 of file SchedGraphCommon.h.
References inEdges.
Referenced by llvm::SchedGraphCommon::eraseIncomingEdges(), llvm::SchedGraphCommon::eraseOutgoingEdges(), llvm::NodeCanFillDelaySlot(), llvm::pred_begin(), and removeInEdge().
const_iterator llvm::SchedGraphNodeCommon::beginOutEdges | ( | ) | const [inline] |
iterator llvm::SchedGraphNodeCommon::beginOutEdges | ( | ) | [inline] |
Definition at line 61 of file SchedGraphCommon.h.
References outEdges.
Referenced by llvm::SchedGraph::dump(), llvm::SchedGraphCommon::eraseIncomingEdges(), llvm::SchedGraphCommon::eraseOutgoingEdges(), llvm::SchedPriorities::issuedReadyNodeAt(), llvm::NodeCanFillDelaySlot(), removeOutEdge(), llvm::succ_begin(), and ~SchedGraphNodeCommon().
void llvm::SchedGraphNodeCommon::dump | ( | int | indent = 0 |
) | const |
Definition at line 115 of file SchedGraphCommon.cpp.
const_iterator llvm::SchedGraphNodeCommon::endInEdges | ( | ) | const [inline] |
iterator llvm::SchedGraphNodeCommon::endInEdges | ( | ) | [inline] |
Definition at line 60 of file SchedGraphCommon.h.
References inEdges.
Referenced by llvm::SchedGraphCommon::eraseIncomingEdges(), llvm::NodeCanFillDelaySlot(), llvm::pred_end(), and removeInEdge().
const_iterator llvm::SchedGraphNodeCommon::endOutEdges | ( | ) | const [inline] |
iterator llvm::SchedGraphNodeCommon::endOutEdges | ( | ) | [inline] |
Definition at line 62 of file SchedGraphCommon.h.
References outEdges.
Referenced by llvm::SchedGraph::dump(), llvm::SchedGraphCommon::eraseOutgoingEdges(), llvm::SchedPriorities::issuedReadyNodeAt(), llvm::NodeCanFillDelaySlot(), removeOutEdge(), llvm::succ_end(), and ~SchedGraphNodeCommon().
int llvm::SchedGraphNodeCommon::getLatency | ( | ) | const [inline] |
unsigned llvm::SchedGraphNodeCommon::getNodeId | ( | ) | const [inline] |
Definition at line 52 of file SchedGraphCommon.h.
References ID.
Referenced by llvm::SchedPriorities::insertReady(), llvm::SchedulingManager::isScheduled(), llvm::operator<<(), llvm::SchedGraphEdge::print(), and llvm::InstrSchedule::scheduleInstr().
unsigned llvm::SchedGraphNodeCommon::getNumInEdges | ( | ) | const [inline] |
unsigned llvm::SchedGraphNodeCommon::getNumOutEdges | ( | ) | const [inline] |
int llvm::SchedGraphNodeCommon::getOrigIndexInBB | ( | ) | const [inline] |
Definition at line 56 of file SchedGraphCommon.h.
References origIndexInBB.
Referenced by llvm::ReplaceNopsWithUsefulInstr().
virtual void llvm::SchedGraphNodeCommon::print | ( | std::ostream & | os | ) | const [pure virtual] |
void llvm::SchedGraphNodeCommon::removeInEdge | ( | const SchedGraphEdge * | edge | ) | [protected] |
Definition at line 95 of file SchedGraphCommon.cpp.
References beginInEdges(), endInEdges(), llvm::SchedGraphEdge::getSink(), I, and inEdges.
void llvm::SchedGraphNodeCommon::removeOutEdge | ( | const SchedGraphEdge * | edge | ) | [protected] |
Definition at line 105 of file SchedGraphCommon.cpp.
References beginOutEdges(), endOutEdges(), llvm::SchedGraphEdge::getSrc(), I, and outEdges.
friend class SchedGraphCommon [friend] |
Definition at line 75 of file SchedGraphCommon.h.
friend class SchedGraphEdge [friend] |
unsigned llvm::SchedGraphNodeCommon::ID [protected] |
Definition at line 39 of file SchedGraphCommon.h.
Referenced by getNodeId(), and llvm::SchedGraphNode::print().
std::vector<SchedGraphEdge*> llvm::SchedGraphNodeCommon::inEdges [protected] |
Definition at line 40 of file SchedGraphCommon.h.
Referenced by addInEdge(), beginInEdges(), endInEdges(), llvm::SchedGraphCommon::eraseIncomingEdges(), getNumInEdges(), llvm::SchedGraphNode::print(), and removeInEdge().
int llvm::SchedGraphNodeCommon::latency [protected] |
Definition at line 42 of file SchedGraphCommon.h.
Referenced by getLatency(), and llvm::SchedGraphNode::print().
int llvm::SchedGraphNodeCommon::origIndexInBB [protected] |
std::vector<SchedGraphEdge*> llvm::SchedGraphNodeCommon::outEdges [protected] |
Definition at line 41 of file SchedGraphCommon.h.
Referenced by addOutEdge(), beginOutEdges(), endOutEdges(), llvm::SchedGraphCommon::eraseOutgoingEdges(), getNumOutEdges(), llvm::SchedGraphNode::print(), and removeOutEdge().