CIRCT
20.0.0git
|
A helper type converter class that automatically populates the relevant materializations and type conversions for converting HWArith to HW. More...
#include <HWArithToHW.h>
Classes | |
struct | ConvertedType |
Public Member Functions | |
HWArithToHWTypeConverter () | |
mlir::Type | removeSignedness (mlir::Type type) |
bool | hasSignednessSemantics (mlir::Type type) |
bool | hasSignednessSemantics (mlir::TypeRange types) |
Private Attributes | |
llvm::DenseMap< mlir::Type, ConvertedType > | conversionCache |
A helper type converter class that automatically populates the relevant materializations and type conversions for converting HWArith to HW.
Definition at line 32 of file HWArithToHW.h.
HWArithToHWTypeConverter::HWArithToHWTypeConverter | ( | ) |
Definition at line 386 of file HWArithToHW.cpp.
bool circt::HWArithToHWTypeConverter::hasSignednessSemantics | ( | mlir::Type | type | ) |
bool circt::HWArithToHWTypeConverter::hasSignednessSemantics | ( | mlir::TypeRange | types | ) |
Type HWArithToHWTypeConverter::removeSignedness | ( | mlir::Type | type | ) |
Definition at line 353 of file HWArithToHW.cpp.
References circt::calyx::direction::get().
|
private |
Definition at line 50 of file HWArithToHW.h.