[PATCH] D146483: Add initial EmitC inlining-for-size model.
Jacob Hegna via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 17:38:29 PDT 2023
jacobhegna created this revision.
Herald added subscribers: mtrofin, hiraditya.
Herald added a project: All.
jacobhegna requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This adds an EmitC version of the most recent ML inliner model.
It results are not bitwise identical to using the model via tf in release or
development mode, but it performs similarly and avoids a TF dependency.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146483
Files:
llvm/include/llvm/Analysis/InlineAdvisor.h
llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
llvm/include/llvm/Analysis/MLModelRunner.h
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/InlineAdvisor.cpp
llvm/lib/Analysis/MLInlineAdvisor.cpp
llvm/lib/Analysis/MLInlinerEmitCRunner.h
llvm/lib/Analysis/models/emitc/MLInlinerSizeModel.h
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/test/Transforms/Inline/ML/ml-test-emitc-mode.ll
llvm/test/lit.cfg.py
llvm/test/lit.site.cfg.py.in
More information about the llvm-commits
mailing list