mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Minor changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3d3ca18b5
commit
5cdb12f958
@ -61,6 +61,10 @@ class PhyRegAlloc : public NonCopyable {
|
||||
const TargetRegInfo &MRI; // Machine Register information
|
||||
const unsigned NumOfRegClasses; // recorded here for efficiency
|
||||
|
||||
// Map to indicate whether operands of each MachineInstr have been updated
|
||||
// according to their assigned colors. This is primarily for debugging and
|
||||
// could be removed in the long run.
|
||||
std::map<const MachineInstr *, bool> OperandsColoredMap;
|
||||
|
||||
// AddedInstrMap - Used to store instrns added in this phase
|
||||
std::map<const MachineInstr *, AddedInstrns> AddedInstrMap;
|
||||
@ -116,6 +120,7 @@ private:
|
||||
void colorIncomingArgs();
|
||||
void colorCallRetArgs();
|
||||
void updateMachineCode();
|
||||
void updateInstruction(MachineInstr* MInst, BasicBlock* BB);
|
||||
|
||||
void printLabel(const Value *const Val);
|
||||
void printMachineCode();
|
||||
|
@ -61,6 +61,10 @@ class PhyRegAlloc : public NonCopyable {
|
||||
const TargetRegInfo &MRI; // Machine Register information
|
||||
const unsigned NumOfRegClasses; // recorded here for efficiency
|
||||
|
||||
// Map to indicate whether operands of each MachineInstr have been updated
|
||||
// according to their assigned colors. This is primarily for debugging and
|
||||
// could be removed in the long run.
|
||||
std::map<const MachineInstr *, bool> OperandsColoredMap;
|
||||
|
||||
// AddedInstrMap - Used to store instrns added in this phase
|
||||
std::map<const MachineInstr *, AddedInstrns> AddedInstrMap;
|
||||
@ -116,6 +120,7 @@ private:
|
||||
void colorIncomingArgs();
|
||||
void colorCallRetArgs();
|
||||
void updateMachineCode();
|
||||
void updateInstruction(MachineInstr* MInst, BasicBlock* BB);
|
||||
|
||||
void printLabel(const Value *const Val);
|
||||
void printMachineCode();
|
||||
|
Loading…
Reference in New Issue
Block a user