MLIR
20.0.0git
include
mlir
CAPI
Pass.h
Go to the documentation of this file.
1
//===- IR.h - C API Utils for Core MLIR classes -----------------*- 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
// This file contains declarations of implementation details of the C API for
10
// core MLIR classes. This file should not be included from C++ code other than
11
// C API implementation nor from C code.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef MLIR_CAPI_PASS_H
16
#define MLIR_CAPI_PASS_H
17
18
#include "
mlir-c/Pass.h
"
19
20
#include "
mlir/CAPI/Wrap.h
"
21
#include "
mlir/Pass/Pass.h
"
22
#include "
mlir/Pass/PassManager.h
"
23
24
DEFINE_C_API_PTR_METHODS
(MlirPass,
mlir::Pass
)
25
DEFINE_C_API_PTR_METHODS
(MlirPassManager,
mlir::PassManager
)
26
DEFINE_C_API_PTR_METHODS
(MlirOpPassManager,
mlir::OpPassManager
)
27
28
#endif
// MLIR_CAPI_PASS_H
PassManager.h
Wrap.h
DEFINE_C_API_PTR_METHODS
#define DEFINE_C_API_PTR_METHODS(name, cpptype)
Definition:
Wrap.h:25
mlir::OpPassManager
This class represents a pass manager that runs passes on either a specific operation type,...
Definition:
PassManager.h:47
mlir::PassManager
The main pass manager and pipeline builder.
Definition:
PassManager.h:231
mlir::Pass
The abstract base pass class.
Definition:
Pass.h:51
Pass.h
Pass.h
Generated on Sat Nov 23 2024 12:33:21 for MLIR by
1.9.1