[Moore] Remove remaining usages of EnumType

This commit is contained in:
Martin Erhart 2024-05-07 11:09:35 +02:00
parent aba85bf470
commit 282bdb85b2
1 changed files with 0 additions and 12 deletions

View File

@ -175,18 +175,6 @@ MlirType mooreUnpackedQueueDimTypeGetWithBound(MlirType inner, unsigned bound) {
return wrap(UnpackedQueueDim::get(cast<UnpackedType>(unwrap(inner)), bound));
}
/// Create a enum type without base.
MlirType mooreEnumTypeGet(MlirAttribute name, MlirLocation loc) {
return wrap(EnumType::get(cast<StringAttr>(unwrap(name)), unwrap(loc)));
}
/// Create a enum type width base.
MlirType mooreEnumTypeGetWithBase(MlirAttribute name, MlirLocation loc,
MlirType base) {
return wrap(EnumType::get(cast<StringAttr>(unwrap(name)), unwrap(loc),
cast<PackedType>(unwrap(base))));
}
/// Create a simple bit-vector type.
MlirType mooreSimpleBitVectorTypeGet(MlirContext ctx, bool isFourValued,
bool isSigned, unsigned size) {