Lines Matching refs:JitMemory

113     fn emit1(&self, mem: &mut JitMemory, data: u8) {  in emit1()  argument
117 fn emit2(&self, mem: &mut JitMemory, data: u16) { in emit2() argument
121 fn emit4(&self, mem: &mut JitMemory, data: u32) { in emit4() argument
125 fn emit8(&self, mem: &mut JitMemory, data: u64) { in emit8() argument
129 fn emit_modrm(&self, mem: &mut JitMemory, modrm: u8, r: u8, m: u8) { in emit_modrm() argument
134 fn emit_modrm_reg2reg(&self, mem: &mut JitMemory, r: u8, m: u8) { in emit_modrm_reg2reg() argument
138 fn emit_modrm_and_displacement(&self, mem: &mut JitMemory, r: u8, m: u8, d: i32) { in emit_modrm_and_displacement() argument
154 fn emit_rex(&self, mem: &mut JitMemory, w: u8, r: u8, x: u8, b: u8) { in emit_rex() argument
164 fn emit_basic_rex(&self, mem: &mut JitMemory, w: u8, src: u8, dst: u8) { in emit_basic_rex() argument
174 fn emit_push(&self, mem: &mut JitMemory, r: u8) { in emit_push() argument
179 fn emit_pop(&self, mem: &mut JitMemory, r: u8) { in emit_pop() argument
187 fn emit_alu32(&self, mem: &mut JitMemory, op: u8, src: u8, dst: u8) { in emit_alu32() argument
194 fn emit_alu32_imm32(&self, mem: &mut JitMemory, op: u8, src: u8, dst: u8, imm: i32) { in emit_alu32_imm32() argument
200 fn emit_alu32_imm8(&self, mem: &mut JitMemory, op: u8, src: u8, dst: u8, imm: i8) { in emit_alu32_imm8() argument
208 fn emit_alu64(&self, mem: &mut JitMemory, op: u8, src: u8, dst: u8) { in emit_alu64() argument
215 fn emit_alu64_imm32(&self, mem: &mut JitMemory, op: u8, src: u8, dst: u8, imm: i32) { in emit_alu64_imm32() argument
221 fn emit_alu64_imm8(&self, mem: &mut JitMemory, op: u8, src: u8, dst: u8, imm: i8) { in emit_alu64_imm8() argument
227 fn emit_mov(&self, mem: &mut JitMemory, src: u8, dst: u8) { in emit_mov() argument
231 fn emit_cmp_imm32(&self, mem: &mut JitMemory, dst: u8, imm: i32) { in emit_cmp_imm32() argument
235 fn emit_cmp(&self, mem: &mut JitMemory, src: u8, dst: u8) { in emit_cmp() argument
239 fn emit_cmp32_imm32(&self, mem: &mut JitMemory, dst: u8, imm: i32) { in emit_cmp32_imm32() argument
243 fn emit_cmp32(&self, mem: &mut JitMemory, src: u8, dst: u8) { in emit_cmp32() argument
248 fn emit_load(&self, mem: &mut JitMemory, size: OperandSize, src: u8, dst: u8, offset: i32) { in emit_load() argument
276 fn emit_load_imm(&self, mem: &mut JitMemory, dst: u8, imm: i64) { in emit_load_imm() argument
288 fn emit_store(&self, mem: &mut JitMemory, size: OperandSize, src: u8, dst: u8, offset: i32) { in emit_store() argument
315 mem: &mut JitMemory, in emit_store_imm32() argument
341 fn emit_direct_jcc(&self, mem: &mut JitMemory, code: u8, offset: u32) { in emit_direct_jcc() argument
347 fn emit_call(&self, mem: &mut JitMemory, target: usize) { in emit_call() argument
355 fn emit_jump_offset(&mut self, mem: &mut JitMemory, target_pc: isize) { in emit_jump_offset() argument
364 fn emit_jcc(&mut self, mem: &mut JitMemory, code: u8, target_pc: isize) { in emit_jcc() argument
370 fn emit_jmp(&mut self, mem: &mut JitMemory, target_pc: isize) { in emit_jmp() argument
375 fn set_anchor(&mut self, mem: &mut JitMemory, target: isize) { in set_anchor() argument
381 mem: &mut JitMemory, in emit_muldivmod() argument
475 mem: &mut JitMemory, in jit_compile() argument
954 fn resolve_jumps(&mut self, mem: &mut JitMemory) -> Result<(), Error> { in resolve_jumps()
979 pub struct JitMemory<'a> { struct
984 impl<'a> JitMemory<'a> { argument
990 ) -> Result<JitMemory<'a>, Error> { in new()
1007 let mut mem = JitMemory { in new()
1024 impl<'a> Index<usize> for JitMemory<'a> { implementation
1032 impl<'a> IndexMut<usize> for JitMemory<'a> { implementation
1038 impl<'a> Drop for JitMemory<'a> { implementation
1046 impl<'a> std::fmt::Debug for JitMemory<'a> { implementation