#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/FIRRTLTypes.h"
#include "circt/Dialect/FIRRTL/FIRRTLUtils.h"
#include "circt/Dialect/FIRRTL/FIRRTLVisitors.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "circt/Support/FieldRef.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/SaveAndRestore.h"
#include "circt/Dialect/FIRRTL/Passes.h.inc"
Go to the source code of this file.
|
| static void | mergeBlock (Block &destination, Block::iterator insertPoint, Block &source) |
| | Move all operations from a source block in to a destination block.
|
| static bool | isInvalidValue (Value value) |
| | Return true if the value is an invalid value or a subelement of one.
|
◆ GEN_PASS_DEF_EXPANDWHENS
| #define GEN_PASS_DEF_EXPANDWHENS |
◆ DriverMap
◆ ScopedDriverMap
This is a determistic mapping of a FieldRef to the last operation which set a value to it.
Definition at line 133 of file ExpandWhens.cpp.
◆ isInvalidValue()
| bool isInvalidValue |
( |
Value | value | ) |
|
|
static |
Return true if the value is an invalid value or a subelement of one.
Definition at line 45 of file ExpandWhens.cpp.
◆ mergeBlock()
| void mergeBlock |
( |
Block & | destination, |
|
|
Block::iterator | insertPoint, |
|
|
Block & | source ) |
|
static |
Move all operations from a source block in to a destination block.
Leaves the source block empty.
Definition at line 39 of file ExpandWhens.cpp.
Referenced by buildMergeBlocks().