2020-07-05 07:56:09 +08:00
|
|
|
//===------------------------------------------------------------*- 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 NPCOMP_TYPING_TRANSFORMS_PASSES_H
|
|
|
|
#define NPCOMP_TYPING_TRANSFORMS_PASSES_H
|
|
|
|
|
|
|
|
#include "mlir/Pass/Pass.h"
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace mlir {
|
|
|
|
namespace NPCOMP {
|
|
|
|
namespace Typing {
|
|
|
|
|
|
|
|
std::unique_ptr<OperationPass<FuncOp>> createCPAFunctionTypeInferencePass();
|
|
|
|
|
|
|
|
} // namespace Typing
|
2020-08-28 06:09:10 +08:00
|
|
|
|
|
|
|
/// Registers all typing passes.
|
|
|
|
void registerTypingPasses();
|
|
|
|
|
2020-07-05 07:56:09 +08:00
|
|
|
} // namespace NPCOMP
|
|
|
|
} // namespace mlir
|
|
|
|
|
|
|
|
#endif // NPCOMP_TYPING_TRANSFORMS_PASSES_H
|