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 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | 3e635f2309f020a272ac613714387cfbf13d0e9e (diff) | |
download | llvm-4924bb002d0157fa795b743b4f427c71aa21fc63.zip llvm-4924bb002d0157fa795b743b4f427c71aa21fc63.tar.gz llvm-4924bb002d0157fa795b743b4f427c71aa21fc63.tar.bz2 |
[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 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions