Lines Matching refs:trap_code

252         if let Some(trap_code) = mem.get_flags().trap_code() {  in mem_emit()
253 sink.add_trap(trap_code); in mem_emit()
326 if let Some(trap_code) = mem.get_flags().trap_code() { in mem_rs_emit()
327 sink.add_trap(trap_code); in mem_rs_emit()
377 if let Some(trap_code) = mem.get_flags().trap_code() { in mem_imm8_emit()
378 sink.add_trap(trap_code); in mem_imm8_emit()
424 if let Some(trap_code) = mem.get_flags().trap_code() { in mem_imm16_emit()
425 sink.add_trap(trap_code); in mem_imm16_emit()
466 if let Some(trap_code) = mem.get_flags().trap_code() { in mem_vrx_emit()
467 sink.add_trap(trap_code); in mem_vrx_emit()
1372 fn put_with_trap(sink: &mut MachBuffer<Inst>, enc: &[u8], trap_code: TrapCode) { in put_with_trap()
1377 sink.add_trap(trap_code); in put_with_trap()
1773 let trap_code = TrapCode::INTEGER_DIVISION_BY_ZERO; in emit_with_alloc_consumer() localVariable
1774 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1783 let trap_code = TrapCode::INTEGER_DIVISION_BY_ZERO; in emit_with_alloc_consumer() localVariable
1784 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1796 let trap_code = TrapCode::INTEGER_DIVISION_BY_ZERO; in emit_with_alloc_consumer() localVariable
1797 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
1809 let trap_code = TrapCode::INTEGER_DIVISION_BY_ZERO; in emit_with_alloc_consumer() localVariable
1810 put_with_trap(sink, &enc_rre(opcode, rd1.to_reg(), rn), trap_code); in emit_with_alloc_consumer()
2045 trap_code, in emit_with_alloc_consumer()
2057 trap_code, in emit_with_alloc_consumer()
2065 trap_code, in emit_with_alloc_consumer()
2075 trap_code, in emit_with_alloc_consumer()
2083 trap_code, in emit_with_alloc_consumer()
2090 put_with_trap(sink, &enc_rie_a(opcode, rn, imm, cond.bits()), trap_code); in emit_with_alloc_consumer()
3585 &Inst::Trap { trap_code } => { in emit_with_alloc_consumer()
3586 put_with_trap(sink, &enc_e(0x0000), trap_code); in emit_with_alloc_consumer()
3588 &Inst::TrapIf { cond, trap_code } => { in emit_with_alloc_consumer()
3597 put_with_trap(sink, &enc[0..4], trap_code); in emit_with_alloc_consumer()