Jlm
Public Member Functions | Static Public Member Functions | List of all members
jlm::llvm::PointerType Class Referencefinal

PointerType class. More...

#include <types.hpp>

Inheritance diagram for jlm::llvm::PointerType:
Inheritance graph
[legend]
Collaboration diagram for jlm::llvm::PointerType:
Collaboration graph
[legend]

Public Member Functions

 ~PointerType () noexcept override
 
 PointerType ()=default
 
std::string debug_string () const override
 
bool operator== (const jlm::rvsdg::Type &other) const noexcept override
 
std::size_t ComputeHash () const noexcept override
 
rvsdg::TypeKind Kind () const noexcept override
 Return the kind of this type. More...
 
- Public Member Functions inherited from jlm::rvsdg::Type
virtual ~Type () noexcept
 
bool operator!= (const jlm::rvsdg::Type &other) const noexcept
 

Static Public Member Functions

static std::shared_ptr< const PointerTypeCreate ()
 

Additional Inherited Members

- Protected Member Functions inherited from jlm::rvsdg::Type
constexpr Type () noexcept
 

Detailed Description

PointerType class.

This operator is the Jlm equivalent of LLVM's PointerType class.

Definition at line 24 of file types.hpp.

Constructor & Destructor Documentation

◆ ~PointerType()

jlm::llvm::PointerType::~PointerType ( )
overridedefaultnoexcept

◆ PointerType()

jlm::llvm::PointerType::PointerType ( )
default

Member Function Documentation

◆ ComputeHash()

std::size_t jlm::llvm::PointerType::ComputeHash ( ) const
overridevirtualnoexcept

Computes a hash value for the instance of the type.

Returns
A hash value.

Implements jlm::rvsdg::Type.

Definition at line 33 of file types.cpp.

◆ Create()

std::shared_ptr< const PointerType > jlm::llvm::PointerType::Create ( )
static

Definition at line 45 of file types.cpp.

◆ debug_string()

std::string jlm::llvm::PointerType::debug_string ( ) const
overridevirtual

Implements jlm::rvsdg::Type.

Definition at line 21 of file types.cpp.

◆ Kind()

rvsdg::TypeKind jlm::llvm::PointerType::Kind ( ) const
overridevirtualnoexcept

Return the kind of this type.

Implements jlm::rvsdg::Type.

Definition at line 39 of file types.cpp.

◆ operator==()

bool jlm::llvm::PointerType::operator== ( const jlm::rvsdg::Type other) const
overridevirtualnoexcept

Implements jlm::rvsdg::Type.

Definition at line 27 of file types.cpp.


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