Home
last modified time | relevance | path

Searched defs:insn (Results 1 – 25 of 225) sorted by relevance

123456789

/freebsd-12.1/contrib/processor-trace/libipt/test/src/
H A Dptunit-ild.c41 struct pt_insn insn; in ptunit_ild_decode() local
67 struct pt_insn insn; in ptunit_ild_classify() local
95 struct pt_insn insn; in ptunit_ild_invalid() local
218 uint8_t insn[] = { 0x0f, 0x31 }; in rdtsc() local
254 uint8_t insn[] = { 0x0f, 0x05 }; in syscall() local
263 uint8_t insn[] = { 0x0f, 0x07 }; in sysret() local
272 uint8_t insn[] = { 0x0f, 0x34 }; in sysenter() local
281 uint8_t insn[] = { 0x0f, 0x35 }; in sysexit() local
290 uint8_t insn[] = { 0xcc }; in int3() local
308 uint8_t insn[] = { 0xcf }; in iret() local
[all …]
/freebsd-12.1/contrib/binutils/include/opcode/
H A Dspu.h94 #define DECODE_INSN_RT(insn) (insn & 0x7f) argument
95 #define DECODE_INSN_RA(insn) ((insn >> 7) & 0x7f) argument
96 #define DECODE_INSN_RB(insn) ((insn >> 14) & 0x7f) argument
97 #define DECODE_INSN_RC(insn) ((insn >> 21) & 0x7f) argument
99 #define DECODE_INSN_I10(insn) SIGNED_EXTRACT(insn,10,14) argument
103 #define DECODE_INSN_I16(insn) SIGNED_EXTRACT(insn,16,7) argument
110 #define DECODE_INSN_I18(insn) SIGNED_EXTRACT(insn,18,7) argument
114 #define DECODE_INSN_I7(insn) SIGNED_EXTRACT(insn,7,14) argument
115 #define DECODE_INSN_U7(insn) UNSIGNED_EXTRACT(insn,7,14) argument
118 #define DECODE_INSN_I8(insn) SIGNED_EXTRACT(insn,8,14) argument
[all …]
/freebsd-12.1/contrib/processor-trace/libipt/src/
H A Dpt_insn.c37 int pt_insn_changes_cpl(const struct pt_insn *insn, in pt_insn_changes_cpl()
62 int pt_insn_changes_cr3(const struct pt_insn *insn, in pt_insn_changes_cr3()
79 int pt_insn_is_branch(const struct pt_insn *insn, in pt_insn_is_branch()
102 int pt_insn_is_far_branch(const struct pt_insn *insn, in pt_insn_is_far_branch()
121 int pt_insn_binds_to_pip(const struct pt_insn *insn, in pt_insn_binds_to_pip()
138 int pt_insn_binds_to_vmcs(const struct pt_insn *insn, in pt_insn_binds_to_vmcs()
155 int pt_insn_is_ptwrite(const struct pt_insn *insn, in pt_insn_is_ptwrite()
172 int pt_insn_next_ip(uint64_t *pip, const struct pt_insn *insn, in pt_insn_next_ip()
226 static int pt_insn_decode_retry(struct pt_insn *insn, struct pt_insn_ext *iext, in pt_insn_decode_retry()
308 int pt_insn_decode(struct pt_insn *insn, struct pt_insn_ext *iext, in pt_insn_decode()
[all …]
H A Dpt_block_decoder.c741 struct pt_insn insn; in pt_blk_proceed_one_insn() local
947 struct pt_insn insn; in pt_blk_proceed_to_ip_with_trace() local
1323 struct pt_insn insn; in pt_blk_handle_erratum_skd022() local
1456 struct pt_insn insn; in pt_blk_proceed_event() local
1653 struct pt_insn insn; in pt_blk_proceed_no_event_uncached() local
1780 struct pt_insn insn; in pt_blk_proceed_no_event_fill_cache() local
2062 struct pt_insn insn; in pt_blk_proceed_truncated() local
2252 struct pt_insn insn; in pt_blk_proceed_no_event_cached() local
2275 struct pt_insn insn; in pt_blk_proceed_no_event_cached() local
2364 struct pt_insn insn; in pt_blk_proceed_no_event_cached() local
[all …]
/freebsd-12.1/sys/arm/arm/
H A Dundefined.c92 #define ARM_COPROC_INSN(insn) (((insn) & (1 << 27)) != 0) argument
93 #define ARM_VFP_INSN(insn) ((((insn) & 0xfe000000) == 0xf2000000) || \ argument
95 #define ARM_COPROC(insn) (((insn) >> 8) & 0xf) argument
97 #define THUMB_32BIT_INSN(insn) ((insn) >= 0xe800) argument
98 #define THUMB_COPROC_INSN(insn) (((insn) & (3 << 26)) == (3 << 26)) argument
99 #define THUMB_COPROC_UNDEFINED(insn) (((insn) & 0x3e << 20) == 0) argument
100 #define THUMB_VFP_INSN(insn) (((insn) & (3 << 24)) == (3 << 24)) argument
101 #define THUMB_COPROC(insn) (((insn) >> 8) & 0xf) argument
143 gdb_trapper(u_int addr, u_int insn, struct trapframe *frame, int code) in gdb_trapper()
H A Ddisassem.c296 u_int insn; in disasm() local
537 disasm_register_shift(const disasm_interface_t *di, u_int insn) in disasm_register_shift()
556 disasm_print_reglist(const disasm_interface_t *di, u_int insn) in disasm_print_reglist()
591 disasm_insn_ldrstr(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldrstr()
620 disasm_insn_ldrhstrh(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldrhstrh()
649 disasm_insn_ldcstc(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldcstc()
/freebsd-12.1/contrib/gcc/
H A Djump.c83 rtx insn; in rebuild_jump_labels() local
110 rtx insn, next, prev; in cleanup_barriers() local
147 rtx insn; in purge_line_number_notes() local
206 rtx insn; in init_label_info() local
233 rtx insn; in mark_all_labels() local
275 rtx insn; in squeeze_notes() local
804 condjump_p (rtx insn) in condjump_p()
863 pc_set (rtx insn) in pc_set()
965 onlyjump_p (rtx insn) in onlyjump_p()
1047 rtx insn; in follow_jumps() local
[all …]
H A Drtl-error.c41 location_for_asm (rtx insn) in location_for_asm()
79 diagnostic_for_asm (rtx insn, const char *msg, va_list *args_ptr, in diagnostic_for_asm()
90 error_for_asm (rtx insn, const char *gmsgid, ...) in error_for_asm()
100 warning_for_asm (rtx insn, const char *gmsgid, ...) in warning_for_asm()
110 _fatal_insn (const char *msgid, rtx insn, const char *file, int line, in _fatal_insn()
124 _fatal_insn_not_found (rtx insn, const char *file, int line, in _fatal_insn_not_found()
H A Dsched-deps.c141 find_insn_list (rtx insn, rtx list) in find_insn_list()
155 sched_get_condition (rtx insn) in sched_get_condition()
598 delete_all_dependences (rtx insn) in delete_all_dependences()
630 fixup_sched_groups (rtx insn) in fixup_sched_groups()
674 rtx insn, rtx mem) in add_insn_mem_dependence()
724 enum rtx_code ref, rtx insn) in sched_analyze_reg()
1463 rtx insn; in sched_analyze() local
1676 rtx insn; in compute_forward_dependences() local
1915 adjust_back_add_forw_dep (rtx insn, rtx *linkp) in adjust_back_add_forw_dep()
1930 delete_forw_dep (rtx insn, rtx elem) in delete_forw_dep()
[all …]
H A Dhaifa-sched.c1384 rtx insn; in rm_line_notes() local
1418 rtx insn; in save_line_notes() local
1559 rtx insn; in rm_other_notes() local
1666 rtx insn; in queue_to_ready() local
1798 rtx insn; in early_queue_to_ready() local
2082 rtx insn; in max_issue() local
2174 rtx insn; in choose_ready() local
2420 rtx insn; in schedule_block() local
2713 rtx insn; in set_priorities() local
2752 rtx insn; in sched_init() local
[all …]
H A Dreorg.c346 rtx insn; in find_end_label() local
434 rtx insn = gen_return (); in find_end_label() local
607 delete_from_delay_slot (rtx insn) in delete_from_delay_slot()
666 delete_scheduled_jump (rtx insn) in delete_scheduled_jump()
766 optimize_skip (rtx insn) in optimize_skip()
912 rare_destination (rtx insn) in rare_destination()
1816 rtx insn; in own_thread_p() local
1857 update_block (rtx insn, rtx where) in update_block()
2919 rtx insn; in fill_eager_delay_slots() local
3047 rtx insn, next, pat; in relax_delay_slots() local
[all …]
H A Dpostreload-gcse.c121 rtx insn; member
134 rtx insn; member
153 rtx insn; member
222 rtx insn; in alloc_mem() local
446 rtx insn = occr->insn; in dump_hash_table_entry() local
714 record_opr_changes (rtx insn) in record_opr_changes()
761 hash_scan_set (rtx insn) in hash_scan_set()
829 rtx insn; in compute_hash_table() local
858 rtx insn; in reg_killed_on_edge() local
875 rtx insn; in reg_used_on_edge() local
[all …]
H A Dcfglayout.c189 rtx insn; in record_effective_endpoints() local
250 rtx insn, next; in insn_locators_initialize() local
381 rtx insn = orig_insn; in change_scope() local
422 insn_scope (rtx insn) in insn_scope()
489 insn_line (rtx insn) in insn_line()
523 insn_file (rtx insn) in insn_file()
535 rtx insn, note; in reemit_insn_block_notes() local
588 rtx insn = NULL; in fixup_reorder_chain() local
930 rtx insn = BB_HEAD (bb); in cfg_layout_can_duplicate_bb_p() local
947 rtx insn, last; in duplicate_insn_chain() local
[all …]
H A Dregmove.c239 rtx insn; in mark_flags_life_zones() local
257 rtx insn, end; in mark_flags_life_zones() local
364 static int perhaps_ends_bb_p (rtx insn) in perhaps_ends_bb_p()
397 optimize_reg_copy_1 (rtx insn, rtx dest, rtx src) in optimize_reg_copy_1()
861 reg_is_remote_constant_p (rtx reg, rtx insn) in reg_is_remote_constant_p()
1057 rtx insn; in regmove_optimize() local
1534 find_matches (rtx insn, struct match *matchp) in find_matches()
2114 rtx insn, *mem; member
2163 single_set_for_csa (rtx insn) in single_set_for_csa()
2265 rtx insn; member
[all …]
H A Demit-rtl.c2079 rtx insn; in set_new_first_and_last_insn() local
2781 rtx insn; in renumber_insns() local
2909 rtx insn; in last_call_insn() local
2999 rtx insn; in skip_consecutive_labels() local
3282 rtx insn; in make_insn_raw() local
3314 rtx insn; in make_jump_insn_raw() local
3335 rtx insn; in make_call_insn_raw() local
3355 add_insn (rtx insn) in add_insn()
3716 rtx insn; in emit_insn_before_noloc() local
4325 rtx insn; in emit_insn() local
[all …]
H A Dcfgbuild.c60 inside_basic_block_p (rtx insn) in inside_basic_block_p()
92 control_flow_insn_p (rtx insn) in control_flow_insn_p()
148 rtx insn; in count_basic_blocks() local
205 rtl_make_eh_edge (sbitmap edge_cache, basic_block src, rtx insn) in rtl_make_eh_edge()
270 rtx insn, x; in make_edges() local
429 rtx insn, next; in find_basic_blocks_1() local
594 rtx insn = BB_END (bb), tmp; in purge_dead_tablejump_edges() local
638 rtx insn = BB_HEAD (bb); in find_bb_boundaries() local
H A Dcfgrtl.c106 delete_insn (rtx insn) in delete_insn()
364 rtx insn, end; in rtl_delete_block() local
397 rtx insn; in compute_bb_for_insn() local
413 rtx insn; in free_bb_for_insn() local
463 rtx insn; in update_bb_for_insn() local
481 rtx insn = insnp; in rtl_split_block() local
1589 rtx insn; in rtl_dump_bb() local
2015 rtx insn; in rtl_verify_flow_info() local
2032 rtx insn; in rtl_verify_flow_info() local
2621 rtx insn; in cfg_layout_merge_blocks() local
[all …]
H A Dgcse.c323 rtx insn; member
836 rtx reg, insn; in compute_can_copy() local
922 rtx insn; in alloc_gcse_mem() local
1146 rtx insn; in compute_sets() local
2050 rtx insn; in compute_hash_table_work() local
3176 rtx insn; in local_cprop_pass() local
3251 rtx insn; in cprop() local
3499 rtx insn; in reg_killed_on_edge() local
3681 rtx insn; in bypass_conditional_jumps() local
4153 rtx insn; in pre_edge_insert() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.cpp223 static void unconsumeByte(struct InternalInstruction* insn) { in unconsumeByte()
338 static int readPrefixes(struct InternalInstruction* insn) { in readPrefixes()
644 static int readOpcode(struct InternalInstruction* insn) { in readOpcode()
773 struct InternalInstruction* insn, in getIDWithAttrMask()
1161 static int readSIB(struct InternalInstruction* insn) { in readSIB()
1237 static int readDisplacement(struct InternalInstruction* insn) { in readDisplacement()
1282 static int readModRM(struct InternalInstruction* insn) { in readModRM()
1521 static int fixupReg(struct InternalInstruction *insn, in fixupReg()
1674 static int readVVVV(struct InternalInstruction* insn) { in readVVVV()
1722 static int readOperands(struct InternalInstruction* insn) { in readOperands()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.cpp1144 bool EmulateInstructionMIPS64::Emulate_SD(llvm::MCInst &insn) { in Emulate_SD()
1201 bool EmulateInstructionMIPS64::Emulate_LD(llvm::MCInst &insn) { in Emulate_LD()
1247 bool EmulateInstructionMIPS64::Emulate_LUI(llvm::MCInst &insn) { in Emulate_LUI()
1443 bool EmulateInstructionMIPS64::Emulate_BAL(llvm::MCInst &insn) { in Emulate_BAL()
1629 bool EmulateInstructionMIPS64::Emulate_BC(llvm::MCInst &insn) { in Emulate_BC()
1801 bool EmulateInstructionMIPS64::Emulate_J(llvm::MCInst &insn) { in Emulate_J()
1825 bool EmulateInstructionMIPS64::Emulate_JAL(llvm::MCInst &insn) { in Emulate_JAL()
1929 bool EmulateInstructionMIPS64::Emulate_JIC(llvm::MCInst &insn) { in Emulate_JIC()
1955 bool EmulateInstructionMIPS64::Emulate_JR(llvm::MCInst &insn) { in Emulate_JR()
2176 bool EmulateInstructionMIPS64::Emulate_BZB(llvm::MCInst &insn) { in Emulate_BZB()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.cpp1246 bool EmulateInstructionMIPS::Emulate_SW(llvm::MCInst &insn) { in Emulate_SW()
1310 bool EmulateInstructionMIPS::Emulate_LW(llvm::MCInst &insn) { in Emulate_LW()
1435 bool EmulateInstructionMIPS::Emulate_LUI(llvm::MCInst &insn) { in Emulate_LUI()
2422 bool EmulateInstructionMIPS::Emulate_BAL(llvm::MCInst &insn) { in Emulate_BAL()
2484 bool EmulateInstructionMIPS::Emulate_BC(llvm::MCInst &insn) { in Emulate_BC()
2507 bool EmulateInstructionMIPS::Emulate_J(llvm::MCInst &insn) { in Emulate_J()
2530 bool EmulateInstructionMIPS::Emulate_JAL(llvm::MCInst &insn) { in Emulate_JAL()
2634 bool EmulateInstructionMIPS::Emulate_JIC(llvm::MCInst &insn) { in Emulate_JIC()
2660 bool EmulateInstructionMIPS::Emulate_JR(llvm::MCInst &insn) { in Emulate_JR()
2871 bool EmulateInstructionMIPS::Emulate_BZB(llvm::MCInst &insn) { in Emulate_BZB()
[all …]
/freebsd-12.1/contrib/binutils/gas/config/
H A Ditbl-mips.h34 #define MIPS_IS_COP_INSN(insn) ((MIPS_OPCODE_COP0&(insn>>25)) \ argument
36 #define MIPS_DECODE_COP_NUM(insn) ((~MIPS_OPCODE_COP0&(insn>>25))>>1) argument
37 #define MIPS_DECODE_COP_COFUN(insn) ((~MIPS_ENCODE_COP_NUM(3))&(insn)) argument
40 #define ITBL_IS_INSN(insn) MIPS_IS_COP_INSN(insn) argument
41 #define ITBL_DECODE_PNUM(insn) MIPS_DECODE_COP_NUM(insn) argument
/freebsd-12.1/contrib/binutils/opcodes/
H A Darc-opc.c330 insert_reg (arc_insn insn, in insert_reg()
459 insert_flag (arc_insn insn, in insert_flag()
476 insert_nullify (arc_insn insn, in insert_nullify()
514 insert_cond (arc_insn insn, in insert_cond()
545 insert_addr_wb (arc_insn insn, in insert_addr_wb()
557 insert_base (arc_insn insn, in insert_base()
608 insert_offset (arc_insn insn, in insert_offset()
1075 extract_reg (arc_insn *insn, in extract_reg()
1188 extract_flag (arc_insn *insn, in extract_flag()
1218 extract_cond (arc_insn *insn, in extract_cond()
[all …]
H A Dalpha-opc.c63 insert_rba (unsigned insn, in insert_rba()
71 extract_rba (unsigned insn, int *invalid) in extract_rba()
82 insert_rca (unsigned insn, in insert_rca()
90 extract_rca (unsigned insn, int *invalid) in extract_rca()
101 insert_za (unsigned insn, in insert_za()
109 extract_za (unsigned insn, int *invalid) in extract_za()
117 insert_zb (unsigned insn, in insert_zb()
125 extract_zb (unsigned insn, int *invalid) in extract_zb()
133 insert_zc (unsigned insn, in insert_zc()
141 extract_zc (unsigned insn, int *invalid) in extract_zc()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp378 static DecodeStatus DecodeMem(MCInst &MI, unsigned insn, uint64_t Address, in DecodeMem()
467 static DecodeStatus DecodeStoreInt(MCInst &Inst, unsigned insn, in DecodeStoreInt()
473 static DecodeStatus DecodeStoreIntPair(MCInst &Inst, unsigned insn, in DecodeStoreIntPair()
485 static DecodeStatus DecodeStoreDFP(MCInst &Inst, unsigned insn, in DecodeStoreDFP()
491 static DecodeStatus DecodeStoreQFP(MCInst &Inst, unsigned insn, in DecodeStoreQFP()
497 static DecodeStatus DecodeStoreCP(MCInst &Inst, unsigned insn, in DecodeStoreCP()
503 static DecodeStatus DecodeStoreCPPair(MCInst &Inst, unsigned insn, in DecodeStoreCPPair()
518 static DecodeStatus DecodeCall(MCInst &MI, unsigned insn, in DecodeCall()
528 static DecodeStatus DecodeSIMM13(MCInst &MI, unsigned insn, in DecodeSIMM13()
535 static DecodeStatus DecodeJMPL(MCInst &MI, unsigned insn, uint64_t Address, in DecodeJMPL()
[all …]

123456789