Delete the allocate*TargetMachine functions. Move options to a header file
[oota-llvm.git] / include / llvm / Target / TargetOptions.h
1 //===-- llvm/Target/TargetOptions.h - Target Options ------------*- C++ -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines command line option flags that are shared across various
11 // targets.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_TARGET_TARGETOPTIONS_H
16 #define LLVM_TARGET_TARGETOPTIONS_H
17
18 namespace llvm {
19   /// PrintMachineCode - This flag is enabled when the -print-machineinstrs
20   /// option is specified on the command line, and should enable debugging
21   /// output from the code generator.
22   extern bool PrintMachineCode;
23
24   /// NoFramePointerElim - This flag is enabled when the -disable-fp-elim is
25   /// specified on the command line.  If the target supports the frame pointer
26   /// elimination optimization, this option should disable it.
27   extern bool NoFramePointerElim;
28 } // End llvm namespace
29
30 #endif