//===- llvm/Analysis/LoopNestAnalysis.h -------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// /// \file /// This file defines the interface for the loop nest analysis. /// //===----------------------------------------------------------------------===// #ifndef LLVM_ANALYSIS_LOOPNESTANALYSIS_H #define LLVM_ANALYSIS_LOOPNESTANALYSIS_H #include "llvm/ADT/STLExtras.h" #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/Analysis/LoopInfo.h" namespace llvm { LoopVectorTy; class LPMUpdater; /// This class represents a loop nest and can be used to query its properties. class LLVM_ABI LoopNest { … }; raw_ostream &operator<<(raw_ostream &, const LoopNest &); /// This analysis provides information for a loop nest. The analysis runs on /// demand and can be initiated via AM.getResult<LoopNestAnalysis>. class LoopNestAnalysis : public AnalysisInfoMixin<LoopNestAnalysis> { … }; /// Printer pass for the \c LoopNest results. class LoopNestPrinterPass : public PassInfoMixin<LoopNestPrinterPass> { … }; } // namespace llvm #endif // LLVM_ANALYSIS_LOOPNESTANALYSIS_H