summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc.mm
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-03-30 05:48:10 +0000
committerAnna Zaks <ganna@apple.com>2012-03-30 05:48:10 +0000
commit54fd4a076695a480ca55f2c35444fc82842a5bc7 (patch)
treed54cd8fb618456c71aad8407573495ca31609cc4 /clang/test/Analysis/malloc.mm
parentbc15335e580bd29695df04c30d19c3b5a8192552 (diff)
downloadbcm5719-llvm-54fd4a076695a480ca55f2c35444fc82842a5bc7.tar.gz
bcm5719-llvm-54fd4a076695a480ca55f2c35444fc82842a5bc7.zip
[analyzer] Do not inline functions which previously reached max block
count. This is an optimization for "retry without inlining" option. Here, if we failed to inline a function due to reaching the basic block max count, we are going to store this information and not try to inline it again in the translation unit. This can be viewed as a function summary. On sqlite, with this optimization, we are 30% faster then before and cover 10% more basic blocks (partially because the number of times we reach timeout is decreased by 20%). llvm-svn: 153730
Diffstat (limited to 'clang/test/Analysis/malloc.mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud