Home
last modified time | relevance | path

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

123

/freebsd/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
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 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()
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 Dpt_block_decoder.c521 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 Dpt_insn_decoder.c470 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/sys/arm/arm/
H A Dundefined.c88 #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 Ddisassem.c291 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 Dunwind.c95 uint32_t insn; member
351 uint8_t insn; in unwind_exec_read_byte() local
372 unsigned int insn; in unwind_exec_insn() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp190 static bool peek(struct InternalInstruction *insn, uint8_t &byte) { in peek()
198 template <typename T> static bool consume(InternalInstruction *insn, T &ptr) { in consume()
208 static bool isREX(struct InternalInstruction *insn, uint8_t prefix) { in isREX()
212 static bool isREX2(struct InternalInstruction *insn, uint8_t prefix) { in isREX2()
221 static int readPrefixes(struct InternalInstruction *insn) { in readPrefixes()
545 static int readSIB(struct InternalInstruction *insn) { in readSIB()
609 static int readDisplacement(struct InternalInstruction *insn) { in readDisplacement()
640 static int readModRM(struct InternalInstruction *insn) { in readModRM()
861 static int fixupReg(struct InternalInstruction *insn, in fixupReg()
921 static bool readOpcode(struct InternalInstruction *insn) { in readOpcode()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.cpp1063 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/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.cpp1173 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 DVEDisassembler.cpp316 static DecodeStatus DecodeASX(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeASX()
349 static DecodeStatus DecodeAS(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeAS()
371 static DecodeStatus DecodeMem(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeMem()
395 static DecodeStatus DecodeMemAS(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeMemAS()
419 static DecodeStatus DecodeLoadI32(MCInst &Inst, uint64_t insn, uint64_t Address, in DecodeLoadI32()
424 static DecodeStatus DecodeStoreI32(MCInst &Inst, uint64_t insn, in DecodeStoreI32()
430 static DecodeStatus DecodeLoadI64(MCInst &Inst, uint64_t insn, uint64_t Address, in DecodeLoadI64()
435 static DecodeStatus DecodeStoreI64(MCInst &Inst, uint64_t insn, in DecodeStoreI64()
441 static DecodeStatus DecodeLoadF32(MCInst &Inst, uint64_t insn, uint64_t Address, in DecodeLoadF32()
446 static DecodeStatus DecodeStoreF32(MCInst &Inst, uint64_t insn, in DecodeStoreF32()
[all …]
/freebsd/sys/arm64/arm64/
H A Dundefined.c54 #define INSN_COND(insn) ((insn >> 28) & ~0x1) argument
55 #define INSN_COND_INVERTED(insn) ((insn >> 28) & 0x1) argument
96 id_aa64mmfr2_handler(vm_offset_t va, uint32_t insn, struct trapframe *frame, in id_aa64mmfr2_handler()
122 arm_cond_match(uint32_t insn, struct trapframe *frame) in arm_cond_match()
176 gdb_trapper(vm_offset_t va, uint32_t insn, struct trapframe *frame, in gdb_trapper()
198 swp_emulate(vm_offset_t va, uint32_t insn, struct trapframe *frame, in swp_emulate()
318 uint32_t insn; in undef_insn() local
/freebsd/sys/dev/psci/
H A Dsmccc_arm64.S37 .macro arm_smccc_1_0 insn argument
56 .macro arm_smccc_1_2 insn argument
H A Dsmccc_arm.S38 .macro arm_smccc_1_0 insn argument
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DHexagon.cpp186 static bool isDuplex(uint32_t insn) { in isDuplex()
193 static uint32_t findMaskR6(uint32_t insn) { in findMaskR6()
206 static uint32_t findMaskR8(uint32_t insn) { in findMaskR8()
214 static uint32_t findMaskR11(uint32_t insn) { in findMaskR11()
220 static uint32_t findMaskR16(uint32_t insn) { in findMaskR16()
H A DLoongArch.cpp125 static uint32_t insn(uint32_t op, uint32_t d, uint32_t j, uint32_t k) { in insn() function
134 static uint32_t setD5k16(uint32_t insn, uint32_t imm) { in setD5k16()
140 static uint32_t setD10k16(uint32_t insn, uint32_t imm) { in setD10k16()
146 static uint32_t setJ20(uint32_t insn, uint32_t imm) { in setJ20()
150 static uint32_t setK12(uint32_t insn, uint32_t imm) { in setK12()
154 static uint32_t setK16(uint32_t insn, uint32_t imm) { in setK16()
158 static bool isJirl(uint32_t insn) { in isJirl()
H A DPPC64.cpp145 PPCLegacyInsn insn = static_cast<PPCLegacyInsn>(encoding); in checkPPCLegacyInsn() local
247 void elf::writePrefixedInstruction(uint8_t *loc, uint64_t insn) { in writePrefixedInstruction()
280 for (uint32_t insn : tail) in writeSequence() local
448 static bool isDSFormInstruction(PPCLegacyInsn insn) { in isDSFormInstruction()
484 static PPCPrefixedInsn getPCRelativeForm(PPCLegacyInsn insn) { in getPCRelativeForm()
495 static LegacyToPrefixMask getInsnMask(PPCLegacyInsn insn) { in getInsnMask()
568 static void writeFromHalf16(uint8_t *loc, uint32_t insn) { in writeFromHalf16()
661 uint32_t insn = readFromHalf16(loc); in relaxGot() local
671 uint64_t insn = readPrefixedInstruction(loc); in relaxGot() local
686 uint64_t insn = readPrefixedInstruction(loc); in relaxGot() local
[all …]
H A DRISCV.cpp102 static uint32_t setLO12_I(uint32_t insn, uint32_t imm) { in setLO12_I()
105 static uint32_t setLO12_S(uint32_t insn, uint32_t imm) { in setLO12_S()
349 uint16_t insn = read16le(loc) & 0xE383; in relocate() local
364 uint16_t insn = read16le(loc) & 0xE003; in relocate() local
396 uint32_t insn = read32le(loc) & 0xFFF; in relocate() local
411 uint32_t insn = read32le(loc) & 0x1FFF07F; in relocate() local
472 uint32_t insn = (read32le(loc) & ~(31 << 15)) | (X_GP << 15); in relocate() local
767 uint32_t insn = read32le(sec.content().data() + r.offset); in relaxTlsLe() local
H A DX86.cpp611 const uint8_t insn[] = { in writePltHeader() local
634 const uint8_t insn[] = { in writePlt() local
665 const uint8_t insn[] = { in writePltHeader() local
693 const uint8_t insn[] = { in writePlt() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp602 DecodeThreeAddrSRegInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeThreeAddrSRegInstruction()
669 static DecodeStatus DecodeMoveImmInstruction(MCInst &Inst, uint32_t insn, in DecodeMoveImmInstruction()
705 DecodeUnsignedLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeUnsignedLdStInstruction()
771 static DecodeStatus DecodeSignedLdStInstruction(MCInst &Inst, uint32_t insn, in DecodeSignedLdStInstruction()
979 DecodeExclusiveLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeExclusiveLdStInstruction()
1072 static DecodeStatus DecodePairLdStInstruction(MCInst &Inst, uint32_t insn, in DecodePairLdStInstruction()
1218 static DecodeStatus DecodeAuthLoadInstruction(MCInst &Inst, uint32_t insn, in DecodeAuthLoadInstruction()
1253 static DecodeStatus DecodeAddSubERegInstruction(MCInst &Inst, uint32_t insn, in DecodeAddSubERegInstruction()
1328 static DecodeStatus DecodeLogicalImmInstruction(MCInst &Inst, uint32_t insn, in DecodeLogicalImmInstruction()
1365 static DecodeStatus DecodeModImmInstruction(MCInst &Inst, uint32_t insn, in DecodeModImmInstruction()
[all …]
/freebsd/sys/riscv/riscv/
H A Ddb_disasm.c84 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/arm64/include/
H A Dundefined.h40 mrs_Op0(uint32_t insn) in mrs_Op0()
/freebsd/contrib/tcpdump/
H A Dbpf_dump.c34 struct bpf_insn *insn; in bpf_dump() local
/freebsd/contrib/libpcap/
H A Dbpf_dump.c32 const struct bpf_insn *insn; in bpf_dump() local
/freebsd/sys/powerpc/fpu/
H A Dfpu_emu.c185 union instr insn; in fpu_emulate() local
259 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) in fpu_execute()

123