mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::ir::Type Class Referenceabstract

#include <Type.h>

Inheritance diagram for mini_llvm::ir::Type:

Public Member Functions

virtual ~Type ()=default
 Type ()=default
 Type (const Type &)=delete
Typeoperator= (const Type &)=delete
 Type (Type &&)=delete
Typeoperator= (Type &&)=delete
virtual int size () const =0
virtual int alignment () const =0
virtual int size (int) const
virtual int alignment (int) const
virtual int bitSize () const
virtual int bitAlignment () const
virtual int bitSize (int pointerSize) const
virtual int bitAlignment (int pointerAlignment) const
virtual std::unique_ptr< ConstantzeroValue () const =0
virtual std::unique_ptr< Constantconstant (int64_t value) const =0
virtual std::unique_ptr< Typepromoted () const =0
virtual std::unique_ptr< Typedemoted () const =0
virtual std::string format () const =0
virtual std::unique_ptr< Typeclone () const =0
virtual void accept (TypeVisitor &visitor)=0
virtual void accept (TypeVisitor &visitor) const =0

Protected Member Functions

virtual bool equals (const Type &other) const =0

Friends

bool operator== (const Type &lhs, const Type &rhs)

Constructor & Destructor Documentation

◆ ~Type()

virtual mini_llvm::ir::Type::~Type ( )
virtualdefault

◆ Type() [1/3]

mini_llvm::ir::Type::Type ( )
default

◆ Type() [2/3]

mini_llvm::ir::Type::Type ( const Type & )
delete

◆ Type() [3/3]

mini_llvm::ir::Type::Type ( Type && )
delete

Member Function Documentation

◆ accept() [1/2]

◆ accept() [2/2]

◆ alignment() [1/2]

◆ alignment() [2/2]

virtual int mini_llvm::ir::Type::alignment ( int ) const
inlinevirtual

◆ bitAlignment() [1/2]

virtual int mini_llvm::ir::Type::bitAlignment ( ) const
inlinevirtual

Reimplemented in mini_llvm::ir::I1.

◆ bitAlignment() [2/2]

virtual int mini_llvm::ir::Type::bitAlignment ( int pointerAlignment) const
inlinevirtual

◆ bitSize() [1/2]

virtual int mini_llvm::ir::Type::bitSize ( ) const
inlinevirtual

Reimplemented in mini_llvm::ir::I1.

◆ bitSize() [2/2]

virtual int mini_llvm::ir::Type::bitSize ( int pointerSize) const
inlinevirtual

◆ clone()

◆ constant()

◆ demoted()

◆ equals()

◆ format()

◆ operator=() [1/2]

Type & mini_llvm::ir::Type::operator= ( const Type & )
delete

◆ operator=() [2/2]

Type & mini_llvm::ir::Type::operator= ( Type && )
delete

◆ promoted()

◆ size() [1/2]

◆ size() [2/2]

virtual int mini_llvm::ir::Type::size ( int ) const
inlinevirtual

◆ zeroValue()

◆ operator==

bool operator== ( const Type & lhs,
const Type & rhs )
friend

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