Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::Res Class Reference

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

#include <thorin/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]

thorin::Res::Res ( )
inline

Definition at line 10 of file normalize.h.

◆ Res() [2/2]

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

Definition at line 13 of file normalize.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 18 of file normalize.h.

◆ operator*() [1/2]

constexpr u64 & thorin::Res::operator* ( ) &
inlineconstexpr

Definition at line 17 of file normalize.h.

◆ operator*() [2/2]

constexpr const u64 & thorin::Res::operator* ( ) const &
inlineconstexpr

Definition at line 16 of file normalize.h.


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