diff --git a/llvm/include/llvm/CodeGen/DFAPacketizer.h b/llvm/include/llvm/CodeGen/DFAPacketizer.h --- a/llvm/include/llvm/CodeGen/DFAPacketizer.h +++ b/llvm/include/llvm/CodeGen/DFAPacketizer.h @@ -67,7 +67,7 @@ } protected: - void postprocessDAG(); + void postProcessDAG(); }; class DFAPacketizer { diff --git a/llvm/include/llvm/CodeGen/MachinePipeliner.h b/llvm/include/llvm/CodeGen/MachinePipeliner.h --- a/llvm/include/llvm/CodeGen/MachinePipeliner.h +++ b/llvm/include/llvm/CodeGen/MachinePipeliner.h @@ -310,7 +310,7 @@ bool canUseLastOffsetValue(MachineInstr *MI, unsigned &BasePos, unsigned &OffsetPos, unsigned &NewBase, int64_t &NewOffset); - void postprocessDAG(); + void postProcessDAG(); /// Set the Minimum Initiation Interval for this schedule attempt. void setMII(unsigned ResMII, unsigned RecMII); /// Set the Maximum Initiation Interval for this schedule attempt. diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h --- a/llvm/include/llvm/CodeGen/MachineScheduler.h +++ b/llvm/include/llvm/CodeGen/MachineScheduler.h @@ -361,7 +361,7 @@ /// Apply each ScheduleDAGMutation step in order. This allows different /// instances of ScheduleDAGMI to perform custom DAG postprocessing. - void postprocessDAG(); + void postProcessDAG(); /// Release ExitSU predecessors and setup scheduler queues. void initQueues(ArrayRef TopRoots, ArrayRef BotRoots); diff --git a/llvm/lib/CodeGen/DFAPacketizer.cpp b/llvm/lib/CodeGen/DFAPacketizer.cpp --- a/llvm/lib/CodeGen/DFAPacketizer.cpp +++ b/llvm/lib/CodeGen/DFAPacketizer.cpp @@ -104,7 +104,7 @@ } /// Apply each ScheduleDAGMutation step in order. -void DefaultVLIWScheduler::postprocessDAG() { +void DefaultVLIWScheduler::postProcessDAG() { for (auto &M : Mutations) M->apply(this); } @@ -112,7 +112,7 @@ void DefaultVLIWScheduler::schedule() { // Build the scheduling graph. buildSchedGraph(AA); - postprocessDAG(); + postProcessDAG(); } VLIWPacketizerList::VLIWPacketizerList(MachineFunction &mf, diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp --- a/llvm/lib/CodeGen/MachinePipeliner.cpp +++ b/llvm/lib/CodeGen/MachinePipeliner.cpp @@ -496,7 +496,7 @@ updatePhiDependences(); Topo.InitDAGTopologicalSorting(); changeDependences(); - postprocessDAG(); + postProcessDAG(); LLVM_DEBUG(dump()); NodeSetType NodeSets; @@ -2314,7 +2314,7 @@ return (OffsetS + (int64_t)AccessSizeS < OffsetD + (int64_t)AccessSizeD); } -void SwingSchedulerDAG::postprocessDAG() { +void SwingSchedulerDAG::postProcessDAG() { for (auto &M : Mutations) M->apply(this); } diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -792,7 +792,7 @@ // Build the DAG. buildSchedGraph(AA); - postprocessDAG(); + postProcessDAG(); SmallVector TopRoots, BotRoots; findRootsAndBiasEdges(TopRoots, BotRoots); @@ -859,7 +859,7 @@ } /// Apply each ScheduleDAGMutation step in order. -void ScheduleDAGMI::postprocessDAG() { +void ScheduleDAGMI::postProcessDAG() { for (auto &m : Mutations) m->apply(this); } @@ -1383,7 +1383,7 @@ LLVM_DEBUG(SchedImpl->dumpPolicy()); buildDAGWithRegPressure(); - postprocessDAG(); + postProcessDAG(); SmallVector TopRoots, BotRoots; findRootsAndBiasEdges(TopRoots, BotRoots); diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp --- a/llvm/lib/CodeGen/PostRASchedulerList.cpp +++ b/llvm/lib/CodeGen/PostRASchedulerList.cpp @@ -182,7 +182,7 @@ private: /// Apply each ScheduleDAGMutation step in order. - void postprocessDAG(); + void postProcessDAG(); void ReleaseSucc(SUnit *SU, SDep *SuccEdge); void ReleaseSuccessors(SUnit *SU); @@ -407,7 +407,7 @@ } } - postprocessDAG(); + postProcessDAG(); LLVM_DEBUG(dbgs() << "********** List Scheduling **********\n"); LLVM_DEBUG(dump()); @@ -436,7 +436,7 @@ } /// Apply each ScheduleDAGMutation step in order. -void SchedulePostRATDList::postprocessDAG() { +void SchedulePostRATDList::postProcessDAG() { for (auto &M : Mutations) M->apply(this); } diff --git a/llvm/lib/CodeGen/VLIWMachineScheduler.cpp b/llvm/lib/CodeGen/VLIWMachineScheduler.cpp --- a/llvm/lib/CodeGen/VLIWMachineScheduler.cpp +++ b/llvm/lib/CodeGen/VLIWMachineScheduler.cpp @@ -209,7 +209,7 @@ Topo.InitDAGTopologicalSorting(); // Postprocess the DAG to add platform-specific artificial dependencies. - postprocessDAG(); + postProcessDAG(); SmallVector TopRoots, BotRoots; findRootsAndBiasEdges(TopRoots, BotRoots); diff --git a/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp b/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp --- a/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp +++ b/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp @@ -1883,7 +1883,7 @@ LLVM_DEBUG(dbgs() << "Preparing Scheduling\n"); buildDAGWithRegPressure(); - postprocessDAG(); + postProcessDAG(); LLVM_DEBUG(dump()); if (PrintDAGs)