Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
IR::TableType Struct Reference

#include <Types.h>

Collaboration diagram for IR::TableType:

Public Member Functions

 TableType ()
 
 TableType (TableElementType inElementType, bool inIsShared, SizeConstraints inSize)
 

Public Attributes

TableElementType elementType
 
bool isShared
 
SizeConstraints size
 

Friends

bool operator== (const TableType &left, const TableType &right)
 
bool operator!= (const TableType &left, const TableType &right)
 
bool isSubset (const TableType &super, const TableType &sub)
 

Detailed Description

Definition at line 252 of file Types.h.

Constructor & Destructor Documentation

◆ TableType() [1/2]

IR::TableType::TableType ( )
inline

Definition at line 258 of file Types.h.

#define UINT64_MAX
Definition stdint.h:189
TableElementType elementType
Definition Types.h:254
SizeConstraints size
Definition Types.h:256
bool isShared
Definition Types.h:255

◆ TableType() [2/2]

IR::TableType::TableType ( TableElementType inElementType,
bool inIsShared,
SizeConstraints inSize )
inline

Definition at line 259 of file Types.h.

260 : elementType(inElementType), isShared(inIsShared), size(inSize) {}

Friends And Related Symbol Documentation

◆ isSubset

bool isSubset ( const TableType & super,
const TableType & sub )
friend

Definition at line 266 of file Types.h.

267 { return super.elementType == sub.elementType && super.isShared == sub.isShared && isSubset(super.size,sub.size); }
friend bool isSubset(const TableType &super, const TableType &sub)
Definition Types.h:266
void sub(const Operand &op, uint32 imm)

◆ operator!=

bool operator!= ( const TableType & left,
const TableType & right )
friend

Definition at line 264 of file Types.h.

265 { return left.elementType != right.elementType || left.isShared != right.isShared || left.size != right.size; }

◆ operator==

bool operator== ( const TableType & left,
const TableType & right )
friend

Definition at line 262 of file Types.h.

263 { return left.elementType == right.elementType && left.isShared == right.isShared && left.size == right.size; }

Member Data Documentation

◆ elementType

TableElementType IR::TableType::elementType

Definition at line 254 of file Types.h.

◆ isShared

bool IR::TableType::isShared

Definition at line 255 of file Types.h.

◆ size

SizeConstraints IR::TableType::size

Definition at line 256 of file Types.h.


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