CIRCT 20.0.0git
Loading...
Searching...
No Matches
FIREmitter.h
Go to the documentation of this file.
1//===- FIREmitter.h - FIRRTL dialect to .fir emitter ------------*- C++ -*-===//
2//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9//
10// Defines the interface to the .fir file emitter.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef CIRCT_DIALECT_FIRRTL_FIREMITTER_H
15#define CIRCT_DIALECT_FIRRTL_FIREMITTER_H
16
17#include "circt/Support/LLVM.h"
18
19namespace circt {
20namespace firrtl {
21
22struct FIRVersion;
23
24mlir::LogicalResult exportFIRFile(mlir::ModuleOp module, llvm::raw_ostream &os,
25 std::optional<size_t> targetLineLength,
26 FIRVersion version);
27
29
30} // namespace firrtl
31} // namespace circt
32
33#endif // CIRCT_DIALECT_FIRRTL_FIREMITTER_H
mlir::LogicalResult exportFIRFile(mlir::ModuleOp module, llvm::raw_ostream &os, std::optional< size_t > targetLineLength, FIRVersion version)
void registerToFIRFileTranslation()
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.