Skip to content
  1. Jul 13, 2009
  2. Jul 08, 2009
  3. Jun 30, 2009
    • Argyrios Kyrtzidis's avatar
      Remove the ASTContext parameter from the attribute-related methods of Decl. · b4b64ca7
      Argyrios Kyrtzidis authored
      The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.
      
      This commit touches a lot of files since call sites for these methods are everywhere.
      I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it.
      
      llvm-svn: 74501
      b4b64ca7
  4. Jun 26, 2009
  5. Jun 18, 2009
  6. Jun 06, 2009
    • Mike Stump's avatar
      As an optimization, we maintain a cache of generated · cbc2bcaf
      Mike Stump authored
      ___Block_byref_id_object_dispose and ___Block_byref_id_object_copy
      functions so that we can simply reuse instead of creating a new one.
      Additionally, add an assert to ensure no one yet tries to align a
      __block variable beyond the alignment of a pointer as the codegen is
      incomplete.
      
      llvm-svn: 72974
      cbc2bcaf
  7. May 27, 2009
  8. May 22, 2009
  9. May 19, 2009
  10. May 18, 2009
  11. May 15, 2009
    • Mike Stump's avatar
      Fixup debug information for the location information for __block · 2c002929
      Mike Stump authored
      variables.  For this to work, the backend needs to handle more complex
      forms for locations.
      
      A typical utterance would be:
      
              %forwarding = getelementptr %0* %use_by_ref, i32 0, i32 1               ; <i8**> [#uses=1]
              %0 = load i8** %forwarding              ; <i8*> [#uses=1]
              %1 = bitcast i8* %0 to %0*              ; <%0*> [#uses=1]
              %x = getelementptr %0* %1, i32 0, i32 4         ; <i32*> [#uses=1]
              %2 = bitcast i32* %x to { }*            ; <{ }*> [#uses=1]
              call void @llvm.dbg.declare({ }* %2, { }* bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable to { }*))
      
      Presently when selection finds something it doesn't understand, it
      just avoids generating any information, which is safe, just
      incomplete.  Radar 6867696
      
      llvm-svn: 71824
      2c002929
  12. May 12, 2009
  13. Apr 26, 2009
  14. Apr 20, 2009
  15. Apr 19, 2009
  16. Apr 14, 2009
    • Daniel Dunbar's avatar
      Audit __private_extern__ handling. · 0ca16601
      Daniel Dunbar authored
       - Exposed quite a few Sema issues and a CodeGen crash.
      
       - See FIXMEs in test case, and in SemaDecl.cpp (PR3983).
      
      I'm skeptical that __private_extern__ should actually be a storage
      class value. I think that __private_extern__ basically amounts to
        extern A __attribute__((visibility("hidden")))
      and would be better off handled (a) as that, or (b) with an extra bit
      in the VarDecl.
      
      llvm-svn: 69020
      0ca16601
  17. Apr 13, 2009
  18. Apr 10, 2009
  19. Apr 08, 2009
  20. Apr 02, 2009
  21. Mar 30, 2009
  22. Mar 22, 2009
  23. Mar 21, 2009
  24. Mar 20, 2009
  25. Mar 07, 2009
  26. Mar 06, 2009
  27. Mar 05, 2009
  28. Mar 04, 2009
Loading