| /freebsd/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-ild.c | 41 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 113 #define ptu_decode(insn, size, mode) \ argument 116 #define ptu_classify(insn, size, mode, iclass) \ argument 120 #define ptu_decode_s(insn, mode) \ argument 123 #define ptu_classify_s(insn, mode, iclass) \ argument 126 #define ptu_invalid_s(insn, mode) \ argument 132 uint8_t insn[] = { 0x68, 0x11, 0x22, 0x33, 0x44 }; in push() local 141 uint8_t insn[] = { 0xE9, 0x60, 0xF9, 0xFF, 0xFF }; in jmp_rel() local [all …]
|
| /freebsd/contrib/processor-trace/libipt/src/ |
| H A D | pt_insn.c | 37 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() 227 static int pt_insn_decode_retry(struct pt_insn *insn, struct pt_insn_ext *iext, in pt_insn_decode_retry() 309 int pt_insn_decode(struct pt_insn *insn, struct pt_insn_ext *iext, in pt_insn_decode() [all …]
|
| H A D | pt_block_decoder.c | 521 static int pt_insn_false(const struct pt_insn *insn, in pt_insn_false() 549 const struct pt_insn *insn, in pt_blk_next_ip() 642 const struct pt_insn *insn, in pt_blk_proceed_with_trace() 673 static int pt_blk_decode_in_section(struct pt_insn *insn, in pt_blk_decode_in_section() 703 const struct pt_insn *insn, in pt_blk_log_call() 744 struct pt_insn insn; in pt_blk_proceed_one_insn() local 826 struct pt_insn *insn, in pt_blk_proceed_to_insn() 887 struct pt_block *block, struct pt_insn *insn, in pt_blk_proceed_to_ip() 950 struct pt_insn insn; in pt_blk_proceed_to_ip_with_trace() local 968 static int pt_insn_skl014(const struct pt_insn *insn, in pt_insn_skl014() [all …]
|
| H A D | pt_insn_decoder.c | 470 struct pt_insn insn; in check_erratum_skd022() local 520 const struct pt_insn *insn, in pt_insn_proceed() 624 const struct pt_insn *insn, in pt_insn_at_skl014() 666 const struct pt_insn *insn, in pt_insn_at_disabled_event() 736 const struct pt_insn *insn, in pt_insn_postpone() 809 const struct pt_insn *insn, in pt_insn_check_insn_event() 967 const struct pt_insn *insn, in handle_erratum_bdm64() 1014 const struct pt_insn *insn, in pt_insn_postpone_tsx() 1047 const struct pt_insn *insn, in pt_insn_check_ip_event() 1194 const struct pt_insn *insn) in insn_to_user() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/ |
| H A D | X86Disassembler.cpp | 191 static bool peek(struct InternalInstruction *insn, uint8_t &byte) { in peek() 199 template <typename T> static bool consume(InternalInstruction *insn, T &ptr) { in consume() 209 static bool isREX(struct InternalInstruction *insn, uint8_t prefix) { in isREX() 213 static bool isREX2(struct InternalInstruction *insn, uint8_t prefix) { in isREX2() 222 static int readPrefixes(struct InternalInstruction *insn) { in readPrefixes() 549 static int readSIB(struct InternalInstruction *insn) { in readSIB() 613 static int readDisplacement(struct InternalInstruction *insn) { in readDisplacement() 644 static int readModRM(struct InternalInstruction *insn) { in readModRM() 869 static int fixupReg(struct InternalInstruction *insn, in fixupReg() 929 static bool readOpcode(struct InternalInstruction *insn) { in readOpcode() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/ |
| H A D | EmulateInstructionMIPS64.cpp | 1063 bool EmulateInstructionMIPS64::Emulate_DADDiu(llvm::MCInst &insn) { in Emulate_DADDiu() 1127 bool EmulateInstructionMIPS64::Emulate_SD(llvm::MCInst &insn) { in Emulate_SD() 1183 bool EmulateInstructionMIPS64::Emulate_LD(llvm::MCInst &insn) { in Emulate_LD() 1226 bool EmulateInstructionMIPS64::Emulate_LUI(llvm::MCInst &insn) { in Emulate_LUI() 1243 bool EmulateInstructionMIPS64::Emulate_DSUBU_DADDU(llvm::MCInst &insn) { in Emulate_DSUBU_DADDU() 1329 bool EmulateInstructionMIPS64::Emulate_BXX_3ops(llvm::MCInst &insn) { in Emulate_BXX_3ops() 1381 bool EmulateInstructionMIPS64::Emulate_Bcond_Link(llvm::MCInst &insn) { in Emulate_Bcond_Link() 1427 bool EmulateInstructionMIPS64::Emulate_BAL(llvm::MCInst &insn) { in Emulate_BAL() 1458 bool EmulateInstructionMIPS64::Emulate_BALC(llvm::MCInst &insn) { in Emulate_BALC() 1493 bool EmulateInstructionMIPS64::Emulate_Bcond_Link_C(llvm::MCInst &insn) { in Emulate_Bcond_Link_C() [all …]
|
| /freebsd/sys/arm/arm/ |
| H A D | undefined.c | 88 #define ARM_COPROC_INSN(insn) (((insn) & (1 << 27)) != 0) argument 89 #define ARM_VFP_INSN(insn) ((((insn) & 0xfe000000) == 0xf2000000) || \ argument 91 #define ARM_COPROC(insn) (((insn) >> 8) & 0xf) argument 93 #define THUMB_32BIT_INSN(insn) ((((insn) & 0xe000) == 0xe000) && \ argument 101 #define THUMB_COPROC_INSN(insn) (((insn) & (3 << 26)) == (3 << 26)) argument 108 #define THUMB_VFP_INSN(insn) (((insn) & (0x1F1 << 20)) == (0x190 << 20)) argument 109 #define THUMB_COPROC(insn) (((insn) >> 8) & 0xf) argument 149 gdb_trapper(u_int addr, u_int insn, struct trapframe *frame, int code) in gdb_trapper()
|
| H A D | disassem.c | 291 u_int insn; in disasm() local 531 disasm_register_shift(const disasm_interface_t *di, u_int insn) in disasm_register_shift() 549 disasm_print_reglist(const disasm_interface_t *di, u_int insn) in disasm_print_reglist() 584 disasm_insn_ldrstr(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldrstr() 613 disasm_insn_ldrhstrh(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldrhstrh() 642 disasm_insn_ldcstc(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldcstc()
|
| H A D | unwind.c | 95 uint32_t insn; member 349 uint8_t insn; in unwind_exec_read_byte() local 370 unsigned int insn; in unwind_exec_insn() local
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/ |
| H A D | EmulateInstructionMIPS.cpp | 1173 bool EmulateInstructionMIPS::Emulate_ADDiu(llvm::MCInst &insn) { in Emulate_ADDiu() 1225 bool EmulateInstructionMIPS::Emulate_SW(llvm::MCInst &insn) { in Emulate_SW() 1287 bool EmulateInstructionMIPS::Emulate_LW(llvm::MCInst &insn) { in Emulate_LW() 1331 bool EmulateInstructionMIPS::Emulate_SUBU_ADDU(llvm::MCInst &insn) { in Emulate_SUBU_ADDU() 1410 bool EmulateInstructionMIPS::Emulate_LUI(llvm::MCInst &insn) { in Emulate_LUI() 1427 bool EmulateInstructionMIPS::Emulate_ADDIUSP(llvm::MCInst &insn) { in Emulate_ADDIUSP() 1454 bool EmulateInstructionMIPS::Emulate_ADDIUS5(llvm::MCInst &insn) { in Emulate_ADDIUS5() 1488 bool EmulateInstructionMIPS::Emulate_SWSP(llvm::MCInst &insn) { in Emulate_SWSP() 1553 bool EmulateInstructionMIPS::Emulate_SWM16_32(llvm::MCInst &insn) { in Emulate_SWM16_32() 1631 bool EmulateInstructionMIPS::Emulate_LWSP(llvm::MCInst &insn) { in Emulate_LWSP() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/Disassembler/ |
| H A D | VEDisassembler.cpp | 318 static DecodeStatus DecodeASX(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeASX() 351 static DecodeStatus DecodeAS(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeAS() 373 static DecodeStatus DecodeMem(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeMem() 397 static DecodeStatus DecodeMemAS(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeMemAS() 421 static DecodeStatus DecodeLoadI32(MCInst &Inst, uint64_t insn, uint64_t Address, in DecodeLoadI32() 426 static DecodeStatus DecodeStoreI32(MCInst &Inst, uint64_t insn, in DecodeStoreI32() 432 static DecodeStatus DecodeLoadI64(MCInst &Inst, uint64_t insn, uint64_t Address, in DecodeLoadI64() 437 static DecodeStatus DecodeStoreI64(MCInst &Inst, uint64_t insn, in DecodeStoreI64() 443 static DecodeStatus DecodeLoadF32(MCInst &Inst, uint64_t insn, uint64_t Address, in DecodeLoadF32() 448 static DecodeStatus DecodeStoreF32(MCInst &Inst, uint64_t insn, in DecodeStoreF32() [all …]
|
| /freebsd/sys/arm64/arm64/ |
| H A D | undefined.c | 54 #define INSN_COND(insn) ((insn >> 28) & ~0x1) argument 55 #define INSN_COND_INVERTED(insn) ((insn >> 28) & 0x1) argument 104 arm_cond_match(uint32_t insn, struct trapframe *frame) in arm_cond_match() 158 gdb_trapper(vm_offset_t va, uint32_t insn, struct trapframe *frame, in gdb_trapper() 179 swp_emulate(vm_offset_t va, uint32_t insn, struct trapframe *frame, in swp_emulate() 327 undef_sys_insn(struct trapframe *frame, uint32_t insn) in undef_sys_insn() 336 #define MRS_REGISTER(insn) ((insn) & 0x0000001f) in undef_sys_insn() argument 408 uint32_t insn; in undef_insn() local
|
| /freebsd/sys/arm64/include/ |
| H A D | _armreg.h | 60 #define SYS_ALT_NAME(insn) \ argument 63 #define SYS(insn) do { \ argument 68 #define SYS_ARG(insn, _val) do { \ argument 74 #define SYSL(insn) \ argument
|
| /freebsd/sys/dev/psci/ |
| H A D | smccc_arm64.S | 37 .macro arm_smccc_1_0 insn argument 56 .macro arm_smccc_1_2 insn argument
|
| H A D | smccc_arm.S | 38 .macro arm_smccc_1_0 insn argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
| H A D | AArch64Disassembler.cpp | 651 DecodeThreeAddrSRegInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeThreeAddrSRegInstruction() 718 static DecodeStatus DecodeMoveImmInstruction(MCInst &Inst, uint32_t insn, in DecodeMoveImmInstruction() 757 DecodeUnsignedLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeUnsignedLdStInstruction() 823 static DecodeStatus DecodeSignedLdStInstruction(MCInst &Inst, uint32_t insn, in DecodeSignedLdStInstruction() 1031 DecodeExclusiveLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeExclusiveLdStInstruction() 1124 static DecodeStatus DecodePairLdStInstruction(MCInst &Inst, uint32_t insn, in DecodePairLdStInstruction() 1294 static DecodeStatus DecodeAuthLoadInstruction(MCInst &Inst, uint32_t insn, in DecodeAuthLoadInstruction() 1329 static DecodeStatus DecodeAddSubERegInstruction(MCInst &Inst, uint32_t insn, in DecodeAddSubERegInstruction() 1404 static DecodeStatus DecodeLogicalImmInstruction(MCInst &Inst, uint32_t insn, in DecodeLogicalImmInstruction() 1441 static DecodeStatus DecodeModImmInstruction(MCInst &Inst, uint32_t insn, in DecodeModImmInstruction() [all …]
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | Hexagon.cpp | 199 static bool isDuplex(uint32_t insn) { in isDuplex() 206 static uint32_t findMaskR6(Ctx &ctx, uint32_t insn) { in findMaskR6() 219 static uint32_t findMaskR8(uint32_t insn) { in findMaskR8() 227 static uint32_t findMaskR11(uint32_t insn) { in findMaskR11() 233 static uint32_t findMaskR16(Ctx &ctx, uint32_t insn) { in findMaskR16()
|
| H A D | PPC64.cpp | 143 PPCLegacyInsn insn = static_cast<PPCLegacyInsn>(encoding); in checkPPCLegacyInsn() local 246 void elf::writePrefixedInst(Ctx &ctx, uint8_t *loc, uint64_t insn) { in writePrefixedInst() 280 for (uint32_t insn : tail) in writeSequence() local 446 static bool isDSFormInstruction(PPCLegacyInsn insn) { in isDSFormInstruction() 482 static PPCPrefixedInsn getPCRelativeForm(PPCLegacyInsn insn) { in getPCRelativeForm() 493 static LegacyToPrefixMask getInsnMask(PPCLegacyInsn insn) { in getInsnMask() 566 static void writeFromHalf16(Ctx &ctx, uint8_t *loc, uint32_t insn) { in writeFromHalf16() 659 uint32_t insn = readFromHalf16(ctx, loc); in relaxGot() local 670 uint64_t insn = readPrefixedInst(ctx, loc); in relaxGot() local 686 uint64_t insn = readPrefixedInst(ctx, loc); in relaxGot() local [all …]
|
| H A D | LoongArch.cpp | 140 static uint32_t insn(uint32_t op, uint32_t d, uint32_t j, uint32_t k) { in insn() function 153 static uint32_t setD5k16(uint32_t insn, uint32_t imm) { in setD5k16() 159 static uint32_t setD10k16(uint32_t insn, uint32_t imm) { in setD10k16() 165 static uint32_t setJ20(uint32_t insn, uint32_t imm) { in setJ20() 169 static uint32_t setJ5(uint32_t insn, uint32_t imm) { in setJ5() 173 static uint32_t setK12(uint32_t insn, uint32_t imm) { in setK12() 177 static uint32_t setK16(uint32_t insn, uint32_t imm) { in setK16() 181 static bool isJirl(uint32_t insn) { in isJirl()
|
| H A D | RISCV.cpp | 105 static uint32_t setLO12_I(uint32_t insn, uint32_t imm) { in setLO12_I() 108 static uint32_t setLO12_S(uint32_t insn, uint32_t imm) { in setLO12_S() 348 uint16_t insn = read16le(loc) & 0xE383; in relocate() local 363 uint16_t insn = read16le(loc) & 0xE003; in relocate() local 382 uint32_t insn = read32le(loc) & 0xFFF; in relocate() local 397 uint32_t insn = read32le(loc) & 0x1FFF07F; in relocate() local 456 uint32_t insn = (read32le(loc) & ~(31 << 15)) | (X_X0 << 15); in relocate() local 470 uint32_t insn = (read32le(loc) & ~(31 << 15)) | (X_GP << 15); in relocate() local 769 uint32_t insn = read32le(sec.content().data() + r.offset); in relaxTlsLe() local
|
| H A D | X86.cpp | 617 const uint8_t insn[] = { in writePltHeader() local 640 const uint8_t insn[] = { in writePlt() local 671 const uint8_t insn[] = { in writePltHeader() local 699 const uint8_t insn[] = { in writePlt() local
|
| /freebsd/sys/riscv/riscv/ |
| H A D | db_disasm.c | 84 m_op(struct riscv_op *op, uint32_t insn) in m_op() 348 oprint(struct riscv_op *op, vm_offset_t loc, int insn) in oprint() 578 uint32_t insn; in db_disasm() local
|
| /freebsd/sys/powerpc/fpu/ |
| H A D | fpu_emu.c | 185 union instr insn; in fpu_emulate() local 259 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) in fpu_execute()
|
| /freebsd/contrib/tcpdump/ |
| H A D | bpf_dump.c | 34 struct bpf_insn *insn; in bpf_dump() local
|
| /freebsd/contrib/libpcap/ |
| H A D | bpf_dump.c | 32 const struct bpf_insn *insn; in bpf_dump() local
|