Skip to content
  1. Aug 24, 2008
    • Chris Lattner's avatar
      get MachineConstantPool off std::ostream, onto raw_ostream. It would be · 838aff36
      Chris Lattner authored
      really nice if someone converted MachineFunction::print to raw_ostream.
      
      llvm-svn: 55268
      838aff36
    • Chris Lattner's avatar
      Switch the asmprinter (.ll) and all the stuff it requires over to · 0c19df48
      Chris Lattner authored
      use raw_ostream instead of std::ostream.  Among other goodness,
      this speeds up llvm-dis of kc++ with a release build from 0.85s
      to 0.49s (88% faster).
      
      Other interesting changes:
       1) This makes Value::print be non-virtual.
       2) AP[S]Int and ConstantRange can no longer print to ostream directly, 
          use raw_ostream instead.
       3) This fixes a bug in raw_os_ostream where it didn't flush itself 
          when destroyed.
       4) This adds a new SDNode::print method, instead of only allowing "dump".
      
      
      A lot of APIs have both std::ostream and raw_ostream versions, it would
      be useful to go through and systematically anihilate the std::ostream 
      versions.
      
      This passes dejagnu, but there may be minor fallout, plz let me know if
      so and I'll fix it.
      
      llvm-svn: 55263
      0c19df48
  2. Jul 28, 2008
    • Dan Gohman's avatar
      Fold the useful features of alist and alist_node into ilist, and · 804c95df
      Dan Gohman authored
      a new ilist_node class, and remove them. Unlike alist_node,
      ilist_node doesn't attempt to manage storage itself, so it avoids
      the associated problems, including being opaque in gdb.
      
      Adjust the Recycler class so that it doesn't depend on alist_node.
      Also, change it to use explicit Size and Align parameters, allowing
      it to work when the largest-sized node doesn't have the greatest
      alignment requirement.
      
      Change MachineInstr's MachineMemOperand list from a pool-backed
      alist to a std::list for now.
      
      llvm-svn: 54146
      804c95df
  3. Jul 21, 2008
  4. Jul 11, 2008
  5. Jul 08, 2008
    • Dan Gohman's avatar
      Pool-allocation for MachineInstrs, MachineBasicBlocks, and · 3b460303
      Dan Gohman authored
      MachineMemOperands. The pools are owned by MachineFunctions.
      
      This drastically reduces the number of calls to malloc/free made
      during the "Emit" phase of scheduling, as well as later phases
      in CodeGen. Combined with other changes, this speeds up the
      "instruction selection" phase of CodeGen by 10% in some cases.
      
      llvm-svn: 53212
      3b460303
  6. Apr 06, 2008
  7. Feb 27, 2008
  8. Feb 26, 2008
  9. Feb 10, 2008
  10. Jan 25, 2008
  11. Dec 31, 2007
  12. Dec 29, 2007
  13. Nov 05, 2007
    • Duncan Sands's avatar
      Eliminate the remaining uses of getTypeSize. This · 283207a7
      Duncan Sands authored
      should only effect x86 when using long double.  Now
      12/16 bytes are output for long double globals (the
      exact amount depends on the alignment).  This brings
      globals in line with the rest of LLVM: the space
      reserved for an object is now always the ABI size.
      One tricky point is that only 10 bytes should be
      output for long double if it is a field in a packed
      struct, which is the reason for the additional
      argument to EmitGlobalConstant.
      
      llvm-svn: 43688
      283207a7
  14. Oct 03, 2007
  15. May 03, 2007
  16. May 02, 2007
  17. May 01, 2007
  18. Apr 26, 2007
  19. Apr 25, 2007
  20. Feb 14, 2007
  21. Jan 20, 2007
  22. Dec 22, 2006
  23. Dec 14, 2006
  24. Dec 07, 2006
  25. Oct 28, 2006
  26. Oct 03, 2006
  27. Sep 14, 2006
  28. Sep 12, 2006
  29. Aug 27, 2006
  30. Jul 15, 2006
  31. Jun 29, 2006
  32. Jun 27, 2006
    • Reid Spencer's avatar
      For PR801: · ee7eaa25
      Reid Spencer authored
      Refactor the Graph writing code to use a common implementation which is
      now in lib/Support/GraphWriter.cpp. This completes the PR.
      
      Patch by Anton Korobeynikov. Thanks, Anton!
      
      llvm-svn: 28925
      ee7eaa25
  33. Jun 05, 2006
    • Reid Spencer's avatar
      For PR798: · 7c77323e
      Reid Spencer authored
      Add support for Graphviz. Patch contributed by Anton Korobeynikov.
      
      llvm-svn: 28684
      7c77323e
  34. May 16, 2006
Loading