summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-profdata
diff options
context:
space:
mode:
authorHideto Ueno <uenoku.tokotoko@gmail.com>2019-09-21 15:13:19 +0000
committerHideto Ueno <uenoku.tokotoko@gmail.com>2019-09-21 15:13:19 +0000
commit63f6066b53d5094945fc47f382480290520b1605 (patch)
tree3aa771e6bff2a80b1a3906157ccc900bce209626 /llvm/tools/llvm-profdata
parent9ec7117506355771a8410b6c92c94bc6f6754ffb (diff)
downloadbcm5719-llvm-63f6066b53d5094945fc47f382480290520b1605.tar.gz
bcm5719-llvm-63f6066b53d5094945fc47f382480290520b1605.zip
[Attributor] Implement "norecurse" function attribute deduction
Summary: This patch introduces `norecurse` function attribute deduction. `norecurse` will be deduced if the following conditions hold: * The size of SCC in which the function belongs equals to 1. * The function doesn't have self-recursion. * We have `norecurse` for all call site. To avoid a large change, SCC is calculated using scc_iterator in InfoCache initialization for now. Reviewers: jdoerfert, sstefan1 Reviewed By: jdoerfert Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67751 llvm-svn: 372475
Diffstat (limited to 'llvm/tools/llvm-profdata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud