Implement new llc flag -disable-required-unwind-tables.
[oota-llvm.git] / include / llvm / Target / TargetOptions.h
index 0d2911eb1febfefcdce49c4ccd3d43f98a50981a..881ec21a0a28b2e58723f5b2486d2e3f7aeb46fc 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -74,10 +74,19 @@ namespace llvm {
   /// be emitted.
   extern bool ExceptionHandling;
 
-  /// NewCCModeling - This temporary flag indicates whether to use the new
-  /// condition code modeling scheme.
-  extern bool NewCCModeling;
-  
+  /// UnwindTablesOptional - This flag indicates that unwind tables need not
+  /// be emitted for all functions.  Exception handling may still require them
+  /// for some functions.
+  extern bool UnwindTablesOptional;
+
+  /// PerformTailCallOpt - This flag is enabled when -tailcallopt is specified
+  /// on the commandline. When the flag is on, the target will perform tail call
+  /// optimization (pop the caller's stack) providing it supports it.
+  extern bool PerformTailCallOpt;
+
+  /// OptimizeForSize - When this flag is set, the code generator avoids 
+  /// optimizations that increase size.
+  extern bool OptimizeForSize;
 } // End llvm namespace
 
 #endif