diff options
author | Matthias Braun <matze@braunis.de> | 2016-01-29 22:25:19 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-01-29 22:25:19 +0000 |
commit | 3328281538d473a5d5614afe8de1842216257d5d (patch) | |
tree | f8b136e6ce276666c020523a7daf17aa1ac55df6 /llvm/lib/Transforms/Utils/SplitModule.cpp | |
parent | 31eeb76f5e3b73f2eb5364ee840789c74723eb1b (diff) | |
download | llvm-3328281538d473a5d5614afe8de1842216257d5d.zip llvm-3328281538d473a5d5614afe8de1842216257d5d.tar.gz llvm-3328281538d473a5d5614afe8de1842216257d5d.tar.bz2 |
AttributeSetImpl: Summarize existing function attributes in a bitset.
The majority of attribute queries checks for the existence of an enum
attribute in the FunctionIndex slot. We only have 48 of those and can
therefore summarize them in an uint64_t bitset which measurably improves
compile time.
Differential Revision: http://reviews.llvm.org/D16618
llvm-svn: 259252
Diffstat (limited to 'llvm/lib/Transforms/Utils/SplitModule.cpp')
0 files changed, 0 insertions, 0 deletions