Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flang/include/flang/Optimizer/Support/InitFIR.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "flang/Optimizer/OpenMP/Support/RegisterOpenMPExtensions.h"
#include "mlir/Conversion/Passes.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Affine/Passes.h"
#include "mlir/Dialect/Affine/Transforms/Passes.h"
#include "mlir/Dialect/Complex/IR/Complex.h"
#include "mlir/Dialect/ControlFlow/IR/ControlFlow.h"
#include "mlir/Dialect/DLTI/DLTI.h"
Expand Down
2 changes: 1 addition & 1 deletion mlir/examples/toy/Ch5/toyc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "toy/Parser.h"
#include "toy/Passes.h"

#include "mlir/Dialect/Affine/Passes.h"
#include "mlir/Dialect/Affine/Transforms/Passes.h"
#include "mlir/IR/AsmState.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/MLIRContext.h"
Expand Down
2 changes: 1 addition & 1 deletion mlir/examples/toy/Ch6/toyc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "toy/Parser.h"
#include "toy/Passes.h"

#include "mlir/Dialect/Affine/Passes.h"
#include "mlir/Dialect/Affine/Transforms/Passes.h"
#include "mlir/Dialect/LLVMIR/Transforms/Passes.h"
#include "mlir/ExecutionEngine/ExecutionEngine.h"
#include "mlir/ExecutionEngine/OptUtils.h"
Expand Down
2 changes: 1 addition & 1 deletion mlir/examples/toy/Ch7/toyc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "toy/Parser.h"
#include "toy/Passes.h"

#include "mlir/Dialect/Affine/Passes.h"
#include "mlir/Dialect/Affine/Transforms/Passes.h"
#include "mlir/Dialect/LLVMIR/Transforms/Passes.h"
#include "mlir/ExecutionEngine/ExecutionEngine.h"
#include "mlir/ExecutionEngine/OptUtils.h"
Expand Down
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/AMDGPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMGatherBaseTypeGetName(void);
}
#endif

#include "mlir/Dialect/AMDGPU/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_AMDGPU_H
25 changes: 25 additions & 0 deletions mlir/include/mlir-c/Dialect/AMX.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//===-- mlir-c/Dialect/AMX.h - C API for AMX Dialect --------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_AMX_H
#define MLIR_C_DIALECT_AMX_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(AMX, amx);

#ifdef __cplusplus
}
#endif

#endif // MLIR_C_DIALECT_AMX_H
27 changes: 27 additions & 0 deletions mlir/include/mlir-c/Dialect/Affine.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//===-- mlir-c/Dialect/Affine.h - C API for Affine Dialect --------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_AFFINE_H
#define MLIR_C_DIALECT_AFFINE_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Affine, affine);

#ifdef __cplusplus
}
#endif

#include "mlir/Dialect/Affine/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_AFFINE_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/Arith.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Arith, arith);
}
#endif

#include "mlir/Dialect/Arith/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_ARITH_H
26 changes: 26 additions & 0 deletions mlir/include/mlir-c/Dialect/ArmNeon.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//===-- mlir-c/Dialect/ArmNeon.h - C API for ArmNeon Dialect --------*- C
//-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_ARMNEON_H
#define MLIR_C_DIALECT_ARMNEON_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(ArmNeon, arm_neon);

#ifdef __cplusplus
}
#endif

#endif // MLIR_C_DIALECT_ARMNEON_H
27 changes: 27 additions & 0 deletions mlir/include/mlir-c/Dialect/ArmSME.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//===-- mlir-c/Dialect/ArmSME.h - C API for ArmSME Dialect --------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_ARMSME_H
#define MLIR_C_DIALECT_ARMSME_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(ArmSME, arm_sme);

#ifdef __cplusplus
}
#endif

#include "mlir/Dialect/ArmSME/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_ARMSME_H
27 changes: 27 additions & 0 deletions mlir/include/mlir-c/Dialect/ArmSVE.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//===-- mlir-c/Dialect/ArmSVE.h - C API for ArmSVE Dialect --------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_ARMSME_H
#define MLIR_C_DIALECT_ARMSME_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(ArmSVE, arm_sve);

#ifdef __cplusplus
}
#endif

#include "mlir/Dialect/ArmSVE/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_ARMSME_H
28 changes: 28 additions & 0 deletions mlir/include/mlir-c/Dialect/Bufferization.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//===-- mlir-c/Dialect/Bufferization.h - C API for Bufferization Dialect
//--------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_BUFFERIZATION_H
#define MLIR_C_DIALECT_BUFFERIZATION_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Bufferization, bufferization);

#ifdef __cplusplus
}
#endif

#include "mlir/Dialect/Bufferization/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_BUFFERIZATION_H
25 changes: 25 additions & 0 deletions mlir/include/mlir-c/Dialect/DLTI.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//===-- mlir-c/Dialect/DLTI.h - C API for DLTI Dialect --------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_DLTI_H
#define MLIR_C_DIALECT_DLTI_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(DLTI, dlti);

#ifdef __cplusplus
}
#endif

#endif // MLIR_C_DIALECT_DLTI_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/EmitC.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,6 @@ MLIR_CAPI_EXPORTED MlirTypeID mlirEmitCOpaqueAttrGetTypeID(void);
}
#endif

#include "mlir/Dialect/EmitC/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_EmitC_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/Func.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ MLIR_CAPI_EXPORTED void mlirFuncSetResultAttr(MlirOperation op, intptr_t pos,
}
#endif

#include "mlir/Dialect/Func/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_FUNC_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/LLVM.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,4 +451,6 @@ mlirLLVMDIModuleAttrGetScope(MlirAttribute diModule);
}
#endif

#include "mlir/Dialect/LLVMIR/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_LLVM_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/MLProgram.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(MLProgram, ml_program);
}
#endif

#include "mlir/Dialect/MLProgram/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_MLPROGRAM_H
25 changes: 25 additions & 0 deletions mlir/include/mlir-c/Dialect/MPI.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//===-- mlir-c/Dialect/MPI.h - C API for MPI Dialect --------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_MPI_H
#define MLIR_C_DIALECT_MPI_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(MPI, mpi);

#ifdef __cplusplus
}
#endif

#endif // MLIR_C_DIALECT_MPI_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/Math.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Math, math);
}
#endif

#include "mlir/Dialect/Math/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_MATH_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/MemRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(MemRef, memref);
}
#endif

#include "mlir/Dialect/MemRef/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_MEMREF_H
2 changes: 2 additions & 0 deletions mlir/include/mlir-c/Dialect/NVGPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ MLIR_CAPI_EXPORTED MlirStringRef mlirNVGPUTensorMapDescriptorTypeGetName(void);
}
#endif

#include "mlir/Dialect/NVGPU/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_NVGPU_H
28 changes: 28 additions & 0 deletions mlir/include/mlir-c/Dialect/OpenACC.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//===-- mlir-c/Dialect/OpenACC.h - C API for OpenACC Dialect --------*- C
//-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_OPENACC_H
#define MLIR_C_DIALECT_OPENACC_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(OpenACC, acc);

#ifdef __cplusplus
}
#endif

#include "mlir/Dialect/OpenACC/Transforms/Passes.capi.h.inc"

#endif // MLIR_C_DIALECT_OPENACC_H
26 changes: 26 additions & 0 deletions mlir/include/mlir-c/Dialect/PDLInterp.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//===-- mlir-c/Dialect/PDLInterp.h - C API for PDLInterp Dialect --------*- C
//-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_PDLINTERP_H
#define MLIR_C_DIALECT_PDLINTERP_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(PDLInterp, pdl_interp);

#ifdef __cplusplus
}
#endif

#endif // MLIR_C_DIALECT_PDLINTERP_H
25 changes: 25 additions & 0 deletions mlir/include/mlir-c/Dialect/Ptr.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//===-- mlir-c/Dialect/Ptr.h - C API for Ptr Dialect --------------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_C_DIALECT_PTR_H
#define MLIR_C_DIALECT_PTR_H

#include "mlir-c/IR.h"

#ifdef __cplusplus
extern "C" {
#endif

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Ptr, ptr);

#ifdef __cplusplus
}
#endif

#endif // MLIR_C_DIALECT_PTR_H
Loading
Loading