[all-commits] [llvm/llvm-project] fe6bb8: [FunctionPropertiesAnalysis] Add detailed analysis

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Aug 8 18:07:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe6bb84c7ec815fab279cc20b10cbe3a3d3ab553
      https://github.com/llvm/llvm-project/commit/fe6bb84c7ec815fab279cc20b10cbe3a3d3ab553
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
    M llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
    M llvm/test/Analysis/FunctionPropertiesAnalysis/matmul.ll
    M llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp

  Log Message:
  -----------
  [FunctionPropertiesAnalysis] Add detailed analysis

This patch adds more detailed function properties gated behind a command
line flag for use primarily in experimentation and gathering statistics
on the functions in a module or project. The runtime cost should be
minimal as the computation is only done when the flag is set. There will
be a slight memory overhead when the ML inliner is enabled, but it
should be fairly small at a handful of bytes per function.

This is an adapted form of https://reviews.llvm.org/D109661.

Reviewed By: mtrofin

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




More information about the All-commits mailing list