[all-commits] [llvm/llvm-project] 8a4013: [llvm][NFC] Add an explicit 'ComputeFullInlineCost...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Apr 27 09:12:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a4013ed38c6eee730dd6781a7c3dfd2b39e7e80
      https://github.com/llvm/llvm-project/commit/8a4013ed38c6eee730dd6781a7c3dfd2b39e7e80
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/lib/Analysis/InlineCost.cpp

  Log Message:
  -----------
  [llvm][NFC] Add an explicit 'ComputeFullInlineCost' API

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

Reviewers: davidxl, eraman, jdoerfert

Subscribers: hiraditya, haicheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78730




More information about the All-commits mailing list