[PATCH] D152041: [profi] Move out base definitions into SampleProfileInferenceBase header

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 15:32:44 PDT 2023


Amir created this revision.
Amir added reviewers: maksfb, spupyrev, hoy.
Herald added subscribers: ayermolo, wenlei.
Herald added a reviewer: rafauler.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

BOLT doesn't require LLVM IR/MIR definitions from SampleProfileInference.
Move out FlowBlock/FlowJump/FlowFunction definitions into a separate header.
This helps avoid TransformUtils link-time dependency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152041

Files:
  bolt/lib/Profile/CMakeLists.txt
  bolt/lib/Profile/StaleProfileMatching.cpp
  llvm/include/llvm/Transforms/Utils/SampleProfileInference.h
  llvm/include/llvm/Transforms/Utils/SampleProfileInferenceBase.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152041.528022.patch
Type: text/x-patch
Size: 8403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230602/c98a3e6c/attachment-0001.bin>


More information about the llvm-commits mailing list