[PATCH] D78730: [llvm][NFC] Add an explicit 'ComputeFullInlineCost' API

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 10:16:12 PDT 2020


mtrofin created this revision.
mtrofin added reviewers: davidxl, eraman, jdoerfert.
Herald added subscribers: llvm-commits, haicheng, hiraditya.
Herald added a project: LLVM.

Added getInliningCostEstimate, which is essentially what getInlineCost
computes if passed default inlining params, and  non-null ORE or
InlineParams::ComputeFullInlineCost.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78730

Files:
  llvm/include/llvm/Analysis/InlineCost.h
  llvm/lib/Analysis/InlineCost.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78730.259618.patch
Type: text/x-patch
Size: 5114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/5db07405/attachment.bin>


More information about the llvm-commits mailing list