Skip to content
  1. Jul 30, 2009
  2. Jul 29, 2009
  3. Jul 28, 2009
  4. Jul 27, 2009
  5. Jul 26, 2009
  6. Jul 25, 2009
  7. Jul 23, 2009
    • Daniel Dunbar's avatar
      Convert StringMap to using StringRef for its APIs. · 5bf72e20
      Daniel Dunbar authored
       - Yay for '-'s and simplifications!
      
       - I kept StringMap::GetOrCreateValue for compatibility purposes, this can
         eventually go away. Likewise the StringMapEntry Create functions still follow
         the old style.
      
       - NIFC.
      
      llvm-svn: 76888
      5bf72e20
  8. Jul 22, 2009
  9. Jul 18, 2009
  10. Jul 16, 2009
  11. Jul 13, 2009
  12. Jul 08, 2009
  13. Jul 03, 2009
  14. Jun 19, 2009
  15. Jun 18, 2009
  16. Jun 05, 2009
  17. May 30, 2009
  18. May 13, 2009
  19. Apr 12, 2009
  20. Apr 06, 2009
  21. Mar 13, 2009
  22. Feb 15, 2009
    • Nick Lewycky's avatar
      Update the list of function annotations for nocapture. All of these came up · 8f4a097f
      Nick Lewycky authored
      when I was looking at functions used by python.
      
      Highlights include, better largefile support (64-bit file sizes on 32-bit
      systems), fputs string is nocapture, popen/pclose added (popen being noalias
      return), modf and frexp and friends. Also added some missing 'break' statements
      and combined identical sections.
      
      llvm-svn: 64615
      8f4a097f
  23. Feb 13, 2009
  24. Feb 12, 2009
  25. Jan 18, 2009
    • Nick Lewycky's avatar
      Fix copy and pasted typos that prevented strtok_r, realloc, getenv, ungetc, · 3ced0dfa
      Nick Lewycky authored
      putc, puts, perror, vscanf and vsscanf from getting annotations.
      
      Add annotations for eight printf functions, memalign, pread and pwrite.
      
      On Linux, llvm-gcc sometimes renames strdup, getc, putc, strtok_r, scanf and
      sscanf. Match the alternate function names.
      
      Fix a crash annotating opendir.
      
      Don't mark fsetpos's second parameter as nocapture. It's supposed to be
      captured.
      
      Do mark fopen's path and mode strings as nocapture. Mark ferror as readonly,
      but not fileno which may set errno.
      
      llvm-svn: 62456
      3ced0dfa
  26. Jan 05, 2009
    • Nick Lewycky's avatar
      Move the libcall annotating part from doFinalization to doInitialization. · e4e5532e
      Nick Lewycky authored
      Finalization occurs after all the FunctionPasses in the group have run, which
      is clearly not what we want.
      
      This also means that we have to make sure that we apply the right param 
      attributes when creating a new function.
      
      Also, add a missed optimization: strdup and strndup. NoCapture and 
      NoAlias return!
      
      llvm-svn: 61658
      e4e5532e
  27. Jan 04, 2009
  28. Dec 21, 2008
  29. Nov 30, 2008
  30. 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
Loading