diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-23 18:03:50 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-23 18:03:50 +0000 |
commit | 0d82a54bb9f9105c7b77a792e502cd194f4de509 (patch) | |
tree | 37f652642ba082336d2dfb1c9b94e10b1fa87dfe /lib/CodeGen/RegAlloc/LiveRangeInfo.h | |
parent | a1f64355d79ce9c14a06c014df9d1054410d65ee (diff) |
* Order #includes as per style guide
* Doxygen-ify comments
* Make code layout more consistent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/LiveRangeInfo.h')
-rw-r--r-- | lib/CodeGen/RegAlloc/LiveRangeInfo.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/lib/CodeGen/RegAlloc/LiveRangeInfo.h index a9cb349af5..5c5244bd62 100644 --- a/lib/CodeGen/RegAlloc/LiveRangeInfo.h +++ b/lib/CodeGen/RegAlloc/LiveRangeInfo.h @@ -87,20 +87,22 @@ public: std::vector<RegClass *> & RCList); - // Destructor to destroy all LiveRanges in the LiveRange Map + /// Destructor to destroy all LiveRanges in the LiveRange Map + /// ~LiveRangeInfo(); // Main entry point for live range construction // void constructLiveRanges(); - // return the common live range map for this method - // + /// return the common live range map for this method + /// inline const LiveRangeMapType *getLiveRangeMap() const { return &LiveRangeMap; } - // Method used to get the live range containing a Value. - // This may return NULL if no live range exists for a Value (eg, some consts) + /// Method used to get the live range containing a Value. + /// This may return NULL if no live range exists for a Value (eg, some consts) + /// inline LiveRange *getLiveRangeForValue(const Value *Val) { return LiveRangeMap[Val]; } @@ -109,13 +111,13 @@ public: return I->second; } - // Method for coalescing live ranges. Called only after interference info - // is calculated. - // + /// Method for coalescing live ranges. Called only after interference info + /// is calculated. + /// void coalesceLRs(); - // debugging method to print the live ranges - // + /// debugging method to print the live ranges + /// void printLiveRanges(); }; |