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

Utility class when folding constants in normalizers. More...

#include <mim/normalize.h>

Public Member Functions

 Res ()
 
template<class T >
 Res (T val)
 
constexpr const u64operator* () const &
 
constexpr u64operator* () &
 
 operator bool () const
 

Detailed Description

Utility class when folding constants in normalizers.

Definition at line 8 of file normalize.h.

Constructor & Destructor Documentation

◆ Res() [1/2]

mim::Res::Res ( )
inline

Definition at line 10 of file normalize.h.

◆ Res() [2/2]

template<class T >
mim::Res::Res ( T val)
inline

Definition at line 13 of file normalize.h.

Member Function Documentation

◆ operator bool()

mim::Res::operator bool ( ) const
inlineexplicit

Definition at line 18 of file normalize.h.

◆ operator*() [1/2]

u64 & mim::Res::operator* ( ) &
inlineconstexpr

Definition at line 17 of file normalize.h.

◆ operator*() [2/2]

const u64 & mim::Res::operator* ( ) const &
inlineconstexpr

Definition at line 16 of file normalize.h.


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