Skip to content
  1. Jul 26, 2009
  2. Jul 25, 2009
  3. 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
  4. Jul 22, 2009
  5. Jul 18, 2009
  6. Jul 16, 2009
  7. Jul 13, 2009
  8. Jul 08, 2009
  9. Jul 03, 2009
  10. Jun 19, 2009
  11. Jun 18, 2009
  12. Jun 05, 2009
  13. May 30, 2009
  14. May 13, 2009
  15. Apr 12, 2009
  16. Apr 06, 2009
  17. Mar 13, 2009
  18. 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
  19. Feb 13, 2009
  20. Feb 12, 2009
  21. 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
  22. 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
  23. Jan 04, 2009
  24. Dec 21, 2008
  25. Nov 30, 2008
  26. 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
  27. Sep 04, 2008
  28. Aug 08, 2008
  29. Jun 30, 2008
  30. Jun 29, 2008
    • Anton Korobeynikov's avatar
      Revert (52748 and friends): · a7c583d5
      Anton Korobeynikov authored
      Move GetConstantStringInfo to lib/Analysis. Remove
      string output routine from Constant. Update all
      callers. Change debug intrinsic api slightly to
      accomodate move of routine, these now return values
      instead of strings.
      
      This unbreaks llvm-gcc bootstrap.
      
      llvm-svn: 52884
      a7c583d5
Loading