| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | sourceloc.rs | 19 pub struct SourceLoc(u32); struct 21 impl SourceLoc { implementation 38 impl Default for SourceLoc { implementation 44 impl fmt::Display for SourceLoc { implementation 66 pub fn from_base_offset(base: SourceLoc, offset: SourceLoc) -> Self { in from_base_offset() argument 75 pub fn expand(&self, base: SourceLoc) -> SourceLoc { in expand() argument 79 SourceLoc::new(self.0.wrapping_add(base.bits())) in expand() 107 use crate::ir::SourceLoc; 112 assert_eq!(SourceLoc::default().to_string(), "@-"); in display() 113 assert_eq!(SourceLoc::new(0).to_string(), "@0000"); in display() [all …]
|
| H A D | function.rs | 30 use super::{RelSourceLoc, SourceLoc, UserExternalName}; 75 base_srcloc: Option<SourceLoc>, 98 pub fn base_srcloc(&self) -> SourceLoc { in base_srcloc() argument 103 pub fn ensure_base_srcloc(&mut self, srcloc: SourceLoc) -> SourceLoc { in ensure_base_srcloc() argument 445 pub fn set_srcloc(&mut self, inst: Inst, srcloc: SourceLoc) { in set_srcloc() argument 451 pub fn srcloc(&self, inst: Inst) -> SourceLoc { in srcloc() argument
|
| H A D | mod.rs | 62 pub use crate::ir::sourceloc::SourceLoc;
|
| H A D | layout.rs | 759 use crate::ir::{Block, Inst, SourceLoc}; 790 fn srcloc(&self) -> SourceLoc { in srcloc() argument 794 fn set_srcloc(&mut self, _srcloc: SourceLoc) { in set_srcloc() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | cursor.rs | 32 fn srcloc(&self) -> ir::SourceLoc; in srcloc() argument 35 fn set_srcloc(&mut self, srcloc: ir::SourceLoc); in set_srcloc() argument 56 fn with_srcloc(mut self, srcloc: ir::SourceLoc) -> Self in with_srcloc() 619 srcloc: ir::SourceLoc, 655 fn srcloc(&self) -> ir::SourceLoc { in srcloc() argument 659 fn set_srcloc(&mut self, srcloc: ir::SourceLoc) { in set_srcloc() argument
|
| /wasmtime-44.0.1/cranelift/module/src/ |
| H A D | traps.rs | 11 pub srcloc: ir::SourceLoc,
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | compiled_function.rs | 231 iter: impl IntoIterator<Item = (ir::SourceLoc, u32, u32)>, in collect_address_maps() 280 fn cvt(loc: ir::SourceLoc) -> FilePos { in collect_address_maps()
|
| H A D | trap.rs | 23 fn debug_tags(&self, _srcloc: ir::SourceLoc) -> Vec<ir::DebugTag> { in debug_tags()
|
| H A D | func_environ.rs | 231 pub(crate) next_srcloc: ir::SourceLoc, 292 next_srcloc: ir::SourceLoc::default(), in new() 1734 srcloc: ir::SourceLoc, 1755 srcloc: ir::SourceLoc, in new() argument 1769 srcloc: ir::SourceLoc, in new_tail() argument 3085 srcloc: ir::SourceLoc, in translate_call_indirect() argument 3106 srcloc: ir::SourceLoc, in translate_call() argument 3117 srcloc: ir::SourceLoc, in translate_call_ref() argument 3128 srcloc: ir::SourceLoc, in translate_return_call() argument 3140 srcloc: ir::SourceLoc, in translate_return_call_indirect() argument [all …]
|
| /wasmtime-44.0.1/crates/cranelift/src/translate/ |
| H A D | func_translator.rs | 329 fn cur_srcloc(reader: &BinaryReader) -> ir::SourceLoc { in cur_srcloc() argument 332 ir::SourceLoc::new(reader.original_position().try_into().unwrap()) in cur_srcloc()
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | mod.rs | 17 ir::{RelSourceLoc, SourceLoc}, 83 pub base: Option<SourceLoc>, 263 pub fn source_loc_from(&mut self, loc: SourceLoc) -> RelSourceLoc { in source_loc_from() 1370 let loc = SourceLoc::new(offset as u32); in source_location_before_visit_op()
|
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | lexer.rs | 58 SourceLoc(&'a str), // @00c7 enumerator 469 token(Token::SourceLoc(&self.source[begin..end]), loc) in scan_srcloc()
|
| H A D | parser.rs | 914 fn optional_srcloc(&mut self) -> ParseResult<ir::SourceLoc> { in optional_srcloc() argument 915 if let Some(Token::SourceLoc(text)) = self.token() { in optional_srcloc() 919 Ok(ir::SourceLoc::new(num)) in optional_srcloc() 1998 | Some(Token::SourceLoc(_)) in parse_basic_block() 2160 srcloc: ir::SourceLoc, in parse_instruction() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | buffer.rs | 175 use crate::ir::{DebugTag, ExceptionTag, ExternalName, RelSourceLoc, SourceLoc, TrapCode}; 224 type SourceLocType = SourceLoc; 339 pub fn apply_base_srcloc(self, base_srcloc: SourceLoc) -> MachBufferFinalized<Final> { in apply_base_srcloc() 2276 fn apply_base_srcloc(self, base_srcloc: SourceLoc) -> MachSrcLoc<Final> { in apply_base_srcloc()
|
| /wasmtime-44.0.1/cranelift/frontend/src/ |
| H A D | frontend.rs | 46 srcloc: ir::SourceLoc, 337 pub fn set_srcloc(&mut self, srcloc: ir::SourceLoc) { in set_srcloc() argument 342 pub fn srcloc(&self) -> ir::SourceLoc { in srcloc() argument
|
| /wasmtime-44.0.1/winch/codegen/src/isa/aarch64/ |
| H A D | asm.rs | 23 ir::{ExternalName, MemFlags, SourceLoc, TrapCode, UserExternalNameRef}, 128 pub fn finalize(mut self, loc: Option<SourceLoc>) -> MachBufferFinalized<Final> { in finalize()
|
| H A D | masm.rs | 33 ir::{MemFlags, RelSourceLoc, SourceLoc, types}, 502 fn finalize(mut self, base: Option<SourceLoc>) -> Result<MachBufferFinalized<Final>> { in finalize()
|
| /wasmtime-44.0.1/winch/codegen/src/ |
| H A D | masm.rs | 11 ir::{Endianness, MemFlags, RelSourceLoc, SourceLoc, UserExternalNameRef}, 1818 fn finalize(self, base: Option<SourceLoc>) -> Result<MachBufferFinalized<Final>>; in finalize()
|
| /wasmtime-44.0.1/winch/codegen/src/isa/x64/ |
| H A D | masm.rs | 39 ir::{MemFlags, RelSourceLoc, SourceLoc}, 880 fn finalize(mut self, base: Option<SourceLoc>) -> Result<MachBufferFinalized<Final>> { in finalize()
|
| H A D | asm.rs | 15 ir::{ExternalName, MemFlags, SourceLoc, TrapCode, Type, UserExternalNameRef, types}, 330 pub fn finalize(mut self, loc: Option<SourceLoc>) -> MachBufferFinalized<Final> { in finalize()
|