pub trait Transformer: Sized {
Show 21 methods
// Provided methods
fn transform_attr_set_use(
&mut self,
_attrs: AttrSet
) -> Transformed<AttrSet> { ... }
fn transform_type_use(&mut self, _ty: Type) -> Transformed<Type> { ... }
fn transform_const_use(&mut self, _ct: Const) -> Transformed<Const> { ... }
fn transform_data_inst_form_use(
&mut self,
_data_inst_form: DataInstForm
) -> Transformed<DataInstForm> { ... }
fn transform_global_var_use(
&mut self,
_gv: GlobalVar
) -> Transformed<GlobalVar> { ... }
fn transform_func_use(&mut self, _func: Func) -> Transformed<Func> { ... }
fn in_place_transform_spv_dialect(&mut self, _dialect: &mut Dialect) { ... }
fn in_place_transform_spv_module_debug_info(
&mut self,
_debug_info: &mut ModuleDebugInfo
) { ... }
fn transform_attr_set_def(
&mut self,
attrs_def: &AttrSetDef
) -> Transformed<AttrSetDef> { ... }
fn transform_attr(&mut self, attr: &Attr) -> Transformed<Attr> { ... }
fn transform_type_def(&mut self, ty_def: &TypeDef) -> Transformed<TypeDef> { ... }
fn transform_const_def(
&mut self,
ct_def: &ConstDef
) -> Transformed<ConstDef> { ... }
fn transform_data_inst_form_def(
&mut self,
data_inst_form_def: &DataInstFormDef
) -> Transformed<DataInstFormDef> { ... }
fn transform_value_use(&mut self, v: &Value) -> Transformed<Value> { ... }
fn in_place_transform_module(&mut self, module: &mut Module) { ... }
fn in_place_transform_module_dialect(&mut self, dialect: &mut ModuleDialect) { ... }
fn in_place_transform_module_debug_info(
&mut self,
debug_info: &mut ModuleDebugInfo
) { ... }
fn in_place_transform_global_var_decl(
&mut self,
gv_decl: &mut GlobalVarDecl
) { ... }
fn in_place_transform_func_decl(&mut self, func_decl: &mut FuncDecl) { ... }
fn in_place_transform_control_node_def(
&mut self,
func_at_control_node: FuncAtMut<'_, ControlNode>
) { ... }
fn in_place_transform_data_inst_def(
&mut self,
func_at_data_inst: FuncAtMut<'_, DataInst>
) { ... }
}