[all-commits] [llvm/llvm-project] 83080a: [llvm] Native size estimator for training -Oz inliner

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Jul 13 10:14:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 83080a294ad7d145d758821bcf4354ad0cb7d299
      https://github.com/llvm/llvm-project/commit/83080a294ad7d145d758821bcf4354ad0cb7d299
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M llvm/CMakeLists.txt
    A llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h
    A llvm/include/llvm/Analysis/Utils/TFUtils.h
    M llvm/lib/Analysis/CMakeLists.txt
    A llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
    A llvm/lib/Analysis/TFUtils.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/InlineSizeEstimatorAnalysisTest.cpp
    A llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/saved_model.pbtxt
    A llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/variables/variables.data-00000-of-00001
    A llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/variables/variables.index
    A llvm/unittests/Analysis/TFUtilsTest.cpp

  Log Message:
  -----------
  [llvm] Native size estimator for training -Oz inliner

Summary:
This is an experimental ML-based native size estimator, necessary for
computing partial rewards during -Oz inliner policy training. Data
extraction for model training will be provided in a separate patch.

RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html

Reviewers: davidxl, jdoerfert

Subscribers: mgorny, hiraditya, mgrang, arphaman, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list