llvm.org GIT mirror llvm / 396c8c3
* 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 Misha Brukman 15 years ago
4 changed file(s) with 44 addition(s) and 42 deletion(s). Raw diff Collapse all Expand all
1919 //
2020 //===----------------------------------------------------------------------===//
2121
22 #include "IGNode.h"
2223 #include "PhyRegAlloc.h"
2324 #include "RegAllocCommon.h"
2425 #include "RegClass.h"
25 #include "IGNode.h"
26 #include "llvm/Constants.h"
27 #include "llvm/DerivedTypes.h"
28 #include "llvm/iOther.h"
29 #include "llvm/Module.h"
30 #include "llvm/Type.h"
31 #include "llvm/Analysis/LoopInfo.h"
2632 #include "llvm/CodeGen/FunctionLiveVarInfo.h"
2733 #include "llvm/CodeGen/InstrSelection.h"
34 #include "llvm/CodeGen/MachineFunction.h"
35 #include "llvm/CodeGen/MachineFunctionInfo.h"
2836 #include "llvm/CodeGen/MachineInstr.h"
2937 #include "llvm/CodeGen/MachineInstrBuilder.h"
3038 #include "llvm/CodeGen/MachineInstrAnnot.h"
31 #include "llvm/CodeGen/MachineFunction.h"
32 #include "llvm/CodeGen/MachineFunctionInfo.h"
3339 #include "llvm/CodeGen/Passes.h"
34 #include "llvm/Analysis/LoopInfo.h"
40 #include "llvm/Support/InstIterator.h"
3541 #include "llvm/Target/TargetInstrInfo.h"
36 #include "llvm/Type.h"
37 #include "llvm/iOther.h"
38 #include "llvm/DerivedTypes.h"
39 #include "llvm/Constants.h"
40 #include "llvm/Module.h"
41 #include "llvm/Support/InstIterator.h"
42 #include "Support/CommandLine.h"
43 #include "Support/SetOperations.h"
4244 #include "Support/STLExtras.h"
43 #include "Support/SetOperations.h"
44 #include "Support/CommandLine.h"
4545 #include
4646
4747 RegAllocDebugLevel_t DEBUG_RA;
2626 #include "LiveRangeInfo.h"
2727 #include "llvm/Pass.h"
2828 #include "llvm/CodeGen/MachineBasicBlock.h"
29 #include "llvm/Target/TargetMachine.h"
2930 #include "llvm/Target/TargetRegInfo.h"
30 #include "llvm/Target/TargetMachine.h"
3131 #include
3232
3333 class MachineFunction;
135135 MachineBasicBlock::iterator& MII,
136136 MachineBasicBlock &MBB, unsigned OpNum);
137137
138 // Method for inserting caller saving code. The caller must save all the
139 // volatile registers live across a call.
138 /// Method for inserting caller saving code. The caller must save all the
139 /// volatile registers live across a call.
140 ///
140141 void insertCallerSavingCode(std::vector& instrnsBefore,
141142 std::vector& instrnsAfter,
142143 MachineInstr *CallMI,
153154 std::vector& MIBef,
154155 std::vector& MIAft);
155156
156 // Callback method used to find unused registers.
157 // LVSetBef is the live variable set to search for an unused register.
158 // If it is not specified, the LV set before the current MI is used.
159 // This is sufficient as long as no new copy instructions are generated
160 // to copy the free register to memory.
161 //
157 /// Callback method used to find unused registers.
158 /// LVSetBef is the live variable set to search for an unused register.
159 /// If it is not specified, the LV set before the current MI is used.
160 /// This is sufficient as long as no new copy instructions are generated
161 /// to copy the free register to memory.
162 ///
162163 int getUnusedUniRegAtMI(RegClass *RC, int RegType,
163164 const MachineInstr *MI,
164165 const ValueSet *LVSetBef = 0);
1919 //
2020 //===----------------------------------------------------------------------===//
2121
22 #include "IGNode.h"
2223 #include "PhyRegAlloc.h"
2324 #include "RegAllocCommon.h"
2425 #include "RegClass.h"
25 #include "IGNode.h"
26 #include "llvm/Constants.h"
27 #include "llvm/DerivedTypes.h"
28 #include "llvm/iOther.h"
29 #include "llvm/Module.h"
30 #include "llvm/Type.h"
31 #include "llvm/Analysis/LoopInfo.h"
2632 #include "llvm/CodeGen/FunctionLiveVarInfo.h"
2733 #include "llvm/CodeGen/InstrSelection.h"
34 #include "llvm/CodeGen/MachineFunction.h"
35 #include "llvm/CodeGen/MachineFunctionInfo.h"
2836 #include "llvm/CodeGen/MachineInstr.h"
2937 #include "llvm/CodeGen/MachineInstrBuilder.h"
3038 #include "llvm/CodeGen/MachineInstrAnnot.h"
31 #include "llvm/CodeGen/MachineFunction.h"
32 #include "llvm/CodeGen/MachineFunctionInfo.h"
3339 #include "llvm/CodeGen/Passes.h"
34 #include "llvm/Analysis/LoopInfo.h"
40 #include "llvm/Support/InstIterator.h"
3541 #include "llvm/Target/TargetInstrInfo.h"
36 #include "llvm/Type.h"
37 #include "llvm/iOther.h"
38 #include "llvm/DerivedTypes.h"
39 #include "llvm/Constants.h"
40 #include "llvm/Module.h"
41 #include "llvm/Support/InstIterator.h"
42 #include "Support/CommandLine.h"
43 #include "Support/SetOperations.h"
4244 #include "Support/STLExtras.h"
43 #include "Support/SetOperations.h"
44 #include "Support/CommandLine.h"
4545 #include
4646
4747 RegAllocDebugLevel_t DEBUG_RA;
2626 #include "LiveRangeInfo.h"
2727 #include "llvm/Pass.h"
2828 #include "llvm/CodeGen/MachineBasicBlock.h"
29 #include "llvm/Target/TargetMachine.h"
2930 #include "llvm/Target/TargetRegInfo.h"
30 #include "llvm/Target/TargetMachine.h"
3131 #include
3232
3333 class MachineFunction;
135135 MachineBasicBlock::iterator& MII,
136136 MachineBasicBlock &MBB, unsigned OpNum);
137137
138 // Method for inserting caller saving code. The caller must save all the
139 // volatile registers live across a call.
138 /// Method for inserting caller saving code. The caller must save all the
139 /// volatile registers live across a call.
140 ///
140141 void insertCallerSavingCode(std::vector& instrnsBefore,
141142 std::vector& instrnsAfter,
142143 MachineInstr *CallMI,
153154 std::vector& MIBef,
154155 std::vector& MIAft);
155156
156 // Callback method used to find unused registers.
157 // LVSetBef is the live variable set to search for an unused register.
158 // If it is not specified, the LV set before the current MI is used.
159 // This is sufficient as long as no new copy instructions are generated
160 // to copy the free register to memory.
161 //
157 /// Callback method used to find unused registers.
158 /// LVSetBef is the live variable set to search for an unused register.
159 /// If it is not specified, the LV set before the current MI is used.
160 /// This is sufficient as long as no new copy instructions are generated
161 /// to copy the free register to memory.
162 ///
162163 int getUnusedUniRegAtMI(RegClass *RC, int RegType,
163164 const MachineInstr *MI,
164165 const ValueSet *LVSetBef = 0);