mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Add a new scheduling type. This is, of course, a hack. Proper factoring
will come later. llvm-svn: 26551
This commit is contained in:
parent
49ccda9563
commit
a171bcca08
@ -34,17 +34,16 @@ namespace llvm {
|
||||
typedef std::vector<NodeInfoPtr> NIVector;
|
||||
typedef std::vector<NodeInfoPtr>::iterator NIIterator;
|
||||
|
||||
|
||||
// Scheduling heuristics
|
||||
enum SchedHeuristics {
|
||||
defaultScheduling, // Let the target specify its preference.
|
||||
noScheduling, // No scheduling, emit breath first sequence.
|
||||
simpleScheduling, // Two pass, min. critical path, max. utilization.
|
||||
simpleNoItinScheduling, // Same as above exact using generic latency.
|
||||
listSchedulingBURR // Bottom up reg reduction list scheduling.
|
||||
listSchedulingBURR, // Bottom up reg reduction list scheduling.
|
||||
listSchedulingG5 // G5-specific scheduler. FIXME: parameterize better
|
||||
};
|
||||
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
///
|
||||
/// Node group - This struct is used to manage flagged node groups.
|
||||
@ -359,6 +358,12 @@ namespace llvm {
|
||||
/// reduction list scheduler.
|
||||
ScheduleDAG* createBURRListDAGScheduler(SelectionDAG &DAG,
|
||||
MachineBasicBlock *BB);
|
||||
|
||||
/// createTDG5ListDAGScheduler - This creates a top-down list scheduler for
|
||||
/// the PowerPC G5. FIXME: pull the priority function out into the PPC
|
||||
/// backend!
|
||||
ScheduleDAG* createTDG5ListDAGScheduler(SelectionDAG &DAG,
|
||||
MachineBasicBlock *BB);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user