[llvm-commits] CVS: llvm/include/llvm/Target/TargetOptions.h TargetMachineImpls.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Jul 10 23:17:01 PDT 2004
Changes in directory llvm/include/llvm/Target:
TargetOptions.h added (r1.1)
TargetMachineImpls.h (r1.16) removed
---
Log message:
Delete the allocate*TargetMachine functions. Move options to a header file
that makes sense.
---
Diffs of the changes: (+30 -0)
Index: llvm/include/llvm/Target/TargetOptions.h
diff -c /dev/null llvm/include/llvm/Target/TargetOptions.h:1.1
*** /dev/null Sat Jul 10 23:16:02 2004
--- llvm/include/llvm/Target/TargetOptions.h Sat Jul 10 23:15:52 2004
***************
*** 0 ****
--- 1,30 ----
+ //===-- llvm/Target/TargetOptions.h - Target Options ------------*- C++ -*-===//
+ //
+ // 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 defines command line option flags that are shared across various
+ // targets.
+ //
+ //===----------------------------------------------------------------------===//
+
+ #ifndef LLVM_TARGET_TARGETOPTIONS_H
+ #define LLVM_TARGET_TARGETOPTIONS_H
+
+ namespace llvm {
+ /// PrintMachineCode - This flag is enabled when the -print-machineinstrs
+ /// option is specified on the command line, and should enable debugging
+ /// output from the code generator.
+ extern bool PrintMachineCode;
+
+ /// NoFramePointerElim - This flag is enabled when the -disable-fp-elim is
+ /// specified on the command line. If the target supports the frame pointer
+ /// elimination optimization, this option should disable it.
+ extern bool NoFramePointerElim;
+ } // End llvm namespace
+
+ #endif
More information about the llvm-commits
mailing list