MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::Select Class Reference

Matches (ff, tt)#cond - where cond is not a Literal. More...

#include <mim/tuple.h>

Inheritance diagram for mim::Select:
[legend]

Public Member Functions

 Select (const Def *)
 
 operator bool () const noexcept
 
const Extractextract () const
 
const Defpair () const
 
const Defcond () const
 
const Deftt () const
 
const Defff () const
 

Detailed Description

Matches (ff, tt)#cond - where cond is not a Literal.

Note
If cond is a Literal, either
  • (x, y)#lit would have been folded to x/y anymway, or
  • Select::pair() yields again pair#lit for pair#lit.

Definition at line 261 of file tuple.h.

Constructor & Destructor Documentation

◆ Select()

mim::Select::Select ( const Def * def)

Definition at line 52 of file tuple.cpp.

References mim::Lit::isa().

Referenced by mim::Branch::Branch().

Member Function Documentation

◆ cond()

const Def * mim::Select::cond ( ) const
inline

Definition at line 269 of file tuple.h.

◆ extract()

const Extract * mim::Select::extract ( ) const
inline

Definition at line 267 of file tuple.h.

◆ ff()

const Def * mim::Select::ff ( ) const
inline

Definition at line 271 of file tuple.h.

◆ operator bool()

mim::Select::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 265 of file tuple.h.

◆ pair()

const Def * mim::Select::pair ( ) const
inline

Definition at line 268 of file tuple.h.

◆ tt()

const Def * mim::Select::tt ( ) const
inline

Definition at line 270 of file tuple.h.


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