Skip to content
  1. Apr 13, 2010
  2. Apr 10, 2010
  3. Apr 08, 2010
    • Douglas Gregor's avatar
      Eliminate excessive PCH deserialization caused by the search for · eadd3cac
      Douglas Gregor authored
      __cxxabiv1::__fundamental_type_info in every translation
      unit. Previously, we would perform name lookup for
      __cxxabiv1::__fundamental_type_info at the end of IRGen for a each
      translation unit, to determine whether it was present. If so, we we
      produce type information for all of the fundamental types. However,
      this name lookup causes PCH deserialization of a significant part of the
      translation unit, which has a woeful impact on performance.
      
      With this change, we now look at each record type after we've
      generated its vtable to see if it is
      __cxxabiv1::__fundamental_type_info. If so, we generate type info for
      all of the fundamental types. This works because
      __cxxabiv1::__fundamental_type_info should always have a key function
      (typically the virtual destructor), that will be defined once in the
      support library. The fundamental type information will end up there.
      
      Fixes <rdar://problem/7840011>.
      
      llvm-svn: 100772
      eadd3cac
  4. Apr 04, 2010
  5. Apr 02, 2010
  6. Apr 01, 2010
  7. Mar 31, 2010
  8. Mar 30, 2010
  9. Mar 27, 2010
  10. Mar 23, 2010
  11. Mar 20, 2010
    • Daniel Dunbar's avatar
      C++: Add support for -fno-use-cxa-atexit. · fe06df4b
      Daniel Dunbar authored
       - So much typing, so little gain...
      
      Also, rename the __cxx_global_initialization function just to match llvm-gcc.
      
      llvm-svn: 99039
      fe06df4b
    • John McCall's avatar
      Change CodeGenModule to rely on the Module's symbol table instead of · 7ec5043c
      John McCall authored
      shadowing it in the GlobalDeclMap.  Eliminates the string-uniquing
      requirement for mangled names, which should help C++ codegen times a little.
      Forces us to do string lookups instead of pointer lookups, which might hurt
      codegen times a little across the board.  We'll see how it plays out.
      
      Removing the string-uniquing requirement implicitly fixes any bugs like
      PR6635 which arose from the fact that we had multiple uniquing tables for
      different kinds of identifiers.
      
      llvm-svn: 99012
      7ec5043c
  12. Mar 13, 2010
  13. Mar 12, 2010
  14. Mar 10, 2010
  15. Mar 06, 2010
  16. Mar 04, 2010
  17. Mar 02, 2010
  18. Feb 23, 2010
    • Rafael Espindola's avatar
      Add support for the weakref attribute. We still produce "alias weak" as... · c18086ae
      Rafael Espindola authored
      Add support for the weakref attribute. We still produce "alias weak" as llvm-gcc does, but are more strict on what uses of weakref we accept.
      
      llvm-svn: 96992
      c18086ae
    • John McCall's avatar
      Perform two more constructor/destructor code-size optimizations: · f8ff7b9f
      John McCall authored
      1) emit base destructors as aliases to their unique base class destructors
      under some careful conditions.  This is enabled for the same targets that can
      support complete-to-base aliases, i.e. not darwin.
      
      2) Emit non-variadic complete constructors for classes with no virtual bases
      as calls to the base constructor.  This is enabled on all targets and in
      theory can trigger in situations that the alias optimization can't (mostly
      involving virtual bases, mostly not yet supported).
      
      These are bundled together because I didn't think it worthwhile to split them,
      not because they really need to be.
      
      llvm-svn: 96842
      f8ff7b9f
  19. Feb 19, 2010
  20. Feb 18, 2010
  21. Feb 17, 2010
Loading