mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 10:32:56 +00:00
Minor cleanups to follow the common convention for pass
registration variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2a3bbc668
commit
cfbe401e8b
@ -61,16 +61,16 @@ namespace {
|
||||
AU.addRequired<CallGraph>();
|
||||
}
|
||||
};
|
||||
|
||||
char CFGSCC::ID = 0;
|
||||
RegisterPass<CFGSCC>
|
||||
Y("print-cfg-sccs", "Print SCCs of each function CFG");
|
||||
|
||||
char CallGraphSCC::ID = 0;
|
||||
RegisterPass<CallGraphSCC>
|
||||
Z("print-callgraph-sccs", "Print SCCs of the Call Graph");
|
||||
}
|
||||
|
||||
char CFGSCC::ID = 0;
|
||||
static RegisterPass<CFGSCC>
|
||||
Y("print-cfg-sccs", "Print SCCs of each function CFG");
|
||||
|
||||
char CallGraphSCC::ID = 0;
|
||||
static RegisterPass<CallGraphSCC>
|
||||
Z("print-callgraph-sccs", "Print SCCs of the Call Graph");
|
||||
|
||||
bool CFGSCC::runOnFunction(Function &F) {
|
||||
unsigned sccNum = 0;
|
||||
outs() << "SCCs for Function " << F.getName() << " in PostOrder:";
|
||||
|
Loading…
x
Reference in New Issue
Block a user