Skip to content
  1. Aug 17, 2008
    • Chris Lattner's avatar
      Rework the routines that convert AP[S]Int into a string. Now, instead of · 17f7165f
      Chris Lattner authored
      returning an std::string by value, it fills in a SmallString/SmallVector
      passed in.  This significantly reduces string thrashing in some cases.
      
      More specifically, this:
       - Adds an operator<< and a print method for APInt that allows you to 
         directly send them to an ostream.
       - Reimplements APInt::toString to be much simpler and more efficient
         algorithmically in addition to not thrashing strings quite as much.
      
      This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the
      asmprinter.  This also fixes a bug I introduced into the asmwriter in a
      previous patch w.r.t. alias printing.
      
      llvm-svn: 54873
      17f7165f
  2. Aug 16, 2008
  3. Aug 15, 2008
  4. Aug 14, 2008
  5. Aug 13, 2008
  6. Aug 12, 2008
  7. Aug 11, 2008
  8. Aug 09, 2008
  9. Aug 08, 2008
  10. Aug 07, 2008
  11. Aug 06, 2008
Loading