Added InstrSchedClass to each of the PowerPC Instructions.
[oota-llvm.git] / lib / Target / TargetMachine.cpp
index f4b9039f482be573d82d5995c2fb30838a1fd55a..82759e8280c81aaa59bc6c787f10c0b3cb2fed39 100644 (file)
@@ -25,8 +25,8 @@ namespace llvm {
   bool PrintMachineCode;
   bool NoFramePointerElim;
   bool NoExcessFPPrecision;
-  int  PatternISelTriState;
   bool UnsafeFPMath;
+  bool PICEnabled;
 };
 namespace {
   cl::opt<bool, true> PrintCode("print-machineinstrs",
@@ -43,15 +43,16 @@ namespace {
                cl::desc("Disable optimizations that may increase FP precision"),
                cl::location(NoExcessFPPrecision),
                cl::init(false));
-  cl::opt<int, true> PatternISel("enable-pattern-isel",
-                    cl::desc("Turn the pattern ISel off(0), on(1), default(2)"),
-                    cl::location(PatternISelTriState),
-                    cl::init(2));
   cl::opt<bool, true>
   EnableUnsafeFPMath("enable-unsafe-fp-math",
                cl::desc("Enable optimizations that may decrease FP precision"),
                cl::location(UnsafeFPMath),
                cl::init(false));
+  cl::opt<bool, true>
+  EnablePIC("enable-pic",
+               cl::desc("Enable generation of position independant code"),
+               cl::location(PICEnabled),
+               cl::init(false));
 };
 
 //---------------------------------------------------------------------------