--added support for implicit operands in machine instructions
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Fri, 12 Oct 2001 17:46:27 +0000 (17:46 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Fri, 12 Oct 2001 17:46:27 +0000 (17:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@727 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
include/llvm/CodeGen/FunctionLiveVarInfo.h
lib/Analysis/LiveVar/BBLiveVar.h
lib/Target/SparcV9/LiveVar/BBLiveVar.h

index 6283a45aa91b347369001178658fbbc51a7e862c..ba442579fea2b3f276c38893e918ef4330ae7a7a 100644 (file)
@@ -139,6 +139,9 @@ class MethodLiveVarInfo
   const LiveVarSet * getLiveVarSetAfterMInst(const MachineInstr *const MInst,
                                             const BasicBlock *const CurBB);
 
+  // TODO: Put a method to invalidate all LVBBs, delete existin BBLivar in
+  //  BB2BBLVMap
+  // inline invalidate
 
 
  
index 6283a45aa91b347369001178658fbbc51a7e862c..ba442579fea2b3f276c38893e918ef4330ae7a7a 100644 (file)
@@ -139,6 +139,9 @@ class MethodLiveVarInfo
   const LiveVarSet * getLiveVarSetAfterMInst(const MachineInstr *const MInst,
                                             const BasicBlock *const CurBB);
 
+  // TODO: Put a method to invalidate all LVBBs, delete existin BBLivar in
+  //  BB2BBLVMap
+  // inline invalidate
 
 
  
index 55a6c3abd511348345c9741fe4a95dac9a9e2f52..6d7d4eb5334080295b281c661dae92a4ee79dc9b 100644 (file)
@@ -35,6 +35,12 @@ class BBLiveVar
                     const LiveVarSet *const InSetOfThisBB,
                     const BasicBlock *const PredBB);
 
+  // To add an operand which is a def
+  void  addDef(const Value *Op); 
+
+  // To add an operand which is a use
+  void  addUse(const Value *Op);
+
  public:
 
   BBLiveVar( const BasicBlock* baseBB, unsigned int POId);
index 55a6c3abd511348345c9741fe4a95dac9a9e2f52..6d7d4eb5334080295b281c661dae92a4ee79dc9b 100644 (file)
@@ -35,6 +35,12 @@ class BBLiveVar
                     const LiveVarSet *const InSetOfThisBB,
                     const BasicBlock *const PredBB);
 
+  // To add an operand which is a def
+  void  addDef(const Value *Op); 
+
+  // To add an operand which is a use
+  void  addUse(const Value *Op);
+
  public:
 
   BBLiveVar( const BasicBlock* baseBB, unsigned int POId);