Home
last modified time | relevance | path

Searched refs:StackSlot (Results 1 – 25 of 39) sorted by relevance

12

/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Ddebug_tags.rs35 use crate::ir::{Inst, StackSlot};
69 StackSlot(StackSlot), enumerator
138 DebugTag::StackSlot(slot) => write!(f, "{slot}"), in fmt()
H A Dentities.rs118 pub struct StackSlot(u32); struct
119 entity_impl!(StackSlot, "ss");
121 impl StackSlot { implementation
377 StackSlot(StackSlot), enumerator
405 Self::StackSlot(r) => r.fmt(f), in fmt()
443 impl From<StackSlot> for AnyEntity {
444 fn from(r: StackSlot) -> Self { in from()
445 Self::StackSlot(r) in from()
H A Duser_stack_maps.rs115 pub slot: ir::StackSlot,
146 stack_slot_offsets: &PrimaryMap<ir::StackSlot, u32>, in new() argument
H A Dinstructions.rs21 self, Block, ExceptionTable, ExceptionTables, FuncRef, MemFlags, SigRef, StackSlot, Type,
573 pub fn stack_slot(&self) -> Option<StackSlot> { in stack_slot() argument
1074 fn map_stack_slot(&mut self, stack_slot: StackSlot) -> StackSlot; in map_stack_slot() argument
1129 fn map_stack_slot(&mut self, stack_slot: StackSlot) -> StackSlot { in map_stack_slot() argument
1351 fn map_stack_slot(&mut self, stack_slot: StackSlot) -> StackSlot { in instruction_data_map() argument
1352 StackSlot::from_u32(stack_slot.as_u32() + 1) in instruction_data_map()
1492 stack_slot: StackSlot::from_u32(0), in instruction_data_map()
1497 stack_slot: StackSlot::from_u32(1), in instruction_data_map()
H A Dstackslot.rs7 use crate::ir::StackSlot;
181 pub type StackSlots = PrimaryMap<StackSlot, StackSlotData>;
H A Dmod.rs43 GlobalValue, Immediate, Inst, JumpTable, SigRef, StackSlot, UserExternalNameRef, Value,
H A Dfunction.rs12 JumpTableData, Layout, SigRef, Signature, SourceLocs, StackSlot, StackSlotData, StackSlots,
232 pub fn create_sized_stack_slot(&mut self, data: StackSlotData) -> StackSlot { in create_sized_stack_slot() argument
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/
H A Ddebug.clif24 ; ; ^-- debug @ Pre: [StackSlot(ss0), User(0), User(0)]
28 ; ; ^-- debug @ Post: [StackSlot(ss0), User(0), User(0)]
30 ; ; ^-- debug @ Pre: [StackSlot(ss0), User(1), User(0)]
79 ; ; ^-- debug @ Post: [StackSlot(ss0), User(0), User(0)]
81 ; ; ^-- debug @ Pre: [StackSlot(ss0), User(1), User(0)]
/wasmtime-44.0.1/cranelift/reader/src/
H A Dsourcemap.rs13 Block, Constant, DynamicStackSlot, FuncRef, GlobalValue, JumpTable, SigRef, StackSlot, Value,
37 pub fn contains_ss(&self, ss: StackSlot) -> bool { in contains_ss()
89 "ss" => StackSlot::with_number(num).and_then(|ss| { in lookup_str()
153 pub fn def_ss(&mut self, entity: StackSlot, loc: Location) -> ParseResult<()> { in def_ss() argument
H A Dparser.rs24 StackSlot, StackSlotData, StackSlotKind, UserFuncName, Value, types,
246 fn add_ss(&mut self, ss: StackSlot, data: StackSlotData, loc: Location) -> ParseResult<()> { in add_ss() argument
260 fn check_ss(&self, ss: StackSlot, loc: Location) -> ParseResult<()> { in check_ss() argument
558 fn match_ss(&mut self, err_msg: &str) -> ParseResult<StackSlot> { in match_ss() argument
559 if let Some(Token::StackSlot(ss)) = self.token() { in match_ss()
561 if let Some(ss) = StackSlot::with_number(ss) { in match_ss()
938 Some(Token::StackSlot(slot)) => { in optional_debug_tags()
940 tags.push(DebugTag::StackSlot(StackSlot::from_u32(slot))); in optional_debug_tags()
1447 Some(Token::StackSlot(..)) => { in parse_preamble()
1505 fn parse_stack_slot_decl(&mut self) -> ParseResult<(StackSlot, StackSlotData)> { in parse_stack_slot_decl() argument
H A Dlexer.rs41 StackSlot(u32), // ss3 enumerator
348 "ss" => Some(Token::StackSlot(number)), in numbered_entity()
/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dstate.rs8 ExternalName, FuncRef, Function, GlobalValue, LibCall, MemFlags, Signature, StackSlot, Type,
49 slot: StackSlot, in stack_address() argument
H A Dinterpreter.rs15 GlobalValueData, LibCall, MemFlags, StackSlot, Type,
296 slot: StackSlot, in stack_address() argument
/wasmtime-44.0.1/winch/codegen/src/
H A Dstack.rs1 use crate::{Result, codegen::CodeGenError, format_err, isa::reg::Reg, masm::StackSlot};
84 pub slot: StackSlot,
169 pub fn mem(ty: WasmValType, slot: StackSlot) -> Self { in mem()
H A Dmasm.rs184 pub struct StackSlot { struct
191 impl StackSlot { implementation
1815 fn push(&mut self, src: Reg, size: OperandSize) -> Result<StackSlot>; in push() argument
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dinline.rs436 DebugTag::StackSlot(slot) => { in inline_one()
437 DebugTag::StackSlot(entity_map.inlined_stack_slot(slot)) in inline_one()
999 fn map_stack_slot(&mut self, stack_slot: ir::StackSlot) -> ir::StackSlot { in map_stack_slot() argument
1306 fn inlined_stack_slot(&self, callee_stack_slot: ir::StackSlot) -> ir::StackSlot { in inlined_stack_slot() argument
1310 ir::StackSlot::from_u32(offset + callee_stack_slot.as_u32()) in inlined_stack_slot()
H A Dopts.rs13 InstructionData, MemFlags, Opcode, StackSlot, TrapCode, Type, Value,
/wasmtime-44.0.1/cranelift/codegen/src/legalizer/
H A Dmod.rs352 stack_slot: ir::StackSlot, in expand_stack_store() argument
375 stack_slot: ir::StackSlot, in expand_stack_load() argument
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dabi.rs1147 sized_stackslots: PrimaryMap<StackSlot, u32>,
1149 sized_stackslot_keys: SecondaryMap<StackSlot, Option<StackSlotKey>>,
1547 pub fn sized_stackslot_offsets(&self) -> &PrimaryMap<StackSlot, u32> { in sized_stackslot_offsets() argument
2155 pub fn sized_stackslot_offset(&self, slot: StackSlot) -> u32 { in sized_stackslot_offset()
2162 slot: StackSlot, in sized_stackslot_addr() argument
H A Dmod.rs49 self, DynamicStackSlot, RelSourceLoc, StackSlot, Type, function::FunctionParameters,
H A Disle.rs508 stack_slot: StackSlot,
520 stack_slot: StackSlot,
/wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/lower/
H A Disle.rs540 fn gen_stack_slot_amode(&mut self, ss: StackSlot, offset: i64) -> AMode { in gen_stack_slot_amode() argument
580 fn gen_stack_addr(&mut self, slot: StackSlot, offset: Offset32) -> Reg { in gen_stack_addr() argument
/wasmtime-44.0.1/cranelift/frontend/src/frontend/
H A Dsafepoints.rs532 stack_slots: HashMap<ir::Value, ir::StackSlot>,
537 free_stack_slots: SlotSizeMap<SmallVec<[ir::StackSlot; 4]>>,
550 fn get(&self, val: ir::Value) -> Option<ir::StackSlot> { in get() argument
554 fn get_or_create_stack_slot(&mut self, func: &mut Function, val: ir::Value) -> ir::StackSlot { in get_or_create_stack_slot() argument
579 fn free_stack_slot(&mut self, size: SlotSize, slot: ir::StackSlot) { in free_stack_slot() argument
/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Dcontext.rs12 ReplaceLaneKind, SPOffset, ShiftKind, StackSlot,
790 StackSlot::new(SPOffset::from_u32(sp_offset.as_u32() - offset), *size); in push_abi_results()
/wasmtime-44.0.1/crates/cranelift/src/func_environ/stack_switching/
H A Dinstructions.rs31 use cranelift_codegen::ir::{StackSlot, StackSlotKind::*};
327 existing_slot: Option<StackSlot>, in allocate_or_reuse_stack_slot() argument
328 ) -> StackSlot { in allocate_or_reuse_stack_slot() argument

12