diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-09 20:08:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-09 20:08:03 +0000 |
commit | 179cdfb5c844005ed94409e9405473029f2296a6 (patch) | |
tree | a10f8d5fa5f0467d140c23aeab84a7c86fa9b02c /lib/Target/SparcV9/InstrSched | |
parent | b91b31c12df168816702a5e58ecdc56031b27ef6 (diff) | |
download | external_llvm-179cdfb5c844005ed94409e9405473029f2296a6.zip external_llvm-179cdfb5c844005ed94409e9405473029f2296a6.tar.gz external_llvm-179cdfb5c844005ed94409e9405473029f2296a6.tar.bz2 |
* Removed extraneous #includes
* Fixed file headers to be consistent with the rest of LLVM
* Other minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/InstrSched')
-rw-r--r-- | lib/Target/SparcV9/InstrSched/InstrScheduling.cpp | 1 | ||||
-rw-r--r-- | lib/Target/SparcV9/InstrSched/SchedGraph.h | 29 | ||||
-rw-r--r-- | lib/Target/SparcV9/InstrSched/SchedPriorities.cpp | 14 | ||||
-rw-r--r-- | lib/Target/SparcV9/InstrSched/SchedPriorities.h | 16 |
4 files changed, 19 insertions, 41 deletions
diff --git a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp index 3eae49c..97360c3 100644 --- a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp +++ b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp @@ -13,7 +13,6 @@ #include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" // FIXME: Remove when modularized better #include "llvm/Target/TargetMachine.h" #include "llvm/BasicBlock.h" -#include "llvm/Instruction.h" #include "Support/CommandLine.h" #include <algorithm> using std::cerr; diff --git a/lib/Target/SparcV9/InstrSched/SchedGraph.h b/lib/Target/SparcV9/InstrSched/SchedGraph.h index 0d59734..eac9c1c 100644 --- a/lib/Target/SparcV9/InstrSched/SchedGraph.h +++ b/lib/Target/SparcV9/InstrSched/SchedGraph.h @@ -1,20 +1,15 @@ -/* -*-C++-*- - **************************************************************************** - * File: - * SchedGraph.h - * - * Purpose: - * Scheduling graph based on SSA graph plus extra dependence edges - * capturing dependences due to machine resources (machine registers, - * CC registers, and any others). - * - * Strategy: - * This graph tries to leverage the SSA graph as much as possible, - * but captures the extra dependences through a common interface. - * - * History: - * 7/20/01 - Vikram Adve - Created - ***************************************************************************/ +//===-- SchedGraph.h - Scheduling Graph --------------------------*- C++ -*--=// +// +// Purpose: +// Scheduling graph based on SSA graph plus extra dependence edges +// capturing dependences due to machine resources (machine registers, +// CC registers, and any others). +// +// Strategy: +// This graph tries to leverage the SSA graph as much as possible, +// but captures the extra dependences through a common interface. +// +//===----------------------------------------------------------------------===// #ifndef LLVM_CODEGEN_SCHEDGRAPH_H #define LLVM_CODEGEN_SCHEDGRAPH_H diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp b/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp index 6277576..57126aa 100644 --- a/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp +++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp @@ -1,10 +1,4 @@ -// $Id$ -*-C++-*- -//*************************************************************************** -// File: -// SchedPriorities.h -// -// Purpose: -// Encapsulate heuristics for instruction scheduling. +//===-- SchedPriorities.h - Encapsulate scheduling heuristics -------------===// // // Strategy: // Priority ordering rules: @@ -13,10 +7,8 @@ // (3) Instruction that has the maximum number of dependent instructions. // Note that rules 2 and 3 are only used if issue conflicts prevent // choosing a higher priority instruction by rule 1. -// -// History: -// 7/30/01 - Vikram Adve - Created -//**************************************************************************/ +// +//===----------------------------------------------------------------------===// #include "SchedPriorities.h" #include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.h b/lib/Target/SparcV9/InstrSched/SchedPriorities.h index 4d763d2..31d974d 100644 --- a/lib/Target/SparcV9/InstrSched/SchedPriorities.h +++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.h @@ -1,10 +1,4 @@ -// -*-C++-*- -//*************************************************************************** -// File: -// SchedPriorities.h -// -// Purpose: -// Encapsulate heuristics for instruction scheduling. +//===-- SchedPriorities.h - Encapsulate scheduling heuristics --*- C++ -*--===// // // Strategy: // Priority ordering rules: @@ -13,10 +7,8 @@ // (3) Instruction that has the maximum number of dependent instructions. // Note that rules 2 and 3 are only used if issue conflicts prevent // choosing a higher priority instruction by rule 1. -// -// History: -// 7/30/01 - Vikram Adve - Created -//**************************************************************************/ +// +//===----------------------------------------------------------------------===// #ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H #define LLVM_CODEGEN_SCHEDPRIORITIES_H @@ -26,7 +18,7 @@ #include "llvm/Target/MachineSchedInfo.h" #include <list> #include <Support/hash_set> -#include <iostream> + class Function; class MachineInstr; class SchedulingManager; |