diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-23 18:06:27 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-23 18:06:27 +0000 |
commit | 396c8c34edac7fa93168a8b57a9af3ea93567369 (patch) | |
tree | b0b133301ac2a422fc9c9075517ce262cdccdc23 /lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h | |
parent | 0d82a54bb9f9105c7b77a792e502cd194f4de509 (diff) | |
download | external_llvm-396c8c34edac7fa93168a8b57a9af3ea93567369.zip external_llvm-396c8c34edac7fa93168a8b57a9af3ea93567369.tar.gz external_llvm-396c8c34edac7fa93168a8b57a9af3ea93567369.tar.bz2 |
* Fix order of #include files
* Doxygen-ify method comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h')
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h index b4cec8c..e93c51d 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h @@ -27,8 +27,8 @@ #include "LiveRangeInfo.h" #include "llvm/Pass.h" #include "llvm/CodeGen/MachineBasicBlock.h" -#include "llvm/Target/TargetRegInfo.h" #include "llvm/Target/TargetMachine.h" +#include "llvm/Target/TargetRegInfo.h" #include <map> class MachineFunction; @@ -136,8 +136,9 @@ private: MachineBasicBlock::iterator& MII, MachineBasicBlock &MBB, unsigned OpNum); - // Method for inserting caller saving code. The caller must save all the - // volatile registers live across a call. + /// Method for inserting caller saving code. The caller must save all the + /// volatile registers live across a call. + /// void insertCallerSavingCode(std::vector<MachineInstr*>& instrnsBefore, std::vector<MachineInstr*>& instrnsAfter, MachineInstr *CallMI, @@ -154,12 +155,12 @@ private: std::vector<MachineInstr*>& MIBef, std::vector<MachineInstr*>& MIAft); - // Callback method used to find unused registers. - // LVSetBef is the live variable set to search for an unused register. - // If it is not specified, the LV set before the current MI is used. - // This is sufficient as long as no new copy instructions are generated - // to copy the free register to memory. - // + /// Callback method used to find unused registers. + /// LVSetBef is the live variable set to search for an unused register. + /// If it is not specified, the LV set before the current MI is used. + /// This is sufficient as long as no new copy instructions are generated + /// to copy the free register to memory. + /// int getUnusedUniRegAtMI(RegClass *RC, int RegType, const MachineInstr *MI, const ValueSet *LVSetBef = 0); |