diff options
author | Kazu Hirata <kazu@google.com> | 2022-09-17 20:59:54 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-09-17 20:59:54 -0700 |
commit | cf355bf36e39f38c08606a5b91a2cc038e28c700 (patch) | |
tree | dd48243ce742d3532ce06d6ccdd870dc3b447170 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 97b5736975f30d64cf6c447b0f0cb319134fa60b (diff) | |
download | llvm-cf355bf36e39f38c08606a5b91a2cc038e28c700.zip llvm-cf355bf36e39f38c08606a5b91a2cc038e28c700.tar.gz llvm-cf355bf36e39f38c08606a5b91a2cc038e28c700.tar.bz2 |
[Analysis] Introduce isSoleCallToLocalFunction (NFC)
We check to see if a given CallBase is a sole call to a local function
at multiple places in InlineCost.cpp. This patch factors out the
common code.
Differential Revision: https://reviews.llvm.org/D134114
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions