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 392 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 355 of file HWArithToHW.cpp.
References circt::calyx::direction::get().
|
private |
Definition at line 50 of file HWArithToHW.h.