| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | instructions.rs | 111 ) -> impl ExactSizeIterator<Item = BlockArg> + DoubleEndedIterator<Item = BlockArg> + use<'a> in args() 119 pub fn update_args<F: FnMut(BlockArg) -> BlockArg>( in update_args() 144 T: Into<BlockArg>, in extend() argument 199 pub enum BlockArg { enum 218 impl BlockArg { implementation 250 BlockArg::Value(v) => Some(v), in as_value() 258 BlockArg::Value(v) => BlockArg::Value(f(v)), in map_value() 264 impl Display for BlockArg { implementation 274 impl From<Value> for BlockArg { implementation 275 fn from(value: Value) -> BlockArg { in from() argument [all …]
|
| H A D | jumptable.rs | 116 use crate::ir::{Block, BlockArg, BlockCall, Value}; 167 [BlockArg::Value(v0)] in insert() 172 [BlockArg::Value(v1)] in insert()
|
| H A D | mod.rs | 53 BlockArg, BlockCall, InstructionData, Opcode, ValueList, ValueListPool, VariableArgs,
|
| H A D | builder.rs | 9 use crate::ir::{BlockArg, Inst, Opcode, Type, Value};
|
| H A D | dfg.rs | 10 Block, BlockArg, BlockCall, ConstantData, ConstantPool, DynamicType, ExceptionTables, 237 args: impl IntoIterator<Item = &'a BlockArg>, in block_call()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | remove_constant_phis.rs | 6 use crate::ir::{Block, BlockArg, BlockCall, Inst, Value}; 119 args: &'a [BlockArg], 307 BlockArg::Value(actual) => match state.maybe_get(*actual) { in do_remove_constant_phis()
|
| H A D | inline.rs | 33 type SmallBlockArgVec = SmallVec<[ir::BlockArg; 8]>; 668 (0..returns_len).map(|i| ir::BlockArg::TryCallRet(i)), in fixup_inlined_call_exception_tables() 980 ir::BlockArg::Value(value) => self.map_value(value).into(), in map_block_call() 981 ir::BlockArg::TryCallRet(_) | ir::BlockArg::TryCallExn(_) => arg, in map_block_call() 1136 arg == ir::BlockArg::TryCallRet(i) in split_off_return_block() 1163 ir::BlockArg::Value(value) => ir::BlockArg::Value(value), in split_off_return_block() 1164 ir::BlockArg::TryCallRet(i) => { in split_off_return_block() 1166 ir::BlockArg::Value(return_block_params[i]) in split_off_return_block() 1168 ir::BlockArg::TryCallExn(_) => { in split_off_return_block()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/stack_switching/ |
| H A D | instructions.rs | 1 use cranelift_codegen::ir::BlockArg; 876 .jump(store_data_block, &[BlockArg::Value(ptr)]); in vmcontref_store_payloads() 890 .jump(store_data_block, &[BlockArg::Value(ptr)]); in vmcontref_store_payloads() 1065 let block_args = start.to_raw_parts().map(|v| BlockArg::Value(v)); in search_handler() 1114 .jump(try_index, &[BlockArg::Value(begin_range)]); in search_handler() 1128 let block_args = parent_link.to_raw_parts().map(|v| BlockArg::Value(v)); in search_handler() 1158 &[BlockArg::Value(incremented_index)], in search_handler() 1527 let mut suspend_args: Vec<BlockArg> = values in translate_resume() 1530 .map(|v| BlockArg::Value(v)) in translate_resume() 1536 suspend_args.push(BlockArg::Value(suspended_contobj)); in translate_resume()
|
| /wasmtime-44.0.1/cranelift/codegen/src/verifier/ |
| H A D | mod.rs | 72 use crate::ir::{self, ArgumentExtension, BlockArg, ExceptionTable}; 1512 arg: BlockArg, in block_call_arg_ty() argument 1518 BlockArg::Value(v) => Ok(Some(self.func.dfg.value_type(v))), in block_call_arg_ty() 1519 BlockArg::TryCallRet(_) | BlockArg::TryCallExn(_) => { in block_call_arg_ty() 1538 (BlockArg::TryCallRet(i), BlockCallTargetType::ExNormalRet) in block_call_arg_ty() 1543 (BlockArg::TryCallRet(_), BlockCallTargetType::ExNormalRet) => { in block_call_arg_ty() 1551 (BlockArg::TryCallRet(_), _) => { in block_call_arg_ty() 1559 (BlockArg::TryCallExn(i), BlockCallTargetType::Exception) => { in block_call_arg_ty() 1580 (BlockArg::TryCallExn(_), _) => { in block_call_arg_ty()
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | lower.rs | 11 ArgumentPurpose, Block, BlockArg, Constant, ConstantData, DataFlowGraph, ExternalName, 1095 BlockArg::Value(arg) => { 1100 BlockArg::TryCallRet(i) => { 1105 BlockArg::TryCallExn(i) => {
|
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | parser.rs | 21 AbiParam, ArgumentExtension, ArgumentPurpose, Block, BlockArg, Constant, ConstantData, 2389 fn parse_opt_block_call_args(&mut self) -> ParseResult<Vec<BlockArg>> { in parse_opt_block_call_args() argument 2409 fn parse_block_call_arg(&mut self) -> ParseResult<BlockArg> { in parse_block_call_arg() argument 2413 Ok(BlockArg::Value(v)) in parse_block_call_arg() 2417 Ok(BlockArg::TryCallRet(i)) in parse_block_call_arg() 2421 Ok(BlockArg::TryCallExn(i)) in parse_block_call_arg()
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | function_generator.rs | 12 AliasRegion, AtomicRmwOp, Block, BlockArg, ConstantData, Endianness, ExternalName, FuncRef, 1459 ) -> Result<Vec<BlockArg>> { in generate_values_for_block() argument 1464 .map(|val| BlockArg::Value(val)) in generate_values_for_block()
|
| /wasmtime-44.0.1/cranelift/interpreter/src/ |
| H A D | step.rs | 11 AbiParam, AtomicRmwOp, Block, BlockArg, BlockCall, Endianness, ExternalName, FuncRef, Function, 49 args: impl Iterator<Item = BlockArg>, in collect_block_args() 53 BlockArg::Value(n) => frame.get(n).clone(),
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/ |
| H A D | enabled.rs | 8 use cranelift_codegen::ir::{BlockArg, ExceptionTableData, ExceptionTableItem}; 558 .block_call(block, &[BlockArg::TryCallExn(0)]); in translate_exn_throw_ref()
|
| /wasmtime-44.0.1/crates/cranelift/src/translate/ |
| H A D | code_translator.rs | 89 use cranelift_codegen::ir::{BlockArg, types::*}; 4262 tmp_canonicalised: &'a mut SmallVec<[BlockArg; 16]>, in canonicalise_v128_values() 4265 ) -> &'a [BlockArg] { argument 4276 tmp_canonicalised.push(BlockArg::from(value));
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | func_environ.rs | 15 self, BlockArg, Endianness, ExceptionTableData, ExceptionTableItem, types, 2224 args.push(BlockArg::TryCallRet(u32::try_from(i).unwrap())); in exception_table() 2238 .block_call(block, &[BlockArg::TryCallExn(0)]); in exception_table()
|
| H A D | compiler.rs | 1402 .map(|i| ir::BlockArg::TryCallRet(i.try_into().unwrap())), in array_to_wasm_trampoline()
|