Skip to content
  1. Aug 22, 2010
  2. Aug 19, 2010
    • Charles Davis's avatar
      Add some enum goodness as requested by Chris. Now instead of storing the · 6bcb07ad
      Charles Davis authored
      active C++ ABI as a raw string, we store it as an enum. This should improve
      performance somewhat.
      
      And yes, this time, I started from a clean build directory, and
      all the tests passed. :)
      
      llvm-svn: 111507
      6bcb07ad
    • Alexis Hunt's avatar
      Generate Attr subclasses with TableGen. · dcfba7b3
      Alexis Hunt authored
      Now all classes derived from Attr are generated from TableGen.
      Additionally, Attr* is no longer its own linked list; SmallVectors or
      Attr* are used. The accompanying LLVM commit contains the updates to
      TableGen necessary for this.
      
      Some other notes about newly-generated attribute classes:
      
       - The constructor arguments are a SourceLocation and a Context&,
         followed by the attributes arguments in the order that they were
         defined in Attr.td
      
       - Every argument in Attr.td has an appropriate accessor named getFoo,
         and there are sometimes a few extra ones (such as to get the length
         of a variadic argument).
      
      Additionally, specific_attr_iterator has been introduced, which will
      iterate over an AttrVec, but only over attributes of a certain type. It
      can be accessed through either Decl::specific_attr_begin/end or
      the global functions of the same name.
      
      llvm-svn: 111455
      dcfba7b3
  3. Aug 17, 2010
  4. Aug 13, 2010
  5. Aug 08, 2010
  6. Aug 05, 2010
  7. Aug 04, 2010
  8. Jul 29, 2010
  9. Jul 28, 2010
  10. Jul 22, 2010
  11. Jul 16, 2010
  12. Jul 13, 2010
  13. Jul 12, 2010
  14. Jul 07, 2010
  15. Jun 30, 2010
    • Chris Lattner's avatar
      Reapply: · 5c740f15
      Chris Lattner authored
      r107173, "fix PR7519: after thrashing around and remembering how all this stuff"
      r107216, "fix PR7523, which was caused by the ABI code calling ConvertType instead"
      
      This includes a fix to make ConvertTypeForMem handle the "recursive" case, and call
      it as such when lowering function types which have an indirect result.
      
      llvm-svn: 107310
      5c740f15
    • Chris Lattner's avatar
      reduce nesting. · 749b8ed5
      Chris Lattner authored
      llvm-svn: 107292
      749b8ed5
  16. Jun 24, 2010
  17. Jun 22, 2010
  18. Jun 21, 2010
  19. Jun 19, 2010
  20. Jun 16, 2010
  21. Jun 15, 2010
  22. Jun 11, 2010
  23. Jun 09, 2010
  24. May 27, 2010
  25. May 25, 2010
    • Charles Davis's avatar
      IRgen: Add a stub class for generating ABI-specific C++ code. · 4e786ddc
      Charles Davis authored
      This class only supports name mangling (which is apparently used during C/ObjC
      codegen). For now only the Itanium C++ ABI is supported. Patches to add a
      second C++ ABI are forthcoming.
      
      llvm-svn: 104630
      4e786ddc
    • John McCall's avatar
      If a function definition has any sort of weak linkage, its static local · 7cb0220e
      John McCall authored
      variables should have that linkage.  Otherwise, its static local
      variables should have internal linkage.  To avoid computing this excessively,
      set a function's linkage before we emit code for it.
      
      Previously we were assigning weak linkage to the static variables of
      static inline functions in C++, with predictably terrible results.  This
      fixes that and also gives better linkage than 'weak' when merging is required.
      
      llvm-svn: 104581
      7cb0220e
  26. May 13, 2010
    • Douglas Gregor's avatar
      Disable the available_externally optimization for inline virtual · 500d9f82
      Douglas Gregor authored
      methods for which the key function is guaranteed to be in another
      translation unit. Unfortunately, this guarantee isn't the case when
      dealing with shared libraries that fail to export these virtual method
      definitions. 
      
      I'm reopening PR6747 so we can consider this again at a later point in
      time.
      
      llvm-svn: 103741
      500d9f82
Loading