CIRCT 24.0.0git
Loading...
Searching...
No Matches
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

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

Macros

#define GEN_PASS_DEF_DROPCONST

Functions

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

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]

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]

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::firrtl::type_dyn_cast().