Skip to content
  1. Jul 01, 2008
  2. Jun 30, 2008
    • Dan Gohman's avatar
      Make SmallVector's grow use memcpy in common cases · 9c24ff3d
      Dan Gohman authored
      instead of std::uninitialized_copy, which uses memmove.
      
      llvm-svn: 52928
      9c24ff3d
    • Dan Gohman's avatar
      Use plain operator new instead of new char[]. · 2b11690e
      Dan Gohman authored
      llvm-svn: 52927
      2b11690e
    • Dan Gohman's avatar
      Use reserve. · a76e60a7
      Dan Gohman authored
      SelectionDAG::allnodes_size is linear, but that doesn't appear to
      outweigh the benefit of reducing heap traffic. If it does become a
      problem, we should teach SelectionDAG to keep a count of how many
      nodes are live, because there are several other places where that
      information would be useful as well.
      
      llvm-svn: 52926
      a76e60a7
    • Dan Gohman's avatar
      Update comments to new-style syntax. · 4246cf8e
      Dan Gohman authored
      llvm-svn: 52925
      4246cf8e
    • Dan Gohman's avatar
      Rename ISD::LOCATION to ISD::DBG_STOPPOINT to better reflect its · 5c73a886
      Dan Gohman authored
      purpose, and give it a custom SDNode subclass so that it doesn't
      need to have line number, column number, filename string, and
      directory string, all existing as individual SDNodes to be the
      operands.
      
      This was the only user of ISD::STRING, StringSDNode, etc., so
      remove those and some associated code.
      
      This makes stop-points considerably easier to read in
      -view-legalize-dags output, and reduces overhead (creating new
      nodes and copying std::strings into them) on code containing
      debugging information.
      
      llvm-svn: 52924
      5c73a886
Loading