-//===- StandardToStandard.h - Std intra-dialect conversion -----*- C++ -*-===//
+//===- FuncConversions.h - Patterns for converting std.funcs ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
//
//===----------------------------------------------------------------------===//
//
-// This files contains patterns for lowering within the Standard dialect.
+// This files contains patterns for converting standard functions.
//
//===----------------------------------------------------------------------===//
-#ifndef MLIR_CONVERSION_STANDARDTOSTANDARD_STANDARDTOSTANDARD_H_
-#define MLIR_CONVERSION_STANDARDTOSTANDARD_STANDARDTOSTANDARD_H_
+#ifndef MLIR_DIALECT_STANDARDOPS_TRANSFORMS_FUNCCONVERSIONS_H_
+#define MLIR_DIALECT_STANDARDOPS_TRANSFORMS_FUNCCONVERSIONS_H_
namespace mlir {
} // end namespace mlir
-#endif // MLIR_CONVERSION_STANDARDTOSTANDARD_STANDARDTOSTANDARD_H_
+#endif // MLIR_DIALECT_STANDARDOPS_TRANSFORMS_FUNCCONVERSIONS_H_
add_subdirectory(LoopToStandard)
add_subdirectory(StandardToLLVM)
add_subdirectory(StandardToSPIRV)
-add_subdirectory(StandardToStandard)
add_subdirectory(VectorToLLVM)
add_subdirectory(VectorToLoops)
+++ /dev/null
-add_mlir_conversion_library(MLIRStandardToStandard
- StandardToStandard.cpp
-
- ADDITIONAL_HEADER_DIRS
- ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/StandardToStandard
-
- LINK_LIBS PUBLIC
- MLIRIR
- MLIRPass
- MLIRStandardOps
- MLIRTransforms
- )
add_mlir_dialect_library(MLIRStandardOpsTransforms
ExpandAtomic.cpp
+ FuncConversions.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/StandardOps/Transforms
MLIRPass
MLIRStandardOps
MLIRSupport
- MLIRTransforms
+ MLIRTransforms
LLVMSupport
)
-//===- StandardToStandard.cpp - Std intra-dialect lowering ----------------===//
+//===- FuncConversions.cpp - Standard Function conversions ----------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
//
//===----------------------------------------------------------------------===//
-#include "mlir/Conversion/StandardToStandard/StandardToStandard.h"
+#include "mlir/Dialect/StandardOps/Transforms/FuncConversions.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h"
#include "mlir/Transforms/DialectConversion.h"
MLIRLinalgTransforms
MLIRPass
MLIRStandardOps
- MLIRStandardToStandard
+ MLIRStandardOpsTransforms
MLIRTransformUtils
MLIRTransforms
)
//===----------------------------------------------------------------------===//
#include "TestDialect.h"
-#include "mlir/Conversion/StandardToStandard/StandardToStandard.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h"
+#include "mlir/Dialect/StandardOps/Transforms/FuncConversions.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/DialectConversion.h"
MLIRSCF
MLIRGPU
MLIRPass
- MLIRStandardToStandard
+ MLIRStandardOpsTransforms
MLIRTestDialect
MLIRTransformUtils
MLIRVectorToLoops