mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
Include ADCE pass, rename include/Opt directory to llvm/Optimizations
Optimizations now in opt namespace. Rename SCCP pass to DoSCCP git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
49c8f64747
commit
95781b6ca9
@ -25,7 +25,9 @@
|
||||
#include "llvm/Bytecode/Reader.h"
|
||||
#include "llvm/Bytecode/Writer.h"
|
||||
#include "llvm/Tools/CommandLine.h"
|
||||
#include "llvm/Opt/AllOpts.h"
|
||||
#include "llvm/Optimizations/AllOpts.h"
|
||||
|
||||
using namespace opt;
|
||||
|
||||
struct {
|
||||
const string ArgName, Name;
|
||||
@ -37,8 +39,9 @@ struct {
|
||||
{ "-strip" , "Strip Symbols", DoSymbolStripping },
|
||||
{ "-mstrip" , "Strip Module Symbols", DoFullSymbolStripping },
|
||||
{ "-indvars" , "Simplify Induction Vars",DoInductionVariableCannonicalize },
|
||||
{ "-sccp" , "Sparse Conditional Constant Prop", DoSCCP<Module> },
|
||||
{ "-sccp" , "Sparse Conditional Constant Prop", DoSCCP },
|
||||
{ "-cpm" , "Constant Pool Merging", DoConstantPoolMerging },
|
||||
{ "-adce" , "Agressive DCE", DoADCE },
|
||||
};
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
Loading…
Reference in New Issue
Block a user