[llvm-commits] [llvm] r148014 - in /llvm/trunk/include/llvm: CodeGen/ScheduleDAG.h Target/TargetLowering.h Target/TargetMachine.h
Evan Cheng
evan.cheng at apple.com
Wed Jan 11 18:35:24 PST 2012
Author: evancheng
Date: Wed Jan 11 20:35:23 2012
New Revision: 148014
URL: http://llvm.org/viewvc/llvm-project?rev=148014&view=rev
Log:
Move Sched::Preference out of TargetMachine.h where it is not referenced.
Modified:
llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
llvm/trunk/include/llvm/Target/TargetLowering.h
llvm/trunk/include/llvm/Target/TargetMachine.h
Modified: llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h?rev=148014&r1=148013&r2=148014&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h Wed Jan 11 20:35:23 2012
@@ -16,7 +16,7 @@
#define LLVM_CODEGEN_SCHEDULEDAG_H
#include "llvm/CodeGen/MachineBasicBlock.h"
-#include "llvm/Target/TargetMachine.h"
+#include "llvm/Target/TargetLowering.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/GraphTraits.h"
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=148014&r1=148013&r2=148014&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Wed Jan 11 20:35:23 2012
@@ -53,6 +53,15 @@
class TargetLoweringObjectFile;
class Value;
+ namespace Sched {
+ enum Preference {
+ None, // No preference
+ RegPressure, // Scheduling for lowest register pressure.
+ Hybrid, // Scheduling for both latency and register pressure.
+ ILP // Scheduling for ILP in low register pressure mode.
+ };
+ }
+
// FIXME: should this be here?
namespace TLSModel {
enum Model {
Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=148014&r1=148013&r2=148014&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachine.h Wed Jan 11 20:35:23 2012
@@ -44,15 +44,6 @@
class formatted_raw_ostream;
class raw_ostream;
-namespace Sched {
- enum Preference {
- None, // No preference
- RegPressure, // Scheduling for lowest register pressure.
- Hybrid, // Scheduling for both latency and register pressure.
- ILP // Scheduling for ILP in low register pressure mode.
- };
-}
-
//===----------------------------------------------------------------------===//
///
/// TargetMachine - Primary interface to the complete machine description for
More information about the llvm-commits
mailing list