Skip to content
  1. Mar 09, 2013
    • Benjamin Kramer's avatar
      TLI: Microoptimize calls to strlen+memcmp to strncmp. · 160f72dc
      Benjamin Kramer authored
      The strlen+memcmp was hidden in a call to StringRef::operator==. We check if
      there are any null bytes in the string upfront so we can simplify the comparison
      Small speedup when compiling code with many function calls.
      
      llvm-svn: 176766
      160f72dc
  2. Mar 05, 2013
    • Meador Inge's avatar
      Add more functions to the TLI. · b904e6e4
      Meador Inge authored
      
      
      This patch adds many more functions to the target library information.
      All of the functions being added were discovered while doing the migration
      of the simplify-libcalls attribute annotation functionality to the
      functionattrs pass.  As a part of that work the attribute annotation logic
      will query TLI to determine if a function should be annotated or not.
      
      Signed-off-by: default avatarMeador Inge <meadori@codesourcery.com>
      llvm-svn: 176514
      b904e6e4
  3. Nov 22, 2012
  4. Nov 10, 2012
    • Meador Inge's avatar
      Add more functions to the target library information. · 2526a42e
      Meador Inge authored
      In the process of migrating optimizations from the simplify-libcalls pass
      to the instcombine pass I noticed that a few functions are missing from
      the target library information.  These functions need to be available for
      querying in the instcombine library call simplifiers.  More functions will
      probably be added in the future as more simplifiers are migrated to
      instcombine.
      
      llvm-svn: 167659
      2526a42e
  5. Aug 29, 2012
    • Benjamin Kramer's avatar
      Make MemoryBuiltins aware of TargetLibraryInfo. · 8bcc9711
      Benjamin Kramer authored
      This disables malloc-specific optimization when -fno-builtin (or -ffreestanding)
      is specified. This has been a problem for a long time but became more severe
      with the recent memory builtin improvements.
      
      Since the memory builtin functions are used everywhere, this required passing
      TLI in many places. This means that functions that now have an optional TLI
      argument, like RecursivelyDeleteTriviallyDeadFunctions, won't remove dead
      mallocs anymore if the TLI argument is missing. I've updated most passes to do
      the right thing.
      
      Fixes PR13694 and probably others.
      
      llvm-svn: 162841
      8bcc9711
  6. Aug 22, 2012
  7. Aug 03, 2012
  8. Jul 25, 2012
  9. Jul 24, 2012
  10. Apr 18, 2012
  11. Feb 12, 2012
  12. Dec 20, 2011
  13. Dec 08, 2011
  14. Dec 01, 2011
  15. Nov 30, 2011
  16. Nov 17, 2011
  17. Jun 09, 2011
  18. May 21, 2011
  19. Apr 20, 2011
  20. Apr 19, 2011
  21. Mar 03, 2011
  22. Feb 18, 2011
Loading