CIRCT 22.0.0git
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
HWConvertBitcasts.cpp File Reference
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/HWPasses.h"
#include "mlir/IR/AttrTypeSubElements.h"
#include "mlir/IR/Iterators.h"
#include "mlir/Pass/Pass.h"
#include "circt/Dialect/HW/Passes.h.inc"
Include dependency graph for HWConvertBitcasts.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define DEBUG_TYPE   "hw-convert-bitcasts"
 
#define GEN_PASS_DEF_HWCONVERTBITCASTS
 

Functions

static void collectIntegersRecursively (OpBuilder builder, Location loc, Value inputVal, SmallVectorImpl< Value > &accumulator)
 
static Value constructAggregateRecursively (OpBuilder builder, Location loc, Value rawInteger, Type targetType)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hw-convert-bitcasts"

Definition at line 16 of file HWConvertBitcasts.cpp.

◆ GEN_PASS_DEF_HWCONVERTBITCASTS

#define GEN_PASS_DEF_HWCONVERTBITCASTS

Definition at line 20 of file HWConvertBitcasts.cpp.

Function Documentation

◆ collectIntegersRecursively()

static void collectIntegersRecursively ( OpBuilder  builder,
Location  loc,
Value  inputVal,
SmallVectorImpl< Value > &  accumulator 
)
static

◆ constructAggregateRecursively()

static Value constructAggregateRecursively ( OpBuilder  builder,
Location  loc,
Value  rawInteger,
Type  targetType 
)
static