| /wasmtime-44.0.1/cranelift/jit/src/ |
| H A D | compiled_blob.rs | 3 use cranelift_codegen::binemit::Reloc; 125 Reloc::Abs4 => { in perform_relocations() 132 Reloc::Abs8 => { in perform_relocations() 139 Reloc::X86PCRel4 | Reloc::X86CallPCRel4 => { in perform_relocations() 145 Reloc::X86GOTPCRel4 => { in perform_relocations() 148 Reloc::X86CallPLTRel4 => { in perform_relocations() 151 Reloc::S390xPCRel32Dbl | Reloc::S390xPLTRel32Dbl => { in perform_relocations() 157 Reloc::Arm64Call => { in perform_relocations() 239 Reloc::RiscvCallPlt => { in perform_relocations() 275 Reloc::PulleyPcRel => { in perform_relocations() [all …]
|
| H A D | backend.rs | 7 use cranelift_codegen::binemit::Reloc; 615 PointerWidth::U32 => Reloc::Abs4, in define_data() 616 PointerWidth::U64 => Reloc::Abs8, in define_data()
|
| /wasmtime-44.0.1/cranelift/object/src/ |
| H A D | backend.rs | 4 use cranelift_codegen::binemit::{Addend, CodeOffset, Reloc}; 398 PointerWidth::U32 => Reloc::Abs4, in define_data() 741 Reloc::ElfX86_64TlsGd => { in process_reloc() 751 Reloc::MachOX86_64Tlv => { in process_reloc() 817 Reloc::Aarch64TlsDescCall => { in process_reloc() 882 Reloc::S390xTlsGd64 => { in process_reloc() 892 Reloc::S390xTlsGdCall => { in process_reloc() 902 Reloc::RiscvCallPlt => { in process_reloc() 912 Reloc::RiscvTlsGdHi20 => { in process_reloc() 922 Reloc::RiscvPCRelLo12I => { in process_reloc() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/binemit/ |
| H A D | mod.rs | 22 pub enum Reloc { enum 143 impl fmt::Display for Reloc { implementation
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | mod.rs | 47 use crate::binemit::{Addend, CodeInfo, CodeOffset, Reloc}; 276 fn from_reloc(reloc: Reloc, addend: Addend) -> Option<Self>; in from_reloc() argument 616 fn resolve_reloc(&mut self, offset: u64, reloc: Reloc, addend: Addend, target: usize) -> bool; in resolve_reloc() argument
|
| H A D | buffer.rs | 173 use crate::binemit::{Addend, CodeOffset, Reloc}; 1654 kind: Reloc, in add_reloc_at_offset() argument 1703 kind: Reloc, in add_reloc() argument 2111 pub kind: Reloc, 2478 fn resolve_reloc(&mut self, offset: u64, reloc: Reloc, addend: Addend, target: usize) -> bool { in resolve_reloc() argument 2926 Reloc::Abs4, in metadata_records() 2932 Reloc::Abs8, in metadata_records() 2971 vec![(2, Reloc::Abs4), (3, Reloc::Abs8)] in metadata_records()
|
| /wasmtime-44.0.1/cranelift/module/src/ |
| H A D | data_context.rs | 3 use cranelift_codegen::binemit::{Addend, CodeOffset, Reloc}; 164 pointer_reloc: Reloc, in all_relocs() argument
|
| H A D | module.rs | 11 use cranelift_codegen::binemit::{CodeOffset, Reloc}; 31 pub kind: Reloc,
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/ |
| H A D | emit.rs | 151 sink.add_reloc_at_offset(end - 4, Reloc::PulleyPcRel, &**name, *offset); in pulley_emit() 166 sink.add_reloc_at_offset(end - size, Reloc::Abs8, &**name, *offset); in pulley_emit() 190 sink.add_reloc_at_offset(end - 4, Reloc::PulleyPcRel, &info.dest.name, 0); in pulley_emit() 284 sink.add_reloc(Reloc::PulleyPcRel, &info.dest, 0); in pulley_emit() 304 sink.add_reloc(Reloc::PulleyCallIndirectHost, &info.dest, 0); in pulley_emit()
|
| H A D | mod.rs | 5 use crate::binemit::{Addend, CodeOffset, Reloc}; 948 fn from_reloc(reloc: Reloc, addend: Addend) -> Option<LabelUse> { in from_reloc() argument 950 (Reloc::PulleyPcRel, 0) => Some(LabelUse::PcRel), in from_reloc()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | emit.rs | 106 fn emit_reloc(sink: &mut MachBuffer<Inst>, kind: Reloc, name: &ExternalName, addend: Addend) { in emit_reloc() argument 423 sink.add_reloc_at_offset(len - 4, Reloc::X86CallPCRel4, &call_info.dest, -4); in emit() 481 sink.add_reloc_at_offset(offset - 4, Reloc::X86CallPCRel4, &call_info.dest, -4); in emit() 1408 sink.add_reloc_at_offset(cur - 4, Reloc::X86GOTPCRel4, name, -4); in emit() 1424 sink.add_reloc_at_offset(cur - 4, Reloc::X86CallPCRel4, name, *offset - 4); in emit() 1430 sink.add_reloc_at_offset(cur - 8, Reloc::Abs8, name, *offset); in emit() 1725 emit_reloc(sink, Reloc::ElfX86_64TlsGd, symbol, -4); in emit() 1735 Reloc::X86CallPLTRel4, in emit() 1750 emit_reloc(sink, Reloc::MachOX86_64Tlv, symbol, -4); in emit() 1784 Reloc::X86PCRel4, in emit() [all …]
|
| H A D | mod.rs | 5 use crate::binemit::{Addend, CodeOffset, Reloc}; 1685 fn from_reloc(reloc: Reloc, addend: Addend) -> Option<Self> { in from_reloc() argument 1687 (Reloc::X86CallPCRel4, -4) => Some(LabelUse::JmpRel32), in from_reloc()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/ |
| H A D | emit.rs | 2951 sink.add_reloc(Reloc::Arm64Call, &info.dest, 0); in emit() 3052 sink.add_reloc(Reloc::Arm64Call, &info.dest, 0); in emit() 3257 sink.add_reloc(Reloc::Aarch64AdrGotPage21, &**name, 0); in emit() 3262 sink.add_reloc(Reloc::Aarch64Ld64GotLo12Nc, &**name, 0); in emit() 3282 sink.add_reloc(Reloc::Aarch64AdrPrelPgHi21, &**name, offset); in emit() 3287 sink.add_reloc(Reloc::Aarch64AddAbsLo12Nc, &**name, offset); in emit() 3322 sink.add_reloc(Reloc::Abs8, &**name, offset); in emit() 3465 sink.add_reloc(Reloc::Aarch64TlsDescLd64Lo12, &**symbol, 0); in emit() 3474 sink.add_reloc(Reloc::Aarch64TlsDescAddLo12, &**symbol, 0); in emit() 3485 sink.add_reloc(Reloc::Aarch64TlsDescCall, &**symbol, 0); in emit() [all …]
|
| H A D | mod.rs | 3 use crate::binemit::{Addend, CodeOffset, Reloc}; 3091 fn from_reloc(reloc: Reloc, addend: Addend) -> Option<LabelUse> { in from_reloc() argument 3093 (Reloc::Arm64Call, 0) => Some(LabelUse::Branch26), in from_reloc()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | emit.rs | 1197 sink.add_reloc(Reloc::RiscvCallPlt, &info.dest, 0); in emit_uncompressed() 1299 sink.add_reloc(Reloc::RiscvCallPlt, &info.dest, 0); in emit_uncompressed() 2029 sink.add_reloc(Reloc::RiscvGotHi20, &**name, 0); in emit_uncompressed() 2037 sink.add_reloc(Reloc::RiscvPCRelLo12I, &auipc_label, 0); in emit_uncompressed() 2079 sink.add_reloc(Reloc::Abs8, name.as_ref(), offset); in emit_uncompressed() 2099 sink.add_reloc(Reloc::RiscvPCRelHi20, &**name, offset); in emit_uncompressed() 2106 sink.add_reloc(Reloc::RiscvPCRelLo12I, &auipc_label, 0); in emit_uncompressed() 2157 sink.add_reloc(Reloc::RiscvTlsGdHi20, &**name, 0); in emit_uncompressed() 2165 sink.add_reloc(Reloc::RiscvPCRelLo12I, &auipc_label, 0); in emit_uncompressed()
|
| H A D | mod.rs | 4 use crate::binemit::{Addend, CodeOffset, Reloc}; 1828 fn from_reloc(reloc: Reloc, addend: Addend) -> Option<LabelUse> { in from_reloc() argument 1830 (Reloc::RiscvCallPlt, _) => Some(Self::PCRel32), in from_reloc()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | lib.rs | 228 pub reloc: binemit::Reloc,
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/ |
| H A D | emit.rs | 289 Reloc::S390xPCRel32Dbl, in mem_emit() 2440 SymbolReloc::Absolute { name, offset } => (Reloc::Abs8, name, *offset), in emit_with_alloc_consumer() 2441 SymbolReloc::TlsGd { name } => (Reloc::S390xTlsGd64, name, 0), in emit_with_alloc_consumer() 3451 sink.add_reloc_at_offset(offset, Reloc::S390xPLTRel32Dbl, name, 2); in emit_with_alloc_consumer() 3510 sink.add_reloc_at_offset(offset, Reloc::S390xPLTRel32Dbl, name, 2); in emit_with_alloc_consumer() 3530 sink.add_reloc_at_offset(offset, Reloc::S390xPLTRel32Dbl, &dest, 2); in emit_with_alloc_consumer() 3532 SymbolReloc::TlsGd { name } => sink.add_reloc(Reloc::S390xTlsGdCall, name, 0), in emit_with_alloc_consumer()
|
| H A D | mod.rs | 3 use crate::binemit::{Addend, CodeOffset, Reloc}; 3665 fn from_reloc(reloc: Reloc, addend: Addend) -> Option<Self> { in from_reloc() argument 3667 (Reloc::S390xPCRel32Dbl, 2) => Some(LabelUse::PCRel32Dbl), in from_reloc() 3668 (Reloc::S390xPLTRel32Dbl, 2) => Some(LabelUse::PCRel32Dbl), in from_reloc()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/ |
| H A D | inst.isle | 806 ;; of type `Reloc::Arm64Call`); if the destination distance is not `RelocDistance::Near`, the
|