commit | 1a0e291e609b9e3dfec446b1d71fea8bc64d8efe | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Fri Jan 29 22:25:19 2016 +0000 |
committer | Matthias Braun <matze@braunis.de> | Fri Jan 29 22:25:19 2016 +0000 |
tree | 664997e0f93cf3c0d103e4783b4de055dce95ab9 | |
parent | a5c14e44924b512d02191d6726a5a736655c206b [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259252 91177308-0d34-0410-b5e6-96231b3b80d8