#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Dialect/SV/SVPasses.h"
#include "circt/Support/LoweringOptions.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/Matchers.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/SV/SVPasses.h.inc"
Go to the source code of this file.
|
| static bool | isPrettifiableUnaryOperator (Operation *op) |
| | Return true if this is a unary operator that is cheap enough to sink or duplicate into its users as part of prettification.
|
| static std::optional< APInt > | getInt (Value value) |
| | Helper to convert a value to a constant integer if it is one.
|
| static bool | isSelfWrite (Value dst, Value src) |
| static unsigned | getBlockDepth (Block *block, Block *topBlock) |
◆ GEN_PASS_DEF_PRETTIFYVERILOG
| #define GEN_PASS_DEF_PRETTIFYVERILOG |
◆ getBlockDepth()
| unsigned getBlockDepth |
( |
Block * | block, |
|
|
Block * | topBlock ) |
|
static |
◆ getInt()
| std::optional< APInt > getInt |
( |
Value | value | ) |
|
|
static |
◆ isPrettifiableUnaryOperator()
| bool isPrettifiableUnaryOperator |
( |
Operation * | op | ) |
|
|
static |
Return true if this is a unary operator that is cheap enough to sink or duplicate into its users as part of prettification.
Definition at line 71 of file PrettifyVerilog.cpp.
◆ isSelfWrite()
| bool isSelfWrite |
( |
Value | dst, |
|
|
Value | src ) |
|
static |