Loading [MathJax]/extensions/tex2jax.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
CombineDrives.cpp File Reference
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Dialect/LLHD/IR/LLHDOps.h"
#include "circt/Dialect/LLHD/Transforms/LLHDPasses.h"
#include "circt/Support/UnusedOpPruner.h"
#include "mlir/IR/Matchers.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/LLHD/Transforms/LLHDPasses.h.inc"
Include dependency graph for CombineDrives.cpp:

Go to the source code of this file.

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
namespace  circt::llhd
 

Macros

#define DEBUG_TYPE   "llhd-combine-drives"
 
#define GEN_PASS_DEF_COMBINEDRIVESPASS
 

Functions

static unsigned getLength (Type type)
 Determine the number of elements in a type.
 
static llvm::raw_ostream & operator<< (llvm::raw_ostream &os, const Signal &signal)
 Print a signal.
 
static llvm::raw_ostream & operator<< (llvm::raw_ostream &os, SignalSlice slice)
 Print a signal slice.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "llhd-combine-drives"

Definition at line 17 of file CombineDrives.cpp.

◆ GEN_PASS_DEF_COMBINEDRIVESPASS

#define GEN_PASS_DEF_COMBINEDRIVESPASS

Definition at line 21 of file CombineDrives.cpp.

Function Documentation

◆ getLength()

static unsigned getLength ( Type  type)
static

Determine the number of elements in a type.

This returns the number of bits in an integer, the number of elements in an array, or the number of fields in a struct. Returns zero for everything else.

Definition at line 37 of file CombineDrives.cpp.

◆ operator<<() [1/2]

static llvm::raw_ostream & operator<< ( llvm::raw_ostream &  os,
const Signal &  signal 
)
static

Print a signal.

Definition at line 168 of file CombineDrives.cpp.

◆ operator<<() [2/2]

static llvm::raw_ostream & operator<< ( llvm::raw_ostream &  os,
SignalSlice  slice 
)
static

Print a signal slice.

Definition at line 177 of file CombineDrives.cpp.