@@ -221,17 +221,6 @@ class MLIRContextImpl {
221221 llvm::DenseMap<StringRef, AbstractType *> nameToType;
222222
223223 // / Cached Type Instances.
224- Float4E2M1FNType f4E2M1FNTy;
225- Float6E2M3FNType f6E2M3FNTy;
226- Float6E3M2FNType f6E3M2FNTy;
227- Float8E5M2Type f8E5M2Ty;
228- Float8E4M3Type f8E4M3Ty;
229- Float8E4M3FNType f8E4M3FNTy;
230- Float8E5M2FNUZType f8E5M2FNUZTy;
231- Float8E4M3FNUZType f8E4M3FNUZTy;
232- Float8E4M3B11FNUZType f8E4M3B11FNUZTy;
233- Float8E3M4Type f8E3M4Ty;
234- Float8E8M0FNUType f8E8M0FNUTy;
235224 BFloat16Type bf16Ty;
236225 Float16Type f16Ty;
237226 FloatTF32Type tf32Ty;
@@ -317,17 +306,6 @@ MLIRContext::MLIRContext(const DialectRegistry ®istry, Threading setting)
317306
318307 // // Types.
319308 // / Floating-point Types.
320- impl->f4E2M1FNTy = TypeUniquer::get<Float4E2M1FNType>(this );
321- impl->f6E2M3FNTy = TypeUniquer::get<Float6E2M3FNType>(this );
322- impl->f6E3M2FNTy = TypeUniquer::get<Float6E3M2FNType>(this );
323- impl->f8E5M2Ty = TypeUniquer::get<Float8E5M2Type>(this );
324- impl->f8E4M3Ty = TypeUniquer::get<Float8E4M3Type>(this );
325- impl->f8E4M3FNTy = TypeUniquer::get<Float8E4M3FNType>(this );
326- impl->f8E5M2FNUZTy = TypeUniquer::get<Float8E5M2FNUZType>(this );
327- impl->f8E4M3FNUZTy = TypeUniquer::get<Float8E4M3FNUZType>(this );
328- impl->f8E4M3B11FNUZTy = TypeUniquer::get<Float8E4M3B11FNUZType>(this );
329- impl->f8E3M4Ty = TypeUniquer::get<Float8E3M4Type>(this );
330- impl->f8E8M0FNUTy = TypeUniquer::get<Float8E8M0FNUType>(this );
331309 impl->bf16Ty = TypeUniquer::get<BFloat16Type>(this );
332310 impl->f16Ty = TypeUniquer::get<Float16Type>(this );
333311 impl->tf32Ty = TypeUniquer::get<FloatTF32Type>(this );
@@ -1044,39 +1022,6 @@ AbstractType::lookup(StringRef name, MLIRContext *context) {
10441022// / This should not be used directly.
10451023StorageUniquer &MLIRContext::getTypeUniquer () { return getImpl ().typeUniquer ; }
10461024
1047- Float4E2M1FNType Float4E2M1FNType::get (MLIRContext *context) {
1048- return context->getImpl ().f4E2M1FNTy ;
1049- }
1050- Float6E2M3FNType Float6E2M3FNType::get (MLIRContext *context) {
1051- return context->getImpl ().f6E2M3FNTy ;
1052- }
1053- Float6E3M2FNType Float6E3M2FNType::get (MLIRContext *context) {
1054- return context->getImpl ().f6E3M2FNTy ;
1055- }
1056- Float8E5M2Type Float8E5M2Type::get (MLIRContext *context) {
1057- return context->getImpl ().f8E5M2Ty ;
1058- }
1059- Float8E4M3Type Float8E4M3Type::get (MLIRContext *context) {
1060- return context->getImpl ().f8E4M3Ty ;
1061- }
1062- Float8E4M3FNType Float8E4M3FNType::get (MLIRContext *context) {
1063- return context->getImpl ().f8E4M3FNTy ;
1064- }
1065- Float8E5M2FNUZType Float8E5M2FNUZType::get (MLIRContext *context) {
1066- return context->getImpl ().f8E5M2FNUZTy ;
1067- }
1068- Float8E4M3FNUZType Float8E4M3FNUZType::get (MLIRContext *context) {
1069- return context->getImpl ().f8E4M3FNUZTy ;
1070- }
1071- Float8E4M3B11FNUZType Float8E4M3B11FNUZType::get (MLIRContext *context) {
1072- return context->getImpl ().f8E4M3B11FNUZTy ;
1073- }
1074- Float8E3M4Type Float8E3M4Type::get (MLIRContext *context) {
1075- return context->getImpl ().f8E3M4Ty ;
1076- }
1077- Float8E8M0FNUType Float8E8M0FNUType::get (MLIRContext *context) {
1078- return context->getImpl ().f8E8M0FNUTy ;
1079- }
10801025BFloat16Type BFloat16Type::get (MLIRContext *context) {
10811026 return context->getImpl ().bf16Ty ;
10821027}
0 commit comments