[llvm] r209339 - Group the scheduling functions together.
Eric Christopher
echristo at gmail.com
Wed May 21 16:40:19 PDT 2014
Author: echristo
Date: Wed May 21 18:40:18 2014
New Revision: 209339
URL: http://llvm.org/viewvc/llvm-project?rev=209339&view=rev
Log:
Group the scheduling functions together.
Modified:
llvm/trunk/include/llvm/Target/TargetSubtargetInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetSubtargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetSubtargetInfo.h?rev=209339&r1=209338&r2=209339&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetSubtargetInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetSubtargetInfo.h Wed May 21 18:40:18 2014
@@ -76,6 +76,11 @@ public:
MachineInstr *end,
unsigned NumRegionInstrs) const {}
+ // \brief Perform target specific adjustments to the latency of a schedule
+ // dependency.
+ virtual void adjustSchedDependency(SUnit *def, SUnit *use,
+ SDep& dep) const { }
+
// enablePostRAScheduler - If the target can benefit from post-regalloc
// scheduling and the specified optimization level meets the requirement
// return true to enable post-register-allocation scheduling. In
@@ -84,10 +89,6 @@ public:
virtual bool enablePostRAScheduler(CodeGenOpt::Level OptLevel,
AntiDepBreakMode& Mode,
RegClassVector& CriticalPathRCs) const;
- // adjustSchedDependency - Perform target specific adjustments to
- // the latency of a schedule dependency.
- virtual void adjustSchedDependency(SUnit *def, SUnit *use,
- SDep& dep) const { }
/// \brief Enable use of alias analysis during code generation (during MI
/// scheduling, DAGCombine, etc.).
More information about the llvm-commits
mailing list