1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-14 11:32:34 +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:
Chris Lattner 2001-06-30 06:38:31 +00:00
parent 49c8f64747
commit 95781b6ca9

View File

@ -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) {