clang 24.0.0git
CIRLoopOpInterface.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===---------------------------------------------------------------------===//
8//
9// Defines the interface to generically handle CIR loop operations.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
14#define CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
15
16#include "mlir/IR/BuiltinTypes.h"
17#include "mlir/IR/Operation.h"
19#include "llvm/ADT/APInt.h"
20
21using llvm::APInt;
22namespace cir {
23namespace detail {
24
25/// Verify invariants of the LoopOpInterface.
26mlir::LogicalResult verifyLoopOpInterface(::mlir::Operation *op);
27
28} // namespace detail
29} // namespace cir
30
31/// Include the tablegen'd interface declarations.
32#include "clang/CIR/Interfaces/CIRLoopOpInterface.h.inc"
33
34#endif // CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
mlir::LogicalResult verifyLoopOpInterface(::mlir::Operation *op)
Verify invariants of the LoopOpInterface.