[all-commits] [llvm/llvm-project] cf355b: [Analysis] Introduce isSoleCallToLocalFunction (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Sep 17 21:00:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf355bf36e39f38c08606a5b91a2cc038e28c700
      https://github.com/llvm/llvm-project/commit/cf355bf36e39f38c08606a5b91a2cc038e28c700
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-17 (Sat, 17 Sep 2022)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list