aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2003-05-31 07:41:54 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2003-05-31 07:41:54 +0000
commit5cdb12f95819c38e81d51791c79058660f078e4c (patch)
treefdec32d94597e8ad7ed04cafa116fbdb42810f48 /lib/Target/SparcV9
parentf3d3ca18b5a36f3a331367aa9ff0c3bcbd86ca82 (diff)
downloadexternal_llvm-5cdb12f95819c38e81d51791c79058660f078e4c.zip
external_llvm-5cdb12f95819c38e81d51791c79058660f078e4c.tar.gz
external_llvm-5cdb12f95819c38e81d51791c79058660f078e4c.tar.bz2
Minor changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9')
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
index c55f8e0..731eef2 100644
--- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
+++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
@@ -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();