15#ifndef MLIR_ANALYSIS_LOOPINFO_H
16#define MLIR_ANALYSIS_LOOPINFO_H
20#include "llvm/Support/GenericLoopInfo.h"
29extern template class LoopBase<mlir::Block, mlir::CFGLoop>;
30extern template class LoopInfoBase<mlir::Block, mlir::CFGLoop>;
37class CFGLoop :
public llvm::LoopBase<mlir::Block, mlir::CFGLoop> {
41 friend class llvm::LoopBase<mlir::Block, CFGLoop>;
42 friend class llvm::LoopInfoBase<mlir::Block, CFGLoop>;
47class CFGLoopInfo :
public llvm::LoopInfoBase<mlir::Block, mlir::CFGLoop> {
49 CFGLoopInfo(
const llvm::DominatorTreeBase<mlir::Block, false> &domTree);
Block represents an ordered list of Operations.
An LLVM LoopInfo instantiation for MLIR that provides access to CFG loops found in the dominator tree...
CFGLoopInfo(const llvm::DominatorTreeBase< mlir::Block, false > &domTree)
Representation of a single loop formed by blocks.
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.