Home
last modified time | relevance | path

Searched refs:BlockType (Results 1 – 10 of 10) sorted by relevance

/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Dcontrol.rs23 pub(crate) enum BlockType { enum
34 impl Clone for BlockType { implementation
49 pub ty: BlockType,
69 ty: BlockType::sig(sig), in from_sig()
94 BlockType::Single(ty) => { in results()
97 BlockType::Func(f) => { in results()
119 BlockType::Void | BlockType::Single(_) => { in params()
122 BlockType::Func(f) => { in params()
139 BlockType::Void | BlockType::Single(_) => 0, in param_count()
148 BlockType::Void => 0, in return_count()
[all …]
H A Denv.rs13 use wasmparser::BlockType;
196 pub(crate) fn resolve_block_sig(&self, ty: BlockType) -> Result<BlockSig> { in resolve_block_sig()
197 use BlockType::*; in resolve_block_sig()
199 Empty => BlockSig::new(control::BlockType::void()), in resolve_block_sig()
202 BlockSig::new(control::BlockType::single(ty)) in resolve_block_sig()
208 BlockSig::new(control::BlockType::func(sig.clone_panic_on_oom())) in resolve_block_sig()
/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dtranslation_utils.rs12 ty: wasmparser::BlockType, in blocktype_params_results() argument
21 wasmparser::BlockType::Empty => ( in blocktype_params_results()
25 wasmparser::BlockType::Type(ty) => ( in blocktype_params_results()
29 wasmparser::BlockType::FuncType(ty_index) => { in blocktype_params_results()
H A Dstack.rs60 blocktype: wasmparser::BlockType,
509 blocktype: wasmparser::BlockType, in push_if() argument
/wasmtime-44.0.1/crates/fuzzing/src/generators/
H A Dexception_ops.rs12 BlockType, CodeSection, EntityType, ExportKind, ExportSection, Function, FunctionSection,
350 f.instruction(&Instruction::Block(BlockType::Result(ValType::I32))); in encode()
356 BlockType::FunctionType(catch_block_type_base + scenario.throw_tag); in encode()
360 f.instruction(&Instruction::Block(BlockType::Empty)); in encode()
366 let bt = BlockType::FunctionType(catch_block_type_base + decoy_tag); in encode()
372 BlockType::Empty, in encode()
H A Dstacks.rs240 .instruction(&Instruction::If(wasm_encoder::BlockType::Empty)) in wasm()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs1965 self.instruction(If(BlockType::Empty)); in string_deflate_to_utf8()
2040 self.instruction(If(BlockType::Empty)); in string_deflate_to_utf8()
2140 self.instruction(If(BlockType::Empty)); in string_utf8_to_utf16()
2326 self.instruction(If(BlockType::Empty)); in string_to_compact()
2391 self.instruction(If(BlockType::Empty)); in string_to_compact()
2436 self.instruction(If(BlockType::Empty)); in validate_string_length_u8()
3349 self.instruction(If(BlockType::Empty)); in translate_enum()
3465 0 => BlockType::Empty, in convert_variant()
3469 BlockType::FunctionType(ty) in convert_variant()
3696 self.instruction(If(BlockType::Empty)); in trap_if_not_flag()
[all …]
/wasmtime-44.0.1/crates/wizer/src/component/
H A Dinstrument.rs238 ins.if_(wasm_encoder::BlockType::Empty); in add_core_instance_memory()
/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dops.rs347 func.instruction(&Instruction::Loop(wasm_encoder::BlockType::Empty)); in to_wasm_binary()
/wasmtime-44.0.1/winch/codegen/src/
H A Dvisitor.rs26 BlockType, BrTable, HeapType, Ieee32, Ieee64, MemArg, V128, ValType, VisitOperator,
1924 fn visit_if(&mut self, blockty: BlockType) -> Self::Output { in visit_if()
1946 fn visit_block(&mut self, blockty: BlockType) -> Self::Output { in visit_block()
1956 fn visit_loop(&mut self, blockty: BlockType) -> Self::Output { in visit_loop()