[PATCH] D83094: Analysis: Add a GenericCycleInfo analysis
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 14:36:17 PDT 2020
nhaehnle created this revision.
nhaehnle added reviewers: arsenm, RKSimon, mehdi_amini, courbet.
Herald added subscribers: hiraditya, mgorny, wdng.
Herald added a project: LLVM.
nhaehnle added a parent revision: D83093: DomTree: Define GraphTraits for GenericDomTreeBase.
This analysis allows algorithms to capture all loops, including irreducible
loops, in a structured way. Based on Havlak (1997), Nesting of Reducible and
Irreducible Loops. See the definition of a "cycle" in the header file and
the IR test cases for more detail.
This patch also immediately adds (new and old-style) IR function passes.
Change-Id: I91f0d001d18906126961dc4aa2f8727ad4aff87c
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83094
Files:
llvm/include/llvm/Analysis/CycleInfo.h
llvm/include/llvm/Analysis/GenericCycleInfo.h
llvm/include/llvm/InitializePasses.h
llvm/lib/Analysis/Analysis.cpp
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/CycleInfo.cpp
llvm/lib/Analysis/GenericCycleInfo.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/Analysis/CycleInfo/basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83094.275236.patch
Type: text/x-patch
Size: 52638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/f4679874/attachment.bin>
More information about the llvm-commits
mailing list