blob: 94334a4dde766ceaba303e5875f32adcb23a16c9 [file] [log] [blame]
// Copyright 2020 The IREE Authors
//
// Licensed 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 IREE_COMPILER_DIALECT_MODULES_VMVX_CONVERSION_VMVXTOVM_CONVERTVMVXTOVM_H_
#define IREE_COMPILER_DIALECT_MODULES_VMVX_CONVERSION_VMVXTOVM_CONVERTVMVXTOVM_H_
#include "iree/compiler/Dialect/Modules/VMVX/IR/VMVXOps.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/DialectConversion.h"
namespace mlir {
namespace iree_compiler {
// Populates conversion patterns from the VMVX dialect to the VM dialect.
void populateVMVXToVMPatterns(MLIRContext *context,
TypeConverter &typeConverter,
SymbolTable &importSymbols,
OwningRewritePatternList &patterns);
} // namespace iree_compiler
} // namespace mlir
#endif // IREE_COMPILER_DIALECT_MODULES_VMVX_CONVERSION_VMVXTOVM_CONVERTVMVXTOVM_H_