MLLIF
a MLIR-based Language to Language Interoperability Flyover
Loading...
Searching...
No Matches
mllif::mlir::Type Class Referenceabstract

A wrapper class of mlir::Type that serializes it into simple-and-plain text. More...

#include <Type.h>

Inheritance diagram for mllif::mlir::Type:
Collaboration diagram for mllif::mlir::Type:

Public Member Functions

virtual ~Type ()=default
 
virtual std::string store (Tree &symbols) const =0
 Stores this type into symbol tree if necessary and Returns reference string for this type.
 

Detailed Description

A wrapper class of mlir::Type that serializes it into simple-and-plain text.

Definition at line 25 of file Type.h.

Constructor & Destructor Documentation

◆ ~Type()

virtual mllif::mlir::Type::~Type ( )
virtualdefault

Member Function Documentation

◆ store()

virtual std::string mllif::mlir::Type::store ( Tree & symbols) const
pure virtual

Stores this type into symbol tree if necessary and Returns reference string for this type.

Parameters
symbolsA symbol tree
Returns
Reference string for this type

Implemented in mllif::mlir::builtin::BuiltinFPType, mllif::mlir::builtin::BuiltinIntType, mllif::mlir::cir::CIRBoolType, mllif::mlir::cir::CIRFloatType, mllif::mlir::cir::CIRIntegerType, mllif::mlir::cir::CIRPointerType, and mllif::mlir::cir::CIRStructType.


The documentation for this class was generated from the following file: