CIRCT  20.0.0git
Macros | Functions
FIREmitter.cpp File Reference
#include "circt/Dialect/FIRRTL/FIREmitter.h"
#include "circt/Dialect/FIRRTL/CHIRRTLDialect.h"
#include "circt/Dialect/FIRRTL/FIRParser.h"
#include "circt/Dialect/FIRRTL/FIRRTLDialect.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/Namespace.h"
#include "circt/Support/LLVM.h"
#include "circt/Support/PrettyPrinterHelpers.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/Tools/mlir-translate/Translation.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/Debug.h"
Include dependency graph for FIREmitter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "export-firrtl"
 
#define HANDLE(OPTYPE, MNEMONIC)    void emitExpression(OPTYPE op) { emitPrimExpr(MNEMONIC, op); }
 

Functions

static bool isEmittedInline (Operation *op)
 Check if an operation is inlined into the emission of their users. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "export-firrtl"

Definition at line 28 of file FIREmitter.cpp.

◆ HANDLE

#define HANDLE (   OPTYPE,
  MNEMONIC 
)     void emitExpression(OPTYPE op) { emitPrimExpr(MNEMONIC, op); }

Definition at line 150 of file FIREmitter.cpp.

Function Documentation

◆ isEmittedInline()

static bool isEmittedInline ( Operation *  op)
static

Check if an operation is inlined into the emission of their users.

For example, subfields are always inlined.

Definition at line 674 of file FIREmitter.cpp.

References circt::firrtl::isExpression().