Jlm
Public Member Functions | Private Attributes | List of all members
jlm::llvm::VectorType Class Reference

#include <types.hpp>

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

Public Member Functions

 VectorType (std::shared_ptr< const Type > type, size_t size)
 
 VectorType (const VectorType &other)=default
 
 VectorType (VectorType &&other)=default
 
VectorTypeoperator= (const VectorType &other)=default
 
VectorTypeoperator= (VectorType &&other)=default
 
bool operator== (const jlm::rvsdg::Type &other) const noexcept override
 
rvsdg::TypeKind Kind () const noexcept override
 Return the kind of this type. More...
 
size_t size () const noexcept
 
const rvsdg::Typetype () const noexcept
 
const std::shared_ptr< const rvsdg::Type > & Type () const noexcept
 
- Public Member Functions inherited from jlm::rvsdg::Type
virtual ~Type () noexcept
 
bool operator!= (const jlm::rvsdg::Type &other) const noexcept
 
virtual std::string debug_string () const =0
 
virtual std::size_t ComputeHash () const noexcept=0
 

Private Attributes

size_t size_
 
std::shared_ptr< const rvsdg::Typetype_
 

Additional Inherited Members

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

Detailed Description

Definition at line 336 of file types.hpp.

Constructor & Destructor Documentation

◆ VectorType() [1/3]

jlm::llvm::VectorType::VectorType ( std::shared_ptr< const Type type,
size_t  size 
)
inline

Definition at line 339 of file types.hpp.

◆ VectorType() [2/3]

jlm::llvm::VectorType::VectorType ( const VectorType other)
default

◆ VectorType() [3/3]

jlm::llvm::VectorType::VectorType ( VectorType &&  other)
default

Member Function Documentation

◆ Kind()

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

Return the kind of this type.

Implements jlm::rvsdg::Type.

Definition at line 267 of file types.cpp.

◆ operator=() [1/2]

VectorType& jlm::llvm::VectorType::operator= ( const VectorType other)
default

◆ operator=() [2/2]

VectorType& jlm::llvm::VectorType::operator= ( VectorType &&  other)
default

◆ operator==()

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

Implements jlm::rvsdg::Type.

Reimplemented in jlm::llvm::ScalableVectorType, and jlm::llvm::FixedVectorType.

Definition at line 260 of file types.cpp.

◆ size()

size_t jlm::llvm::VectorType::size ( ) const
inlinenoexcept

Definition at line 361 of file types.hpp.

◆ type()

const rvsdg::Type& jlm::llvm::VectorType::type ( ) const
inlinenoexcept

Definition at line 367 of file types.hpp.

◆ Type()

const std::shared_ptr<const rvsdg::Type>& jlm::llvm::VectorType::Type ( ) const
inlinenoexcept

Definition at line 373 of file types.hpp.

Member Data Documentation

◆ size_

size_t jlm::llvm::VectorType::size_
private

Definition at line 379 of file types.hpp.

◆ type_

std::shared_ptr<const rvsdg::Type> jlm::llvm::VectorType::type_
private

Definition at line 380 of file types.hpp.


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