CIRCT  20.0.0git
Functions
PruneZeroValuedLogic.cpp File Reference
#include "ExportVerilogInternals.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/HWPasses.h"
#include "circt/Dialect/Seq/SeqOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/DialectConversion.h"
Include dependency graph for PruneZeroValuedLogic.cpp:

Go to the source code of this file.

Functions

static bool noI0Type (TypeRange types)
 
static bool noI0TypedValue (ValueRange values)
 
static SmallVector< Value > flattenValues (ArrayRef< ValueRange > values)
 Flatten the given value ranges into a single vector of values. More...
 

Function Documentation

◆ flattenValues()

static SmallVector<Value> flattenValues ( ArrayRef< ValueRange >  values)
static

Flatten the given value ranges into a single vector of values.

Definition at line 37 of file PruneZeroValuedLogic.cpp.

◆ noI0Type()

static bool noI0Type ( TypeRange  types)
static

Definition at line 27 of file PruneZeroValuedLogic.cpp.

References circt::ExportVerilog::isZeroBitType().

Referenced by noI0TypedValue().

◆ noI0TypedValue()

static bool noI0TypedValue ( ValueRange  values)
static

Definition at line 32 of file PruneZeroValuedLogic.cpp.

References noI0Type().