diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-31 19:55:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-31 19:55:06 +0000 |
commit | 729d73d425430c285116af0d1ae523e95c3fa9eb (patch) | |
tree | 403bb9742ba28a02dd38a0c32be6b420ef51d7e7 | |
parent | 56ef49f5c63e4fbf449ef81af047462bd93737b7 (diff) |
Don't explicitly use the SCC class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8271 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/IPA/PrintSCC.cpp | 4 | ||||
-rw-r--r-- | lib/Analysis/PrintSCC.cpp | 4 | ||||
-rw-r--r-- | tools/analyze/PrintSCC.cpp | 4 | ||||
-rw-r--r-- | tools/opt/PrintSCC.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/Analysis/IPA/PrintSCC.cpp b/lib/Analysis/IPA/PrintSCC.cpp index 80f699597d..0fbc240188 100644 --- a/lib/Analysis/IPA/PrintSCC.cpp +++ b/lib/Analysis/IPA/PrintSCC.cpp @@ -59,7 +59,7 @@ bool CFGSCC::runOnFunction(Function &F) { std::cout << "SCCs for Function " << F.getName() << " in PostOrder:"; for (TarjanSCC_iterator<Function*> SCCI = tarj_begin(&F), E = tarj_end(&F); SCCI != E; ++SCCI) { - SCC<Function*> &nextSCC = *SCCI; + std::vector<BasicBlock*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<BasicBlock*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) @@ -80,7 +80,7 @@ bool CallGraphSCC::run(Module &M) { std::cout << "SCCs for the program in PostOrder:"; for (TarjanSCC_iterator<CallGraphNode*> SCCI = tarj_begin(rootNode), E = tarj_end(rootNode); SCCI != E; ++SCCI) { - const SCC<CallGraphNode*> &nextSCC = *SCCI; + const std::vector<CallGraphNode*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) diff --git a/lib/Analysis/PrintSCC.cpp b/lib/Analysis/PrintSCC.cpp index 80f699597d..0fbc240188 100644 --- a/lib/Analysis/PrintSCC.cpp +++ b/lib/Analysis/PrintSCC.cpp @@ -59,7 +59,7 @@ bool CFGSCC::runOnFunction(Function &F) { std::cout << "SCCs for Function " << F.getName() << " in PostOrder:"; for (TarjanSCC_iterator<Function*> SCCI = tarj_begin(&F), E = tarj_end(&F); SCCI != E; ++SCCI) { - SCC<Function*> &nextSCC = *SCCI; + std::vector<BasicBlock*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<BasicBlock*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) @@ -80,7 +80,7 @@ bool CallGraphSCC::run(Module &M) { std::cout << "SCCs for the program in PostOrder:"; for (TarjanSCC_iterator<CallGraphNode*> SCCI = tarj_begin(rootNode), E = tarj_end(rootNode); SCCI != E; ++SCCI) { - const SCC<CallGraphNode*> &nextSCC = *SCCI; + const std::vector<CallGraphNode*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) diff --git a/tools/analyze/PrintSCC.cpp b/tools/analyze/PrintSCC.cpp index 80f699597d..0fbc240188 100644 --- a/tools/analyze/PrintSCC.cpp +++ b/tools/analyze/PrintSCC.cpp @@ -59,7 +59,7 @@ bool CFGSCC::runOnFunction(Function &F) { std::cout << "SCCs for Function " << F.getName() << " in PostOrder:"; for (TarjanSCC_iterator<Function*> SCCI = tarj_begin(&F), E = tarj_end(&F); SCCI != E; ++SCCI) { - SCC<Function*> &nextSCC = *SCCI; + std::vector<BasicBlock*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<BasicBlock*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) @@ -80,7 +80,7 @@ bool CallGraphSCC::run(Module &M) { std::cout << "SCCs for the program in PostOrder:"; for (TarjanSCC_iterator<CallGraphNode*> SCCI = tarj_begin(rootNode), E = tarj_end(rootNode); SCCI != E; ++SCCI) { - const SCC<CallGraphNode*> &nextSCC = *SCCI; + const std::vector<CallGraphNode*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp index 80f699597d..0fbc240188 100644 --- a/tools/opt/PrintSCC.cpp +++ b/tools/opt/PrintSCC.cpp @@ -59,7 +59,7 @@ bool CFGSCC::runOnFunction(Function &F) { std::cout << "SCCs for Function " << F.getName() << " in PostOrder:"; for (TarjanSCC_iterator<Function*> SCCI = tarj_begin(&F), E = tarj_end(&F); SCCI != E; ++SCCI) { - SCC<Function*> &nextSCC = *SCCI; + std::vector<BasicBlock*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<BasicBlock*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) @@ -80,7 +80,7 @@ bool CallGraphSCC::run(Module &M) { std::cout << "SCCs for the program in PostOrder:"; for (TarjanSCC_iterator<CallGraphNode*> SCCI = tarj_begin(rootNode), E = tarj_end(rootNode); SCCI != E; ++SCCI) { - const SCC<CallGraphNode*> &nextSCC = *SCCI; + const std::vector<CallGraphNode*> &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) |