| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | inst_predicates.rs | 35 fn has_side_effect(func: &Function, inst: Inst) -> bool { in has_side_effect() 46 pub fn is_pure_for_egraph(func: &Function, inst: Inst) -> bool { in is_pure_for_egraph() 76 pub fn is_mergeable_for_egraph(func: &Function, inst: Inst) -> bool { in is_mergeable_for_egraph() 91 pub fn has_lowering_side_effect(func: &Function, inst: Inst) -> bool { in has_lowering_side_effect() 98 pub fn is_constant_64bit(func: &Function, inst: Inst) -> Option<u64> { in is_constant_64bit() 109 pub fn inst_addr_offset_type(func: &Function, inst: Inst) -> Option<(Value, Offset32, Type)> { in inst_addr_offset_type() 132 pub fn inst_store_data(func: &Function, inst: Inst) -> Option<Value> { in inst_store_data() 163 f: &Function, in visit_block_succs()
|
| H A D | inline.rs | 84 caller: &ir::Function, in inline() 98 caller: &ir::Function, in inline() 113 func: &mut ir::Function, in do_inlining() 347 callee: &ir::Function, in inline_one() 581 callee: &ir::Function, in append_stack_map_entries() 777 callee: &ir::Function, in fixup_inst_that_returns() 1030 callee: &ir::Function, in inline_block_layout() 1063 callee: &ir::Function, in split_off_return_block() 1195 callee: &ir::Function, in replace_call_with_jump() 1344 callee: &ir::Function, in create_entities() [all …]
|
| H A D | print_errors.rs | 18 func: &ir::Function, in pretty_verifier_error() 50 func: &Function, in write_block_header() 60 func: &Function, in write_instruction() 71 func: &Function, in write_entity_definition() 82 func: &Function, in pretty_block_header_error() 119 func: &Function, in pretty_instruction_error() 156 func: &Function, in pretty_preamble_error() 214 pub fn pretty_error(func: &ir::Function, err: CodegenError) -> String { in pretty_error()
|
| H A D | write.rs | 21 func: &Function, in write_block_header() 30 func: &Function, in write_instruction() 96 func: &Function, in write_entity_definition() 107 _func: &Function, in super_entity_definition() 122 func: &Function, in write_instruction() 133 func: &Function, in write_block_header() 165 func: &Function, in decorate_function() 208 func: &Function, in write_block_header() 240 func: &Function, in decorate_block() 322 func: &Function, in write_instruction() [all …]
|
| H A D | alias_analysis.rs | 87 fn update(&mut self, func: &Function, inst: Inst) { in update() 111 fn get_last_store(&self, func: &Function, inst: Inst) -> PackedOption<Inst> { in get_last_store() 194 pub fn new(func: &Function, domtree: &'a DominatorTree) -> AliasAnalysis<'a> { in new() 206 fn compute_block_input_states(&mut self, func: &Function) { in compute_block_input_states() 267 func: &mut Function, in process_inst() 379 pub fn compute_and_update_aliases(&mut self, func: &mut Function) { in compute_and_update_aliases()
|
| /wasmtime-44.0.1/pulley/examples/ |
| H A D | profiler-html.rs | 56 struct Function<'a> { struct 76 Event::Function(addr, name, body) => { in main() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/legalizer/ |
| H A D | mod.rs | 75 func: &mut ir::Function, in backward_walk() 76 mut f: impl FnMut(&mut ir::Function, ir::Block, ir::Inst) -> WalkCommand, in backward_walk() 95 pub fn simple_legalize(func: &mut ir::Function, isa: &dyn TargetIsa) { in simple_legalize() 172 func: &mut ir::Function, in expand_binary() 204 func: &mut ir::Function, in expand_icmp_imm() 220 func: &mut ir::Function, in expand_binary_imm64() 299 func: &mut ir::Function, in expand_dynamic_stack_store() 326 func: &mut ir::Function, in expand_dynamic_stack_load() 349 func: &mut ir::Function, in expand_stack_store() 373 func: &mut ir::Function, in expand_stack_load()
|
| H A D | globalvalue.rs | 15 func: &mut ir::Function, in expand_global_value() 47 func: &mut ir::Function, in const_vector_scale() 67 func: &mut ir::Function, in vmctx_addr() 90 func: &mut ir::Function, in iadd_imm_addr() 114 func: &mut ir::Function, in load_addr() 145 func: &mut ir::Function, in symbol()
|
| H A D | branch_to_trap.rs | 37 pub fn analyze_trapping_block(&mut self, func: &ir::Function, block: ir::Block) { in analyze_trapping_block() 43 fn just_trap_block_code(&self, func: &ir::Function, block: ir::Block) -> ir::TrapCode { in just_trap_block_code() 58 func: &mut ir::Function, in process_brif()
|
| /wasmtime-44.0.1/cranelift/interpreter/src/ |
| H A D | environment.rs | 29 pub fn add(&mut self, name: String, function: &'a Function) { in add() 41 pub fn get_by_index(&self, index: FuncIndex) -> Option<&'a Function> { in get_by_index() 46 pub fn get_by_name(&self, name: &str) -> Option<&'a Function> { in get_by_name() 56 function: &Function, in get_from_func_ref() 57 ) -> Option<&'a Function> { in get_from_func_ref()
|
| H A D | state.rs | 25 fn get_function(&self, func_ref: FuncRef) -> Option<&'a Function>; in get_function() 27 fn get_current_function(&self) -> &'a Function; in get_current_function() 32 fn push_frame(&mut self, function: &'a Function); in push_frame() 90 Function(&'a Function), enumerator
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | stacks.rs | 30 struct Function { struct 31 ops: Vec<Op>, 32 params: usize, 33 results: usize, 59 fn arbitrary_funcs(u: &mut Unstructured) -> Result<Vec<Function>> { in arbitrary_funcs() 406 fn function(code: &mut wasm_encoder::CodeSection, mut func: wasm_encoder::Function) { in wasm()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | function.rs | 370 pub struct Function { struct 378 pub stencil: FunctionStencil, argument 382 pub params: FunctionParameters, argument 385 impl core::ops::Deref for Function { argument 393 impl core::ops::DerefMut for Function { implementation 399 impl Function { implementation 479 impl fmt::Display for Function { implementation 485 impl fmt::Debug for Function { implementation
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | bugpoint.rs | 98 fn mutate(&mut self, func: Function) -> Option<(Function, String, ProgressStatus)>; in mutate() 127 fn mutate(&mut self, mut func: Function) -> Option<(Function, String, ProgressStatus)> { in mutate() 164 fn mutate(&mut self, mut func: Function) -> Option<(Function, String, ProgressStatus)> { in mutate() 254 fn mutate(&mut self, mut func: Function) -> Option<(Function, String, ProgressStatus)> { in mutate() 291 fn mutate(&mut self, mut func: Function) -> Option<(Function, String, ProgressStatus)> { in mutate() 335 fn mutate(&mut self, mut func: Function) -> Option<(Function, String, ProgressStatus)> { in mutate() 372 fn mutate(&mut self, mut func: Function) -> Option<(Function, String, ProgressStatus)> { in mutate() 761 func: &Function, in next_inst_ret_prev() 790 fn try_resolve_aliases(context: &mut CrashCheckContext, func: &mut Function) { in try_resolve_aliases() 799 fn try_remove_srclocs(context: &mut CrashCheckContext, func: &mut Function) { in try_remove_srclocs() [all …]
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | test_domtree.rs | 42 fn run(&self, func: Cow<Function>, context: &Context) -> anyhow::Result<()> { in run() 119 fn filecheck_text(func: &Function, domtree: &DominatorTree) -> Result<String, fmt::Error> { in filecheck_text()
|
| H A D | test_interpret.rs | 72 _func: Cow<ir::Function>, in run() 79 fn run_test(func_store: &FunctionStore, func: &Function, details: &Details) -> anyhow::Result<()> { in run_test()
|
| H A D | function_runner.rs | 148 functions: &[Function], in add_functions() 213 mut func: Function, in apply_func_rename() 215 ) -> Result<Function> { in apply_func_rename() 257 mut func: Function, in define_function() 277 fn replace_hostcall_references(func: &mut Function) { in replace_hostcall_references() 321 func: &Function, in create_trampoline_for_function() 545 fn make_trampoline(name: UserFuncName, signature: &ir::Signature, isa: &dyn TargetIsa) -> Function { in make_trampoline() 840 fn parse(code: &str) -> Function { in parse()
|
| H A D | test_inline.rs | 69 fn run(&self, func: Cow<ir::Function>, context: &Context) -> Result<()> { in run() 125 caller: &ir::Function, in inline()
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | lib.rs | 102 fn run_func_passes(&mut self, func: Function, isa: &dyn TargetIsa) -> Result<Function> { in run_func_passes() 156 ) -> Result<Function> { in generate_func()
|
| H A D | print.rs | 40 functions: &'a [Function], in run() 52 pub fn main(&self) -> &Function { in main()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/unwind/ |
| H A D | systemv.rs | 138 fn create_function(call_conv: CallConv, stack_slot: Option<StackSlotData>) -> Function { in create_function() 182 fn create_multi_return_function(call_conv: CallConv) -> Function { in create_multi_return_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/unwind/ |
| H A D | systemv.rs | 142 fn create_function(call_conv: CallConv, stack_slot: Option<StackSlotData>) -> Function { in create_function() 192 ) -> Function { in create_multi_return_function()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | fact.rs | 932 struct Function { struct 938 filled_in: bool, 942 ty: u32, 966 /// 2. A `Call` instruction variant for a `FunctionId` where the final argument 985 impl Function { implementation 986 fn new(export: Option<String>, ty: u32) -> Function { in new()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/unwind/ |
| H A D | systemv.rs | 106 fn create_function(call_conv: CallConv, stack_slot: Option<StackSlotData>) -> Function { in create_function() 151 fn create_multi_return_function(call_conv: CallConv) -> Function { in create_multi_return_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/unwind/ |
| H A D | systemv.rs | 111 fn create_function(call_conv: CallConv, stack_slot: Option<StackSlotData>) -> Function { in create_function() 155 fn create_multi_return_function(call_conv: CallConv) -> Function { in create_multi_return_function()
|