aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2020-04-23 09:14:08 -0700
committerMircea Trofin <mtrofin@google.com>2020-04-23 10:58:43 -0700
commit201498c6f34ef1a052d9c3f46cfdf4263606f232 (patch)
tree7028489e1b34ca28a57df5b0f966a7ed7dcde009 /llvm/lib/IR/Function.cpp
parent3d178581ac7f5336b1ac75e31001de074ecca937 (diff)
downloadllvm-201498c6f34ef1a052d9c3f46cfdf4263606f232.zip
llvm-201498c6f34ef1a052d9c3f46cfdf4263606f232.tar.gz
llvm-201498c6f34ef1a052d9c3f46cfdf4263606f232.tar.bz2
[llvm][NFC] Factor out cost-model independent inling decision
Summary: llvm::getInlineCost starts off by determining whether inlining should happen or not because of user directives or easily determinable unviability. This CL refactors this functionality as a reusable API. Reviewers: davidxl, eraman Reviewed By: davidxl, eraman Subscribers: hiraditya, haicheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73825
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions