[PATCH] D132253: [WIP] Automated loop analysis tool

Vir Narula via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 10:47:35 PDT 2022


virnarula created this revision.
Herald added subscribers: ormris, wenlei, mgrang, hiraditya, mgorny.
Herald added a project: All.
virnarula requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

[Loop] Emit remark for extracted loops

[Loop] Fix remark emitting bug

Bug fix to recalculate analyses on cloned module

[LoopAnalysis] Add test cases for remark emitting

[LoopAnalysis] Assertions, debug info, clean up

[LoopAnalysis] Add remark extraction tool module

[LoopAnalysis] Emit remarks for extraction stats

[LoopAnalysis] Add vectorization analysis

[LoopAnalysis] Add summary stats for bounds

[LoopAnalyzer] Add basic testing

[LoopAnalyzer] Add DCE pass before extraction

[LoopAnalyzer] Add Remarks and simplification

[LoopAnalyzer] Add Remark type support

[LoopAnalyzer] Add basic querying

[LoopAnalysis] Add basic PGO functionality

Changes in progress


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132253

Files:
  llvm/include/llvm/Transforms/IPO/LoopExtractionAnalysis.h
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/lib/Transforms/IPO/LoopExtractionAnalysis.cpp
  llvm/lib/Transforms/IPO/LoopExtractor.cpp
  llvm/test/Transforms/LoopExtractionAnalysis/alloca.ll
  llvm/test/Transforms/LoopExtractionAnalysis/basic.ll
  llvm/test/Transforms/LoopExtractionAnalysis/complex.ll
  llvm/test/lit.cfg.py
  llvm/test/tools/loop-analyzer/Inputs/basic.dwarf
  llvm/test/tools/loop-analyzer/Inputs/complex.dwarf
  llvm/test/tools/loop-analyzer/Outputs/basic.result.txt
  llvm/test/tools/loop-analyzer/Outputs/complex.result.txt
  llvm/test/tools/loop-analyzer/basic.test
  llvm/test/tools/loop-analyzer/complex.test
  llvm/tools/loop-analyzer/CMakeLists.txt
  llvm/tools/loop-analyzer/README.md
  llvm/tools/loop-analyzer/loop-analyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132253.454062.patch
Type: text/x-patch
Size: 58957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220819/20a72b6b/attachment.bin>


More information about the llvm-commits mailing list