MLIR 24.0.0git
FoldInterfaces.h
Go to the documentation of this file.
1//===- FoldInterfaces.h - Folding Interfaces --------------------*- 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#ifndef MLIR_INTERFACES_FOLDINTERFACES_H_
9#define MLIR_INTERFACES_FOLDINTERFACES_H_
10
11#include "llvm/ADT/ArrayRef.h"
12#include "llvm/ADT/SmallVector.h"
13
14namespace mlir {
15class Attribute;
16class OpFoldResult;
17class Region;
18} // namespace mlir
19
20#include "mlir/Interfaces/DialectFoldInterface.h.inc"
21
22#endif // MLIR_INTERFACES_FOLDINTERFACES_H_
Attributes are known-constant values of operations.
Definition Attributes.h:25
This class represents a single result from folding an operation.
This class contains a list of basic blocks and a link to the parent operation it is attached to.
Definition Region.h:26
Include the generated interface declarations.