Skip to content
  1. Nov 27, 2008
  2. Nov 21, 2008
    • Chris Lattner's avatar
      reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an · dd708345
      Chris Lattner authored
      arbitrary integer width for the count.
      
      llvm-svn: 59823
      dd708345
    • Bill Wendling's avatar
      Revert r59802. It was breaking the build of llvm-gcc: · 4bce2bff
      Bill Wendling authored
      g++ -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wmissing-format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"i386-apple-darwin9.5.0\" -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include  -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DENABLE_LLVM -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/../llvm.src/include  -D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS   -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include  -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include ../../llvm-gcc.src/gcc/llvm-types.cpp -o llvm-types.o
      ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemCpy(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
      ../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i32' is not a member of 'llvm::Intrinsic'
      ../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i64' is not a member of 'llvm::Intrinsic'
      ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemMove(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
      ../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i32' is not a member of 'llvm::Intrinsic'
      ../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i64' is not a member of 'llvm::Intrinsic'
      ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemSet(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
      ../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i32' is not a member of 'llvm::Intrinsic'
      ../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i64' is not a member of 'llvm::Intrinsic'
      make[3]: *** [llvm-convert.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
      make[2]: *** [all-stage1-gcc] Error 2
      make[1]: *** [stage1-bubble] Error 2
      make: *** [all] Error 2
      
      llvm-svn: 59809
      4bce2bff
    • Sanjiv Gupta's avatar
      Make mem[cpy,move,set] intrinsics overloaded. · 09a20376
      Sanjiv Gupta authored
      llvm-svn: 59802
      09a20376
  3. Nov 20, 2008
  4. Nov 19, 2008
  5. Nov 18, 2008
  6. Nov 17, 2008
  7. Nov 12, 2008
  8. Nov 11, 2008
  9. Nov 08, 2008
  10. Nov 07, 2008
  11. Nov 06, 2008
  12. Nov 05, 2008
  13. Nov 04, 2008
  14. Oct 31, 2008
  15. Oct 30, 2008
  16. Oct 29, 2008
  17. Oct 27, 2008
    • Torok Edwin's avatar
      export an ID for the instructionNamer, allowing analysis/transformation passes · ca97b42e
      Torok Edwin authored
      that need it to require it by ID.
      
      llvm-svn: 58238
      ca97b42e
    • Chris Lattner's avatar
      Rewrite all the 'PromoteLocallyUsedAlloca[s]' logic. With the power of · 59b56913
      Chris Lattner authored
      LargeBlockInfo, we can now dramatically simplify their implementation
      and speed them up at the same time.  Now the code has time proportional
      to the number of uses of the alloca, not the size of the block.
      
      This also eliminates code that tried to batch up different allocas which
      are used in the same blocks, and eliminates the 'retry list' logic which
      was baroque and no unneccesary.  In addition to being a speedup for crazy
      cases, this is also a nice cleanup:
      
      PromoteMemoryToRegister.cpp |  270 +++++++++++++++-----------------------------
       1 file changed, 96 insertions(+), 174 deletions(-)
      
      llvm-svn: 58229
      59b56913
    • Chris Lattner's avatar
      Add a new LargeBlockInfo helper, which is just a wrapper around · f594ecc4
      Chris Lattner authored
      a trivial dense map.  Use this in RewriteSingleStoreAlloca to
      avoid aggressively rescanning blocks over and over again.  This
      fixes PR2925, speeding up mem2reg on the testcase in that bug
      from 4.56s to 0.02s in a debug build on my machine.
      
      llvm-svn: 58227
      f594ecc4
  18. Oct 23, 2008
    • Daniel Dunbar's avatar
      Change create*Pass factory functions to return Pass* instead of · 7f39e2d8
      Daniel Dunbar authored
      LoopPass*.
       - Although less precise, this means they can be used in clients
         without RTTI (who would otherwise need to include LoopPass.h, which
         eventually includes things using dynamic_cast). This was the
         simplest solution that presented itself, but I am happy to use a
         better one if available.
      
      llvm-svn: 58010
      7f39e2d8
  19. Oct 09, 2008
  20. Oct 08, 2008
  21. Oct 07, 2008
  22. Oct 03, 2008
  23. Sep 29, 2008
  24. Sep 27, 2008
Loading