Skip to content
  1. Nov 11, 2010
    • Jakob Stoklund Olesen's avatar
      Insert two blank SlotIndexes between basic blocks instead of just one. · c400670b
      Jakob Stoklund Olesen authored
      This is the first small step towards using closed intervals for liveness instead
      of the half-open intervals we're using now.
      
      We want to be able to distinguish between a SlotIndex that represents a variable
      being live-out of a basic block, and an index representing a variable live-in to
      its successor.
      
      That requires two separate indexes between blocks. One for live-outs and one for
      live-ins.
      
      With this change, getMBBEndIdx(MBB).getPrevSlot() becomes stable so it stays
      greater than any instructions inserted at the end of MBB.
      
      llvm-svn: 118747
      c400670b
  2. Oct 08, 2010
  3. Sep 25, 2010
  4. Jul 22, 2010
  5. Jun 24, 2010
  6. Feb 10, 2010
  7. Feb 09, 2010
  8. Jan 22, 2010
  9. Jan 05, 2010
  10. Dec 22, 2009
  11. Nov 14, 2009
  12. Nov 10, 2009
    • Jeffrey Yasskin's avatar
      Fix DenseMap iterator constness. · b40d3f76
      Jeffrey Yasskin authored
      This patch forbids implicit conversion of DenseMap::const_iterator to
      DenseMap::iterator which was possible because DenseMapIterator inherited
      (publicly) from DenseMapConstIterator. Conversion the other way around is now
      allowed as one may expect.
      
      The template DenseMapConstIterator is removed and the template parameter
      IsConst which specifies whether the iterator is constant is added to
      DenseMapIterator.
      
      Actually IsConst parameter is not necessary since the constness can be
      determined from KeyT but this is not relevant to the fix and can be addressed
      later.
      
      Patch by Victor Zverovich!
      
      llvm-svn: 86636
      b40d3f76
  13. Nov 08, 2009
  14. Nov 07, 2009
  15. Nov 05, 2009
  16. Nov 04, 2009
    • Lang Hames's avatar
      Handle empty/tombstone keys for LiveIndex more cleanly. Check for index sanity... · 289b8a2b
      Lang Hames authored
      Handle empty/tombstone keys for LiveIndex more cleanly. Check for index sanity when constructing index list entries.
      
      llvm-svn: 86049
      289b8a2b
    • Lang Hames's avatar
      The Indexes Patch. · 05fb9637
      Lang Hames authored
      This introduces a new pass, SlotIndexes, which is responsible for numbering
      instructions for register allocation (and other clients). SlotIndexes numbering
      is designed to match the existing scheme, so this patch should not cause any
      changes in the generated code.
      
      For consistency, and to avoid naming confusion, LiveIndex has been renamed
      SlotIndex.
      
      The processImplicitDefs method of the LiveIntervals analysis has been moved
      into its own pass so that it can be run prior to SlotIndexes. This was
      necessary to match the existing numbering scheme.
      
      llvm-svn: 85979
      05fb9637
Loading