[PATCH] D157358: [FunctionPropertiesAnalysis] Add detailed analysis
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 21:26:40 PDT 2023
aidengrossman created this revision.
aidengrossman added reviewers: mtrofin, jdoerfert, uenoku.
Herald added a subscriber: hiraditya.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157358
Files:
llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157358.548054.patch
Type: text/x-patch
Size: 9543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230808/fa82aec1/attachment.bin>
More information about the llvm-commits
mailing list