Struct melior_next::ir::type::Function
source · pub struct Function<'c> { /* private fields */ }
Expand description
A function type.
Implementations§
Trait Implementations§
source§impl<'c> TypeLike<'c> for Function<'c>
impl<'c> TypeLike<'c> for Function<'c>
source§fn context(&self) -> ContextRef<'c>
fn context(&self) -> ContextRef<'c>
Gets a context.
source§fn is_integer(&self) -> bool
fn is_integer(&self) -> bool
Returns
true
if a type is integer.source§fn is_bfloat16(&self) -> bool
fn is_bfloat16(&self) -> bool
Returns
true
if a type is bfloat16.source§fn is_float16(&self) -> bool
fn is_float16(&self) -> bool
Returns
true
if a type is float16.source§fn is_float32(&self) -> bool
fn is_float32(&self) -> bool
Returns
true
if a type is float32.source§fn is_float64(&self) -> bool
fn is_float64(&self) -> bool
Returns
true
if a type is float64.source§fn is_function(&self) -> bool
fn is_function(&self) -> bool
Returns
true
if a type is a function.source§fn is_mem_ref(&self) -> bool
fn is_mem_ref(&self) -> bool
Returns
true
if a type is a memory reference.