#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/TypeSwitch.h"
#include "circt/Dialect/SV/SVPasses.h.inc"
Go to the source code of this file.
|
| namespace | circt |
| | The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
|
| |
| namespace | circt::sv |
| |
|
| static bool | isVerilogUnaryOperator (Operation *op) |
| | Return true if this is something that will get printed as a unary operator by the Verilog printer.
|
| |
| 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()
| static unsigned getBlockDepth |
( |
Block * |
block, |
|
|
Block * |
topBlock |
|
) |
| |
|
static |
◆ getInt()
| static std::optional< APInt > getInt |
( |
Value |
value | ) |
|
|
static |
◆ isSelfWrite()
| static bool isSelfWrite |
( |
Value |
dst, |
|
|
Value |
src |
|
) |
| |
|
static |
◆ isVerilogUnaryOperator()
| static bool isVerilogUnaryOperator |
( |
Operation * |
op | ) |
|
|
static |
Return true if this is something that will get printed as a unary operator by the Verilog printer.
Definition at line 70 of file PrettifyVerilog.cpp.