summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-11-03 17:14:44 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-11-03 17:14:44 +0000
commitca632ed71aedb74790257246d08854a888ca3a84 (patch)
tree57a7447d78db1c038a469bf4a3afea3cae791fb3 /llvm/lib/CodeGen
parent97b93aea81c6e48ad795708d95e47812486eb339 (diff)
downloadbcm5719-llvm-ca632ed71aedb74790257246d08854a888ca3a84.tar.gz
bcm5719-llvm-ca632ed71aedb74790257246d08854a888ca3a84.zip
Arranged stack frame - needs furhter organization
llvm-svn: 1108
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
index 59de6195314..0380e803add 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
@@ -151,10 +151,13 @@ class PhyRegAlloc
//vector<const Instruction *> CallInstrList; // a list of all call instrs
//vector<const Instruction *> RetInstrList; // a list of all return instrs
+
AddedInstrMapType AddedInstrMap; // to store instrns added in this phase
RegStackOffsets StackOffsets;
+ vector<const MachineInstr *> PhiInstList; // a list of all phi instrs
+
//------- private methods ---------------------------------------------------
void addInterference(const Value *const Def, const LiveVarSet *const LVSet,
@@ -194,6 +197,7 @@ class PhyRegAlloc
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
+ void PhyRegAlloc::insertPhiEleminateInstrns();
public:
@@ -206,6 +210,20 @@ class PhyRegAlloc
+/*
+
+
+What to do:
+
+ * Insert IntCCReg checking code to insertCallerSaving
+ * add methods like cpCCReg2Mem & cpMem2CCReg (these will accept an array
+ and push back or push_front the instr according to PUSH_BACK, PUSH_FRONT
+ flags
+
+*/
+
+
+
OpenPOWER on IntegriCloud