MLIR 23.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
12#include "llvm/ADT/ArrayRef.h"
13#include "llvm/ADT/SmallVector.h"
14
15namespace mlir {
16class Attribute;
17class OpFoldResult;
18class Region;
19} // namespace mlir
20
21#include "mlir/Interfaces/DialectFoldInterface.h.inc"
22
23#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.