aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-09-17 20:59:54 -0700
committerKazu Hirata <kazu@google.com>2022-09-17 20:59:54 -0700
commitcf355bf36e39f38c08606a5b91a2cc038e28c700 (patch)
treedd48243ce742d3532ce06d6ccdd870dc3b447170 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent97b5736975f30d64cf6c447b0f0cb319134fa60b (diff)
downloadllvm-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