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

Method build

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

Source from the content-addressed store, hash-verified

193 }
194
195 fn build(mut self, data: InstructionData, ctrl_typevar: Type) -> (Inst, &'f mut DataFlowGraph) {
196 let dfg = self.inserter.data_flow_graph_mut();
197 let inst = dfg.make_inst(data);
198 dfg.make_inst_results(inst, ctrl_typevar);
199 (inst, self.inserter.insert_built_inst(inst))
200 }
201
202 fn build_aux_inst(&mut self, data: InstructionData, ctrl_typevar: Type) -> Inst {
203 let dfg = self.inserter.data_flow_graph_mut();

Callers 4

to_capstoneMethod · 0.45
to_capstoneMethod · 0.45
to_capstoneMethod · 0.45
to_capstoneMethod · 0.45

Calls 8

make_instMethod · 0.80
make_inst_resultsMethod · 0.80
insert_built_instMethod · 0.80
has_resultsMethod · 0.80
data_flow_graph_mutMethod · 0.45
iterMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected