[llvm-commits] [regalloc_linearscan] CVS: llvm/include/llvm/CodeGen/LiveIntervals.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Tue Nov 4 01:58:01 PST 2003


Changes in directory llvm/include/llvm/CodeGen:

LiveIntervals.h updated: 1.1.2.3 -> 1.1.2.4

---
Log message:

Change private member variable names to have a trailing rather than a leading underscore.


---
Diffs of the changes:  (+11 -10)

Index: llvm/include/llvm/CodeGen/LiveIntervals.h
diff -u llvm/include/llvm/CodeGen/LiveIntervals.h:1.1.2.3 llvm/include/llvm/CodeGen/LiveIntervals.h:1.1.2.4
--- llvm/include/llvm/CodeGen/LiveIntervals.h:1.1.2.3	Sun Oct 26 20:37:59 2003
+++ llvm/include/llvm/CodeGen/LiveIntervals.h	Tue Nov  4 01:57:28 2003
@@ -97,27 +97,28 @@
     };
 
 private:
-    MachineFunction* _mf;
-    const TargetMachine* _tm;
-    const MRegisterInfo* _mri;
-    MachineBasicBlock* _currentMbb;
-    MachineBasicBlock::iterator _currentInstr;
-    LiveVariables* _lv;
+    MachineFunction* mf_;
+    const TargetMachine* tm_;
+    const MRegisterInfo* mri_;
+    MachineBasicBlock* currentMbb_;
+    MachineBasicBlock::iterator currentInstr_;
+    LiveVariables* lv_;
 
     typedef std::map<unsigned, MachineBasicBlock*> Index2MbbMap;
-    Index2MbbMap _i2mbbMap;
+    Index2MbbMap i2mbbMap_;
 
     typedef std::map<MachineInstr*, unsigned> Mi2IndexMap;
-    Mi2IndexMap _mi2iMap;
+    Mi2IndexMap mi2iMap_;
 
     typedef std::vector<Interval> Intervals;
-    Intervals _intervals;
+    Intervals intervals_;
 
     typedef std::map<unsigned, unsigned> Reg2IntervalMap;
-    Reg2IntervalMap _r2iMap;
+    Reg2IntervalMap r2iMap_;
 
 public:
     virtual void getAnalysisUsage(AnalysisUsage &AU) const;
+    Intervals& getIntervals() { return intervals_; }
 
 private:
     /// runOnMachineFunction - pass entry point





More information about the llvm-commits mailing list