diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineScheduler.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIMachineScheduler.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineScheduler.h b/llvm/lib/Target/AMDGPU/SIMachineScheduler.h index a2f5a1453d6a..ac34a748edbc 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineScheduler.h +++ b/llvm/lib/Target/AMDGPU/SIMachineScheduler.h @@ -25,6 +25,8 @@ namespace llvm { class SIInstrInfo; class SIRegisterInfo; +class SIScheduleDAGMI; +class SIScheduleBlockCreator; enum SIScheduleCandReason { NoCand, @@ -48,9 +50,6 @@ struct SISchedulerCandidate { void setRepeat(SIScheduleCandReason R) { RepeatReasonSet |= (1 << R); } }; -class SIScheduleDAGMI; -class SIScheduleBlockCreator; - enum SIScheduleBlockLinkKind { NoData, Data @@ -73,7 +72,7 @@ class SIScheduleBlock { // store the live virtual and real registers. // We do care only of SGPR32 and VGPR32 and do track only virtual registers. // Pressure of additional registers required inside the block. - std::vector<unsigned> InternalAdditionnalPressure; + std::vector<unsigned> InternalAdditionalPressure; // Pressure of input and output registers std::vector<unsigned> LiveInPressure; std::vector<unsigned> LiveOutPressure; @@ -154,8 +153,8 @@ public: // Needs the block to be scheduled inside // TODO: find a way to compute it. - std::vector<unsigned> &getInternalAdditionnalRegUsage() { - return InternalAdditionnalPressure; + std::vector<unsigned> &getInternalAdditionalRegUsage() { + return InternalAdditionalPressure; } std::set<unsigned> &getInRegs() { return LiveInRegs; } |
