MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / build_aux_inst

Method build_aux_inst

cranelift/codegen/src/ir/builder.rs:202–208  ·  view source on GitHub ↗
(&mut self, data: InstructionData, ctrl_typevar: Type)

Source from the content-addressed store, hash-verified

200 }
201
202 fn build_aux_inst(&mut self, data: InstructionData, ctrl_typevar: Type) -> Inst {
203 let dfg = self.inserter.data_flow_graph_mut();
204 let inst = dfg.make_inst(data);
205 dfg.make_inst_results(inst, ctrl_typevar);
206 self.inserter.insert_aux_inst(inst);
207 inst
208 }
209}
210
211/// Builder that inserts a new instruction like `InsertBuilder`, but reusing result values.

Callers 1

build_imm_constMethod · 0.45

Calls 5

make_instMethod · 0.80
make_inst_resultsMethod · 0.80
insert_aux_instMethod · 0.80
data_flow_graph_mutMethod · 0.45
insert_instMethod · 0.45

Tested by

no test coverage detected