LLVM API Documentation
#include <MSchedGraphSB.h>
Collaboration diagram for llvm::MSchedGraphSB:
Definition at line 244 of file MSchedGraphSB.h.
typedef std::map<const MachineInstr*, MSchedGraphSBNode*>::const_iterator llvm::MSchedGraphSB::const_iterator |
Definition at line 293 of file MSchedGraphSB.h.
typedef std::map<const MachineInstr*, MSchedGraphSBNode*>::iterator llvm::MSchedGraphSB::iterator |
Definition at line 292 of file MSchedGraphSB.h.
typedef std::map<const MachineInstr*, MSchedGraphSBNode*>::reverse_iterator llvm::MSchedGraphSB::reverse_iterator |
Definition at line 294 of file MSchedGraphSB.h.
llvm::MSchedGraphSB::MSchedGraphSB | ( | const MachineBasicBlock * | bb, | |
const TargetMachine & | targ, | |||
std::map< const MachineInstr *, unsigned > & | ignoreInstrs, | |||
DependenceAnalyzer & | DA, | |||
std::map< MachineInstr *, Instruction * > & | machineTollvm | |||
) |
MSchedGraphSB::MSchedGraphSB | ( | const MSchedGraphSB & | G, | |
std::map< MSchedGraphSBNode *, MSchedGraphSBNode * > & | newNodes | |||
) |
MSchedGraphSB::MSchedGraphSB | ( | std::vector< const MachineBasicBlock * > & | bbs, | |
const TargetMachine & | targ, | |||
std::map< const MachineInstr *, unsigned > & | ignoreInstrs, | |||
DependenceAnalyzer & | DA, | |||
std::map< MachineInstr *, Instruction * > & | machineTollvm | |||
) |
Definition at line 170 of file MSchedGraphSB.cpp.
References BB, llvm::MachineBasicBlock::begin(), llvm::X86II::DA, DEBUG, E, llvm::MachineBasicBlock::end(), llvm::MachineCodeForInstruction::get(), llvm::BranchInst::getCondition(), llvm::MSchedGraphSBNode::getInst(), llvm::TargetMachine::getInstrInfo(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::Instruction::getParent(), llvm::BasicBlock::getTerminator(), llvm::MachineOperand::getVRegValue(), I, Inst, llvm::TargetInstrInfo::isBranch(), llvm::BranchInst::isConditional(), llvm::TargetInstrInfo::isNop(), MBB, llvm::MachineOperand::MO_VirtualRegister, llvm::MachineCodeForInstruction::size(), Target, and V.
MSchedGraphSB::~MSchedGraphSB | ( | ) |
void MSchedGraphSB::addNode | ( | const MachineInstr * | MI, | |
MSchedGraphSBNode * | node | |||
) |
Definition at line 140 of file MSchedGraphSB.cpp.
References MI.
Referenced by llvm::MSchedGraphSBNode::MSchedGraphSBNode().
iterator llvm::MSchedGraphSB::begin | ( | ) | [inline] |
Definition at line 297 of file MSchedGraphSB.h.
void MSchedGraphSB::deleteNode | ( | MSchedGraphSBNode * | node | ) |
Definition at line 151 of file MSchedGraphSB.cpp.
References llvm::MSchedGraphSBNode::getInst(), llvm::MSchedGraphSBNode::pred_begin(), and llvm::MSchedGraphSBNode::pred_size().
iterator llvm::MSchedGraphSB::end | ( | ) | [inline] |
Definition at line 296 of file MSchedGraphSB.h.
iterator llvm::MSchedGraphSB::find | ( | const MachineInstr * | I | ) | [inline] |
Definition at line 295 of file MSchedGraphSB.h.
std::vector<const MachineBasicBlock*> llvm::MSchedGraphSB::getBBs | ( | ) | [inline] |
Definition at line 304 of file MSchedGraphSB.h.
const TargetMachine* llvm::MSchedGraphSB::getTarget | ( | ) | [inline] |
Definition at line 303 of file MSchedGraphSB.h.
void MSchedGraphSB::print | ( | std::ostream & | os | ) | const |
reverse_iterator llvm::MSchedGraphSB::rbegin | ( | ) | [inline] |
Definition at line 299 of file MSchedGraphSB.h.
reverse_iterator llvm::MSchedGraphSB::rend | ( | ) | [inline] |
Definition at line 300 of file MSchedGraphSB.h.
unsigned llvm::MSchedGraphSB::size | ( | ) | [inline] |
Definition at line 298 of file MSchedGraphSB.h.
int MSchedGraphSB::totalDelay | ( | ) |
Definition at line 345 of file MSchedGraphSB.cpp.