CIRCT  20.0.0git
Namespaces | Macros | Functions
DropConst.cpp File Reference
#include "circt/Dialect/FIRRTL/FIRRTLInstanceGraph.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/FIRRTLTypes.h"
#include "circt/Dialect/FIRRTL/FIRRTLUtils.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "mlir/IR/Threading.h"
#include "mlir/Pass/Pass.h"
#include "circt/Dialect/FIRRTL/Passes.h.inc"
Include dependency graph for DropConst.cpp:

Go to the source code of this file.

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::firrtl
 

Macros

#define GEN_PASS_DEF_DROPCONST
 

Functions

static FIRRTLBaseType convertType (FIRRTLBaseType type)
 Returns null type if no conversion is needed. More...
 
static Type convertType (Type type)
 Returns null type if no conversion is needed. More...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_DROPCONST

#define GEN_PASS_DEF_DROPCONST

Definition at line 23 of file DropConst.cpp.

Function Documentation

◆ convertType() [1/2]

static FIRRTLBaseType convertType ( FIRRTLBaseType  type)
static

Returns null type if no conversion is needed.

Definition at line 32 of file DropConst.cpp.

References circt::firrtl::FIRRTLBaseType::getAllConstDroppedType().

Referenced by convertType().

◆ convertType() [2/2]

static Type convertType ( Type  type)
static

Returns null type if no conversion is needed.

Definition at line 38 of file DropConst.cpp.

References convertType(), and circt::calyx::direction::get().