Loop Analysis Framework
include/Analysis/Loop/ and lib/Analysis/Loop/ implement the loop-side
analysis stack used by several optimization and verification workflows.
Main components:
FunctionLoopAnalysescoordinates per-function loop analyses.LoopContentandLoopEnvironmentsummarize loop structure and context.LoopDependenceGraphandLoopSCCDAGmodel intra-loop dependencies.LoopIterationSpaceAnalysisreasons about loop bounds and iteration space.MemoryCloningAnalysisandSCCDAGAttrssupport loop transformations.
This subsystem builds on LLVM loop information but adds Lotus-specific program analysis structures.
See also CFG Analysis and Optimization.