[ADT] Force inline several super boring and unusually hot methods on
authorChandler Carruth <chandlerc@gmail.com>
Thu, 10 Sep 2015 09:46:47 +0000 (09:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 10 Sep 2015 09:46:47 +0000 (09:46 +0000)
commit790d0549efbb54ad41353c9a9954cfd782e371d3
tree3c98ebe894dc7a4938e5bd894512db81204fafbc
parentcd31ffda2ac1d3df4c485846728dcb34d53da294
[ADT] Force inline several super boring and unusually hot methods on
SmallVector to further help debug builds not waste their time calling
one line functions.

To give you an idea of why this is worthwhile, this change alone gets
another >10% reduction in the runtime of TripleTest.Normalization! It's
now under 9 seconds for me. Sadly, this is the end of the easy wins for
that test. Anything further will require some different architecture of
the test itself. Still, I'm pretty happy. 'check-llvm' now is under 35s
for me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247259 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallVector.h