Trait tir_core::Op

source ·
pub trait Op: Any + OpAssembly + Printable + Validate + OpValidator {
Show 13 methods // Required methods fn get_operation_name(&self) -> &'static str; fn get_attrs(&self) -> &HashMap<String, Attr>; fn add_attrs(&mut self, attrs: &HashMap<String, Attr>); fn get_context(&self) -> ContextRef; fn get_parent_region(&self) -> Option<RegionRef>; fn set_parent_region(&mut self, region: RegionWRef); fn get_return_type(&self) -> Option<Type>; fn get_return_value(&self) -> Option<Value>; fn set_alloc_id(&mut self, id: AllocId); fn get_alloc_id(&self) -> AllocId; fn get_dialect_id(&self) -> u32; fn get_regions(&self) -> OpRegionIter ; fn has_regions(&self) -> bool;
}

Required Methods§

Implementors§