Skip to content
Snippets Groups Projects
  • John McCall's avatar
    6b5a61b6
    A few more tweaks to the blocks AST representation: · 6b5a61b6
    John McCall authored
      - BlockDeclRefExprs always store VarDecls
      - BDREs no longer store copy expressions
      - BlockDecls now store a list of captured variables, information about
        how they're captured, and a copy expression if necessary
        
    With that in hand, change IR generation to use the captures data in       
    blocks instead of walking the block independently.        
    
    Additionally, optimize block layout by emitting fields in descending
    alignment order, with a heuristic for filling in words when alignment
    of the end of the block header is insufficient for the most aligned
    field.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125005 91177308-0d34-0410-b5e6-96231b3b80d8
    6b5a61b6
    History
    A few more tweaks to the blocks AST representation:
    John McCall authored
      - BlockDeclRefExprs always store VarDecls
      - BDREs no longer store copy expressions
      - BlockDecls now store a list of captured variables, information about
        how they're captured, and a copy expression if necessary
        
    With that in hand, change IR generation to use the captures data in       
    blocks instead of walking the block independently.        
    
    Additionally, optimize block layout by emitting fields in descending
    alignment order, with a heuristic for filling in words when alignment
    of the end of the block header is insufficient for the most aligned
    field.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125005 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.