33 #define DEBUG_NAME "compiler2/GraphHelper"
47 for (EndInst::SuccessorListTy::const_reverse_iterator
i = ve->
succ_rbegin(),
49 list.insert(
i->get());
52 for (EndInst::SuccessorListTy::const_iterator
i = ve->
succ_begin(),
54 list.insert(
i->get());
This Instruction mark the start of a basic block.
A basic block of (scheduled) machine instructions.
This Instruction mark the end of a basic block.
successor_iterator successor_begin()
virtual IFInst * to_IFInst()
SuccessorListTy::const_reverse_iterator succ_rbegin() const
const_reference back() const
access the last element
SuccessorListTy::const_reverse_iterator succ_rend() const
SuccessorListTy::const_iterator succ_end() const
EndInst * get_EndInst() const
std::size_t size() const
returns the number of elements
successor_iterator successor_end()
MachineInstructionSchedule * get_parent() const
get parent
SuccessorListTy::const_iterator succ_begin() const
alloc::set< _NodeTy * >::type NodeListTy
Proxy to encode explicit and implicit successors.
Method * get_Method() const
NodeListTy & successor(_NodeTy *v, NodeListTy &list)
int num_nodes(_NodeTy *v) const