clang
24.0.0git
include
clang
CIR
Interfaces
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/OpDefinition.h"
18
#include "mlir/IR/Operation.h"
19
#include "mlir/Interfaces/ControlFlowInterfaces.h"
20
#include "mlir/Interfaces/LoopLikeInterface.h"
21
#include "
clang/CIR/Dialect/IR/CIRAttrs.h
"
22
#include "llvm/ADT/APInt.h"
23
24
using
llvm::APInt;
25
namespace
cir
{
26
namespace
detail
{
27
28
/// Verify invariants of the LoopOpInterface.
29
mlir::LogicalResult
verifyLoopOpInterface
(::mlir::Operation *op);
30
31
}
// namespace detail
32
}
// namespace cir
33
34
/// Include the tablegen'd interface declarations.
35
#include "clang/CIR/Interfaces/CIRLoopOpInterface.h.inc"
36
37
#endif
// CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
CIRAttrs.h
cir::detail
Definition
CIRTypes.h:33
cir::detail::verifyLoopOpInterface
mlir::LogicalResult verifyLoopOpInterface(::mlir::Operation *op)
Verify invariants of the LoopOpInterface.
cir
Definition
ABIArgInfo.h:22
Generated on
for clang by
1.14.0