summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-02-07 10:33:21 +0000
committerJohn McCall <rjmccall@apple.com>2011-02-07 10:33:21 +0000
commit351762cda239e2bb90fb2084e546878fea90ebf6 (patch)
tree22efeaf25ffe22b569427e2cb8054db1c5ec5172 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent867cb633b428b0017ea8ecf548176ae6000fcef2 (diff)
downloadbcm5719-llvm-351762cda239e2bb90fb2084e546878fea90ebf6.tar.gz
bcm5719-llvm-351762cda239e2bb90fb2084e546878fea90ebf6.zip
A few more tweaks to the blocks AST representation:
- 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. llvm-svn: 125005
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud