Home
last modified time | relevance | path

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

123

/freebsd-13.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-13.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()
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.c744 struct pt_insn insn; in pt_blk_proceed_one_insn() local
950 struct pt_insn insn; in pt_blk_proceed_to_ip_with_trace() local
1326 struct pt_insn insn; in pt_blk_handle_erratum_skd022() local
1459 struct pt_insn insn; in pt_blk_proceed_event() local
1656 struct pt_insn insn; in pt_blk_proceed_no_event_uncached() local
1783 struct pt_insn insn; in pt_blk_proceed_no_event_fill_cache() local
2065 struct pt_insn insn; in pt_blk_proceed_truncated() local
2255 struct pt_insn insn; in pt_blk_proceed_no_event_cached() local
2279 struct pt_insn insn; in pt_blk_proceed_no_event_cached() local
2368 struct pt_insn insn; in pt_blk_proceed_no_event_cached() local
[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-13.1/sys/arm/arm/
H A Dundefined.c91 #define ARM_COPROC_INSN(insn) (((insn) & (1 << 27)) != 0) argument
92 #define ARM_VFP_INSN(insn) ((((insn) & 0xfe000000) == 0xf2000000) || \ argument
94 #define ARM_COPROC(insn) (((insn) >> 8) & 0xf) argument
96 #define THUMB_32BIT_INSN(insn) ((((insn) & 0xe000) == 0xe000) && \ argument
104 #define THUMB_COPROC_INSN(insn) (((insn) & (3 << 26)) == (3 << 26)) argument
111 #define THUMB_VFP_INSN(insn) (((insn) & (0x1F1 << 20)) == (0x190 << 20)) argument
112 #define THUMB_COPROC(insn) (((insn) >> 8) & 0xf) argument
152 gdb_trapper(u_int addr, u_int insn, struct trapframe *frame, int code) in gdb_trapper()
H A Ddisassem.c293 u_int insn; in disasm() local
533 disasm_register_shift(const disasm_interface_t *di, u_int insn) in disasm_register_shift()
551 disasm_print_reglist(const disasm_interface_t *di, u_int insn) in disasm_print_reglist()
586 disasm_insn_ldrstr(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldrstr()
615 disasm_insn_ldrhstrh(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldrhstrh()
644 disasm_insn_ldcstc(const disasm_interface_t *di, u_int insn, u_int loc) in disasm_insn_ldcstc()
H A Dunwind.c97 uint32_t insn; member
353 uint8_t insn; in unwind_exec_read_byte() local
373 unsigned int insn; in unwind_exec_insn() local
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.cpp1141 bool EmulateInstructionMIPS64::Emulate_SD(llvm::MCInst &insn) { in Emulate_SD()
1198 bool EmulateInstructionMIPS64::Emulate_LD(llvm::MCInst &insn) { in Emulate_LD()
1244 bool EmulateInstructionMIPS64::Emulate_LUI(llvm::MCInst &insn) { in Emulate_LUI()
1440 bool EmulateInstructionMIPS64::Emulate_BAL(llvm::MCInst &insn) { in Emulate_BAL()
1626 bool EmulateInstructionMIPS64::Emulate_BC(llvm::MCInst &insn) { in Emulate_BC()
1798 bool EmulateInstructionMIPS64::Emulate_J(llvm::MCInst &insn) { in Emulate_J()
1822 bool EmulateInstructionMIPS64::Emulate_JAL(llvm::MCInst &insn) { in Emulate_JAL()
1926 bool EmulateInstructionMIPS64::Emulate_JIC(llvm::MCInst &insn) { in Emulate_JIC()
1952 bool EmulateInstructionMIPS64::Emulate_JR(llvm::MCInst &insn) { in Emulate_JR()
2173 bool EmulateInstructionMIPS64::Emulate_BZB(llvm::MCInst &insn) { in Emulate_BZB()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.cpp1236 bool EmulateInstructionMIPS::Emulate_SW(llvm::MCInst &insn) { in Emulate_SW()
1300 bool EmulateInstructionMIPS::Emulate_LW(llvm::MCInst &insn) { in Emulate_LW()
1425 bool EmulateInstructionMIPS::Emulate_LUI(llvm::MCInst &insn) { in Emulate_LUI()
2412 bool EmulateInstructionMIPS::Emulate_BAL(llvm::MCInst &insn) { in Emulate_BAL()
2474 bool EmulateInstructionMIPS::Emulate_BC(llvm::MCInst &insn) { in Emulate_BC()
2497 bool EmulateInstructionMIPS::Emulate_J(llvm::MCInst &insn) { in Emulate_J()
2520 bool EmulateInstructionMIPS::Emulate_JAL(llvm::MCInst &insn) { in Emulate_JAL()
2624 bool EmulateInstructionMIPS::Emulate_JIC(llvm::MCInst &insn) { in Emulate_JIC()
2650 bool EmulateInstructionMIPS::Emulate_JR(llvm::MCInst &insn) { in Emulate_JR()
2861 bool EmulateInstructionMIPS::Emulate_BZB(llvm::MCInst &insn) { in Emulate_BZB()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp208 static int readPrefixes(struct InternalInstruction *insn) { in readPrefixes()
508 static int readSIB(struct InternalInstruction *insn) { in readSIB()
601 static int readModRM(struct InternalInstruction *insn) { in readModRM()
836 static int fixupReg(struct InternalInstruction *insn, in fixupReg()
873 static bool readOpcode(struct InternalInstruction *insn) { in readOpcode()
1447 static int readVVVV(struct InternalInstruction *insn) { in readVVVV()
1487 static int readOperands(struct InternalInstruction *insn) { in readOperands()
1887 InternalInstruction &insn, in translateImmediate()
1992 InternalInstruction &insn) { in translateRMRegister()
2259 InternalInstruction &insn, in translateOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/Disassembler/
H A DVEDisassembler.cpp307 static DecodeStatus DecodeASX(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeASX()
340 static DecodeStatus DecodeAS(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeAS()
362 static DecodeStatus DecodeMem(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeMem()
415 static DecodeStatus DecodeStoreI32(MCInst &Inst, uint64_t insn, in DecodeStoreI32()
425 static DecodeStatus DecodeStoreI64(MCInst &Inst, uint64_t insn, in DecodeStoreI64()
435 static DecodeStatus DecodeStoreF32(MCInst &Inst, uint64_t insn, in DecodeStoreF32()
440 static DecodeStatus DecodeLoadASI64(MCInst &Inst, uint64_t insn, in DecodeLoadASI64()
446 static DecodeStatus DecodeStoreASI64(MCInst &Inst, uint64_t insn, in DecodeStoreASI64()
452 static DecodeStatus DecodeCAS(MCInst &MI, uint64_t insn, uint64_t Address, in DecodeCAS()
584 static DecodeStatus DecodeBranchCondition(MCInst &MI, uint64_t insn, in DecodeBranchCondition()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp370 static DecodeStatus DecodeMem(MCInst &MI, unsigned insn, uint64_t Address, in DecodeMem()
459 static DecodeStatus DecodeStoreInt(MCInst &Inst, unsigned insn, in DecodeStoreInt()
465 static DecodeStatus DecodeStoreIntPair(MCInst &Inst, unsigned insn, in DecodeStoreIntPair()
477 static DecodeStatus DecodeStoreDFP(MCInst &Inst, unsigned insn, in DecodeStoreDFP()
483 static DecodeStatus DecodeStoreQFP(MCInst &Inst, unsigned insn, in DecodeStoreQFP()
489 static DecodeStatus DecodeStoreCP(MCInst &Inst, unsigned insn, in DecodeStoreCP()
495 static DecodeStatus DecodeStoreCPPair(MCInst &Inst, unsigned insn, in DecodeStoreCPPair()
510 static DecodeStatus DecodeCall(MCInst &MI, unsigned insn, in DecodeCall()
520 static DecodeStatus DecodeSIMM13(MCInst &MI, unsigned insn, in DecodeSIMM13()
527 static DecodeStatus DecodeJMPL(MCInst &MI, unsigned insn, uint64_t Address, in DecodeJMPL()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/
H A DHexagon.cpp165 static bool isDuplex(uint32_t insn) { in isDuplex()
172 static uint32_t findMaskR6(uint32_t insn) { in findMaskR6()
208 static uint32_t findMaskR8(uint32_t insn) { in findMaskR8()
216 static uint32_t findMaskR11(uint32_t insn) { in findMaskR11()
222 static uint32_t findMaskR16(uint32_t insn) { in findMaskR16()
H A DPPC64.cpp127 PPCLegacyInsn insn = static_cast<PPCLegacyInsn>(encoding); in checkPPCLegacyInsn() local
228 for (uint32_t insn : tail) in writeSequence() local
436 static bool isDSFormInstruction(PPCLegacyInsn insn) { in isDSFormInstruction()
472 static PPCPrefixedInsn getPCRelativeForm(PPCLegacyInsn insn) { in getPCRelativeForm()
483 static LegacyToPrefixMask getInsnMask(PPCLegacyInsn insn) { in getInsnMask()
556 static void writeFromHalf16(uint8_t *loc, uint32_t insn) { in writeFromHalf16()
651 uint32_t insn = readFromHalf16(loc); in relaxGot() local
661 uint64_t insn = readPrefixedInstruction(loc); in relaxGot() local
676 uint64_t insn = readPrefixedInstruction(loc); in relaxGot() local
1285 uint32_t insn = readFromHalf16(loc); in relocate() local
[all …]
H A DRISCV.cpp308 uint16_t insn = read16le(loc) & 0xE383; in relocate() local
323 uint16_t insn = read16le(loc) & 0xE003; in relocate() local
355 uint32_t insn = read32le(loc) & 0xFFF; in relocate() local
370 uint32_t insn = read32le(loc) & 0x1FFF07F; in relocate() local
H A DX86.cpp533 const uint8_t insn[] = { in writePltHeader() local
556 const uint8_t insn[] = { in writePlt() local
587 const uint8_t insn[] = { in writePltHeader() local
615 const uint8_t insn[] = { in writePlt() local
/freebsd-13.1/sys/arm64/arm64/
H A Dundefined.c66 id_aa64mmfr2_handler(vm_offset_t va, uint32_t insn, struct trapframe *frame, in id_aa64mmfr2_handler()
96 gdb_trapper(vm_offset_t va, uint32_t insn, struct trapframe *frame, in gdb_trapper()
157 uint32_t insn; in undef_insn() local
H A Ddisassem.c286 arm64_disasm_read_token(struct arm64_insn *insn, u_int opcode, in arm64_disasm_read_token()
303 arm64_disasm_read_token_sign_ext(struct arm64_insn *insn, u_int opcode, in arm64_disasm_read_token_sign_ext()
339 uint32_t insn; in disasm() local
/freebsd-13.1/sys/riscv/riscv/
H A Ddb_disasm.c87 m_op(struct riscv_op *op, uint32_t insn) in m_op()
351 oprint(struct riscv_op *op, vm_offset_t loc, int insn) in oprint()
581 uint32_t insn; in db_disasm() local
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp1138 static DecodeStatus DecodeMoveImmInstruction(MCInst &Inst, uint32_t insn, in DecodeMoveImmInstruction()
1232 static DecodeStatus DecodeSignedLdStInstruction(MCInst &Inst, uint32_t insn, in DecodeSignedLdStInstruction()
1513 static DecodeStatus DecodePairLdStInstruction(MCInst &Inst, uint32_t insn, in DecodePairLdStInstruction()
1647 static DecodeStatus DecodeAuthLoadInstruction(MCInst &Inst, uint32_t insn, in DecodeAuthLoadInstruction()
1680 static DecodeStatus DecodeAddSubERegInstruction(MCInst &Inst, uint32_t insn, in DecodeAddSubERegInstruction()
1768 static DecodeStatus DecodeModImmInstruction(MCInst &Inst, uint32_t insn, in DecodeModImmInstruction()
1825 static DecodeStatus DecodeAdrInstruction(MCInst &Inst, uint32_t insn, in DecodeAdrInstruction()
1844 static DecodeStatus DecodeAddSubImmShift(MCInst &Inst, uint32_t insn, in DecodeAddSubImmShift()
1880 static DecodeStatus DecodeUnconditionalBranch(MCInst &Inst, uint32_t insn, in DecodeUnconditionalBranch()
1927 static DecodeStatus DecodeTestAndBranch(MCInst &Inst, uint32_t insn, in DecodeTestAndBranch()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DTraceInstructionDumper.cpp88 const InstructionSymbolInfo &insn) { in IsSameInstructionSymbolContext()
127 InstructionSymbolInfo &insn) { in DumpInstructionSymbolContext()
147 static void DumpInstructionDisassembly(Stream &s, InstructionSymbolInfo &insn) { in DumpInstructionDisassembly()
/freebsd-13.1/contrib/libpcap/
H A Dbpf_dump.c34 const struct bpf_insn *insn; in bpf_dump() local
/freebsd-13.1/contrib/tcpdump/
H A Dbpf_dump.c35 struct bpf_insn *insn; in bpf_dump() local
/freebsd-13.1/sys/arm64/include/
H A Dundefined.h42 mrs_Op0(uint32_t insn) in mrs_Op0()
/freebsd-13.1/sys/powerpc/fpu/
H A Dfpu_emu.c190 union instr insn; in fpu_emulate() local
264 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) in fpu_execute()

123