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

#include <Types.h>

Public Attributes

U64 min
 
U64 max
 

Friends

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

Detailed Description

Definition at line 232 of file Types.h.

Friends And Related Symbol Documentation

◆ isSubset

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

Definition at line 239 of file Types.h.

240 {
241 return sub.min >= super.min && sub.max <= super.max;
242 }
void sub(const Operand &op, uint32 imm)

◆ operator!=

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

Definition at line 238 of file Types.h.

238{ return left.min != right.min || left.max != right.max; }

◆ operator==

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

Definition at line 237 of file Types.h.

237{ return left.min == right.min && left.max == right.max; }

Member Data Documentation

◆ max

U64 IR::SizeConstraints::max

Definition at line 235 of file Types.h.

◆ min

U64 IR::SizeConstraints::min

Definition at line 234 of file Types.h.


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