CIRCT
18.0.0git
|
#include "PassDetail.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/SV/SVPasses.h"
#include "circt/Support/LoweringOptions.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/Matchers.h"
#include "llvm/ADT/TypeSwitch.h"
Go to the source code of this file.
Functions | |
static bool | isVerilogUnaryOperator (Operation *op) |
Return true if this is something that will get printed as a unary operator by the Verilog printer. More... | |
static std::optional< APInt > | getInt (Value value) |
Helper to convert a value to a constant integer if it is one. More... | |
static bool | isSelfWrite (Value dst, Value src) |
static unsigned | getBlockDepth (Block *block, Block *topBlock) |
|
static |
Definition at line 387 of file PrettifyVerilog.cpp.
|
static |
Helper to convert a value to a constant integer if it is one.
Definition at line 77 of file PrettifyVerilog.cpp.
References value.
Referenced by circt::seq::FirMemory::FirMemory(), and isSelfWrite().
|
static |
Definition at line 86 of file PrettifyVerilog.cpp.
References circt::calyx::direction::get(), and getInt().
|
static |
Return true if this is something that will get printed as a unary operator by the Verilog printer.
Definition at line 63 of file PrettifyVerilog.cpp.