Pull iterators out of CFG.h and CFGdecls and put them in Support directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-09-28 22:56:31 +00:00
parent c56d779501
commit 3ff4387113
24 changed files with 284 additions and 458 deletions

View File

@@ -19,6 +19,7 @@
//**************************************************************************/
#include "SchedPriorities.h"
#include "llvm/Support/PostOrderIterator.h"
SchedPriorities::SchedPriorities(const Method* method,
@@ -50,8 +51,7 @@ SchedPriorities::initialize()
void
SchedPriorities::computeDelays(const SchedGraph* graph)
{
sg_po_const_iterator poIter = sg_po_const_iterator::begin(graph->getRoot());
sg_po_const_iterator poEnd = sg_po_const_iterator::end( graph->getRoot());
po_iterator<const SchedGraph*> poIter = po_begin(graph), poEnd =po_end(graph);
for ( ; poIter != poEnd; ++poIter)
{
const SchedGraphNode* node = *poIter;