diff options
| author | Easwaran Raman <eraman@google.com> | 2017-09-13 20:16:02 +0000 |
|---|---|---|
| committer | Easwaran Raman <eraman@google.com> | 2017-09-13 20:16:02 +0000 |
| commit | 4924bb002d0157fa795b743b4f427c71aa21fc63 (patch) | |
| tree | eec1ad13ee3181e141277ed0a94a803f2639215e /clang/test | |
| parent | 3e635f2309f020a272ac613714387cfbf13d0e9e (diff) | |
| download | bcm5719-llvm-4924bb002d0157fa795b743b4f427c71aa21fc63.tar.gz bcm5719-llvm-4924bb002d0157fa795b743b4f427c71aa21fc63.zip | |
[Inliner] Add another way to compute full inline cost.
Summary:
Full inline cost is computed when -inline-cost-full is true or ORE is
non-null. This patch adds another way to compute full inline cost by
adding a field to InlineParams. This will be used by SampleProfileLoader
to check legality of inlining a callee that it wants to inline.
Reviewers: danielcdh, haicheng
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D37819
llvm-svn: 313185
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions

