[PATCH] D148235: [LoopInfo] Move generic LoopInfo into own files

Christian Ulmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 07:56:48 PDT 2023


Dinistro created this revision.
Dinistro added reviewers: ftynse, gysit.
Herald added subscribers: bviyer, Moerafaat, zero9178, bzcheeseman, ayermolo, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, thopre, hiraditya.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
Dinistro requested review of this revision.
Herald added subscribers: llvm-commits, yota9, stephenneuendorffer, nicolasvasilache.
Herald added projects: MLIR, LLVM.

This commit splits the generic part of `LoopInfo` into separate files.
These new `GenericLoopInfo` files are located in `llvm/Support` to be inline
with `GenericDomTree`.

Furthermore, this change ensures that MLIR's Bazel build does not have
to link against `LLVMAnalysis` just to use these template headers.

Depends on D148219 <https://reviews.llvm.org/D148219>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148235

Files:
  bolt/include/bolt/Core/BinaryLoop.h
  bolt/lib/Passes/TailDuplication.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp
  llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
  llvm/include/llvm/Analysis/LoopInfo.h
  llvm/include/llvm/Analysis/LoopInfoImpl.h
  llvm/include/llvm/CodeGen/MachineLoopInfo.h
  llvm/include/llvm/Support/GenericLoopInfo.h
  llvm/include/llvm/Support/GenericLoopInfoImpl.h
  llvm/lib/Analysis/LoopInfo.cpp
  llvm/lib/CodeGen/MachineLoopInfo.cpp
  mlir/include/mlir/Analysis/CFGLoopInfo.h
  mlir/lib/Analysis/CFGLoopInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148235.513239.patch
Type: text/x-patch
Size: 64397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/27a841bb/attachment.bin>


More information about the llvm-commits mailing list