torch-mlir/include/npcomp/Dialect/Basicpy/Transforms/Passes.td

24 lines
888 B
TableGen
Raw Normal View History

2020-06-11 05:48:22 +08:00
//===-- Passes.td - Pass definition file -------------------*- tablegen -*-===//
//
// 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 NPCOMP_BASICPY_PASSES
#define NPCOMP_BASICPY_PASSES
include "mlir/Pass/PassBase.td"
//===----------------------------------------------------------------------===//
// TypeInference
//===----------------------------------------------------------------------===//
def FunctionTypeInference : Pass<"basicpy-type-inference", "FuncOp"> {
let summary = "Performs function level type inference";
let constructor = "mlir::NPCOMP::Basicpy::createFunctionTypeInferencePass()";
}
#endif // NPCOMP_BASICPY_PASSES