LLVM API Documentation
#include <MSchedGraph.h>
Collaboration diagram for llvm::MSchedGraph:
Definition at line 234 of file MSchedGraph.h.
typedef std::map<const MachineInstr*, MSchedGraphNode*>::const_iterator llvm::MSchedGraph::const_iterator |
Definition at line 281 of file MSchedGraph.h.
typedef std::map<const MachineInstr*, MSchedGraphNode*>::iterator llvm::MSchedGraph::iterator |
Definition at line 280 of file MSchedGraph.h.
typedef std::map<const MachineInstr*, MSchedGraphNode*>::reverse_iterator llvm::MSchedGraph::reverse_iterator |
Definition at line 282 of file MSchedGraph.h.
MSchedGraph::MSchedGraph | ( | const MachineBasicBlock * | bb, | |
const TargetMachine & | targ, | |||
std::map< const MachineInstr *, unsigned > & | ignoreInstrs, | |||
DependenceAnalyzer & | DA, | |||
std::map< MachineInstr *, Instruction * > & | machineTollvm | |||
) |
MSchedGraph::MSchedGraph | ( | const MSchedGraph & | G, | |
std::map< MSchedGraphNode *, MSchedGraphNode * > & | newNodes | |||
) |
MSchedGraph::MSchedGraph | ( | std::vector< const MachineBasicBlock * > & | bbs, | |
const TargetMachine & | targ, | |||
std::map< const MachineInstr *, unsigned > & | ignoreInstrs, | |||
DependenceAnalyzer & | DA, | |||
std::map< MachineInstr *, Instruction * > & | machineTollvm | |||
) |
MSchedGraph::~MSchedGraph | ( | ) |
void MSchedGraph::addNode | ( | const MachineInstr * | MI, | |
MSchedGraphNode * | node | |||
) |
Definition at line 121 of file MSchedGraph.cpp.
References MI.
Referenced by llvm::MSchedGraphNode::MSchedGraphNode().
iterator llvm::MSchedGraph::begin | ( | ) | [inline] |
Definition at line 285 of file MSchedGraph.h.
void MSchedGraph::deleteNode | ( | MSchedGraphNode * | node | ) |
Definition at line 132 of file MSchedGraph.cpp.
References llvm::MSchedGraphNode::getInst(), llvm::MSchedGraphNode::pred_begin(), and llvm::MSchedGraphNode::pred_size().
iterator llvm::MSchedGraph::end | ( | ) | [inline] |
Definition at line 284 of file MSchedGraph.h.
iterator llvm::MSchedGraph::find | ( | const MachineInstr * | I | ) | [inline] |
Definition at line 283 of file MSchedGraph.h.
std::vector<const MachineBasicBlock*> llvm::MSchedGraph::getBBs | ( | ) | [inline] |
Definition at line 292 of file MSchedGraph.h.
const TargetMachine* llvm::MSchedGraph::getTarget | ( | ) | [inline] |
Definition at line 291 of file MSchedGraph.h.
void MSchedGraph::print | ( | std::ostream & | os | ) | const |
Definition at line 240 of file MSchedGraph.cpp.
References llvm::MSchedGraphNode::print().
Referenced by llvm::ModuloSchedulingPass::runOnFunction().
reverse_iterator llvm::MSchedGraph::rbegin | ( | ) | [inline] |
Definition at line 287 of file MSchedGraph.h.
reverse_iterator llvm::MSchedGraph::rend | ( | ) | [inline] |
Definition at line 288 of file MSchedGraph.h.
unsigned llvm::MSchedGraph::size | ( | ) | [inline] |
Definition at line 286 of file MSchedGraph.h.
int MSchedGraph::totalDelay | ( | ) |
Definition at line 261 of file MSchedGraph.cpp.