1 //===- IndexOps.h - Index operation declarations ------------------*- C++-*-==// 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 #ifndef MLIR_DIALECT_INDEX_IR_INDEXOPS_H 10 #define MLIR_DIALECT_INDEX_IR_INDEXOPS_H 11 12 #include "mlir/Bytecode/BytecodeOpInterface.h" 13 #include "mlir/Dialect/Index/IR/IndexAttrs.h" 14 #include "mlir/IR/BuiltinTypes.h" 15 #include "mlir/IR/OpDefinition.h" 16 #include "mlir/IR/OpImplementation.h" 17 #include "mlir/Interfaces/CastInterfaces.h" 18 #include "mlir/Interfaces/InferIntRangeInterface.h" 19 #include "mlir/Interfaces/InferTypeOpInterface.h" 20 #include "mlir/Interfaces/SideEffectInterfaces.h" 21 22 //===----------------------------------------------------------------------===// 23 // Forward Declarations 24 //===----------------------------------------------------------------------===// 25 26 namespace mlir { 27 class PatternRewriter; 28 namespace index { 29 enum class IndexCmpPredicate : uint32_t; 30 class IndexCmpPredicateAttr; 31 } // namespace index 32 } // namespace mlir 33 34 //===----------------------------------------------------------------------===// 35 // ODS-Generated Declarations 36 //===----------------------------------------------------------------------===// 37 38 #define GET_OP_CLASSES 39 #include "mlir/Dialect/Index/IR/IndexOps.h.inc" 40 41 #endif // MLIR_DIALECT_INDEX_IR_INDEXOPS_H 42