Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/llvm-project-15.0.7/lld/test/ELF/
H A Darm-adr-long.s26 .inst 0xe24f0008 // sub r0, pc, #8
27 .inst 0xe2400004 // sub r0, r0, #4
31 .inst 0xe24f1008 // sub r1, pc, #8
32 .inst 0xe2411004 // sub r1, r1, #4
33 .inst 0xe2411000 // sub r1, r1, #0
38 .inst 0xe24f0008 // sub r0, pc, #8
39 .inst 0xe2400004 // sub r0, r0, #4
40 .inst 0xe2400000 // sub r0, r0, #0
45 .inst 0xe24f0008 // sub r0, pc, #8
46 .inst 0xe2400004 // sub r0, r0, #4
[all …]
H A Darm-ldrlit.s44 .inst 0xe51f0008
47 .inst 0xe51f1008
50 .inst 0xe51f2008
53 .inst 0xe51f3008
56 .inst 0xe51f0008
59 .inst 0xe51f1008
68 .inst 0xe51f2008
71 .inst 0xe51f3008
74 .inst 0xe51f0008
77 .inst 0xe51f1008
[all …]
H A Darm-adr-err-long.s25 .inst 0xe24f0008 // sub r0, pc, #8
26 .inst 0xe2400004 // sub r0, r0, #4
31 .inst 0xe24f1008 // sub r1, pc, #8
32 .inst 0xe2411004 // sub r1, r1, #4
33 .inst 0xe2411000 // sub r1, r1, #0
39 .inst 0xe24f0008 // sub r0, pc, #8
40 .inst 0xe2400004 // sub r0, r0, #4
41 .inst 0xe2400000 // sub r0, r0, #0
47 .inst 0xe24f0008 // sub r0, pc, #8
48 .inst 0xe2400004 // sub r0, r0, #4
[all …]
H A Darm-thumb2-ldrlit.s48 .inst.w 0xf85f0004
51 .inst.w 0xf85f1004
55 .inst.w 0xf85f2004
58 .inst.w 0xf85f3004
62 .inst.w 0xf85f0004
67 .inst.w 0xf85f1004
76 .inst.w 0xf85f2004
80 .inst.w 0xf85f3004
84 .inst.w 0xf85f0004
87 .inst.w 0xf85f1004
[all …]
H A Darm-thumb2-adr.s47 .inst.w 0xf2af0004
50 .inst.w 0xf2af0104
54 .inst.w 0xf2af0204
57 .inst.w 0xf2af0304
60 .inst.w 0xf2af0004
64 .inst.w 0xf2af0104
72 .inst.w 0xf2af0204
76 .inst.w 0xf2af0304
80 .inst.w 0xf2af0004
83 .inst.w 0xf2af0104
[all …]
H A Darm-adr.s29 .inst 0xe24f0008
32 .inst 0xe24f0008
35 .inst 0xe24f0008
38 .inst 0xe24f0008
65 .inst 0xe24f0008
68 .inst 0xe24f0008
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DOpcode.h45 m_data.inst8 = inst; in Opcode()
50 m_data.inst16 = inst; in Opcode()
55 m_data.inst32 = inst; in Opcode()
60 m_data.inst64 = inst; in Opcode()
155 m_data.inst8 = inst; in SetOpcode8()
161 m_data.inst16 = inst; in SetOpcode16()
167 m_data.inst32 = inst; in SetOpcode16_2()
173 m_data.inst32 = inst; in SetOpcode32()
179 m_data.inst64 = inst; in SetOpcode64()
192 m_data.inst.length = 0; in SetOpcodeBytes()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCWin64EH.cpp104 w = inst.Offset >> 3; in EmitUnwindCode()
1321 assert(inst.Register >= 4 && inst.Register <= 7); in ARMEmitUnwindCode()
1323 streamer.emitInt8(0xd0 | (inst.Register - 4) | (inst.Offset << 2)); in ARMEmitUnwindCode()
1326 assert(inst.Register >= 8 && inst.Register <= 11); in ARMEmitUnwindCode()
1328 streamer.emitInt8(0xd8 | (inst.Register - 8) | (inst.Offset << 2)); in ARMEmitUnwindCode()
1331 assert(inst.Register >= 8 && inst.Register <= 15); in ARMEmitUnwindCode()
1357 assert(inst.Register <= inst.Offset); in ARMEmitUnwindCode()
1359 streamer.emitInt8((inst.Register << 4) | inst.Offset); in ARMEmitUnwindCode()
1362 assert(inst.Register >= 16 && inst.Register <= 31); in ARMEmitUnwindCode()
1363 assert(inst.Offset >= 16 && inst.Offset <= 31); in ARMEmitUnwindCode()
[all …]
/llvm-project-15.0.7/lldb/test/API/python_api/disassemble-raw-data/
H A DTestDisassembleRawData.py45 inst = insts.GetInstructionAtIndex(0)
50 print("Disassembled%s" % str(inst))
52 self.assertEqual(inst.GetMnemonic(target), "move")
53 self.assertEqual(inst.GetOperands(target),
56 self.assertEqual(inst.GetMnemonic(target), "li")
57 self.assertEqual(inst.GetOperands(target), "4, 0")
59 self.assertEqual(inst.GetMnemonic(target), "mov")
62 self.assertEqual(inst.GetMnemonic(target), "mov")
63 self.assertEqual(inst.GetOperands(target), "r3, #99")
65 self.assertEqual(inst.GetMnemonic(target), "movq")
[all …]
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dinst-directive.s14 .section .inst.arm_inst
20 .inst 0xdefe
23 @ CHECK: Name: .inst.arm_inst
34 .section .inst.thumb_inst_n
40 .inst.n 0xdefe
43 @ CHECK: Name: .inst.thumb_inst_n
54 .section .inst.thumb_inst_w
60 .inst.w 0x12345678
63 @ CHECK: Name: .inst.thumb_inst_w
74 .section .inst.thumb_inst_inst
[all …]
/llvm-project-15.0.7/lld/ELF/Arch/
H A DX86.cpp229 memcpy(buf, inst, sizeof(inst)); in writePlt()
237 memcpy(buf, inst, sizeof(inst)); in writePlt()
369 memcpy(loc - 3, inst, sizeof(inst)); in relaxTlsGdToLe()
403 memcpy(loc - 3, inst, sizeof(inst)); in relaxTlsGdToIe()
476 const uint8_t inst[] = { in relaxTlsLdToLe() local
481 memcpy(loc - 2, inst, sizeof(inst)); in relaxTlsLdToLe()
516 memcpy(buf, inst, sizeof(inst)); in writePlt()
521 const uint8_t inst[] = { in writePlt() local
526 memcpy(buf, inst, sizeof(inst)); in writePlt()
542 memcpy(buf, inst, sizeof(inst)); in writeIBTPlt()
[all …]
H A DX86_64.cpp411 const uint8_t inst[] = { in writePlt() local
416 memcpy(buf, inst, sizeof(inst)); in writePlt()
445 memcpy(loc - 4, inst, sizeof(inst)); in relaxTlsGdToLe()
486 memcpy(loc - 4, inst, sizeof(inst)); in relaxTlsGdToIe()
515 uint8_t *inst = loc - 3; in relaxTlsIeToLe() local
566 const uint8_t inst[] = { in relaxTlsLdToLe() local
582 memcpy(loc - 3, inst, sizeof(inst)); in relaxTlsLdToLe()
596 memcpy(loc - 2, inst, sizeof(inst)); in relaxTlsLdToLe()
1016 const uint8_t inst[] = { in writeIBTPlt() local
1024 memcpy(buf, inst, sizeof(inst)); in writeIBTPlt()
[all …]
/llvm-project-15.0.7/lldb/examples/python/
H A Dgdb_disassemble.py14 for inst in instructions:
15 inst_addr = inst.addr.load_addr
17 comment = inst.comment
19 …t("<%s + %-4u> 0x%x %8s %s ; %s" % (name, inst_offset, inst_addr, inst.mnemonic, inst.operands, c…
21 … print("<%s + %-4u> 0x%x %8s %s" % (name, inst_offset, inst_addr, inst.mnemonic, inst.operands))
/llvm-project-15.0.7/lldb/source/Core/
H A DOpcode.cpp46 for (uint32_t i = 0; i < m_data.inst.length; ++i) { in Dump()
49 s->Printf("%2.2x", m_data.inst.bytes[i]); in Dump()
90 swap_buf[0] = m_data.inst.bytes[2]; in GetData()
91 swap_buf[1] = m_data.inst.bytes[3]; in GetData()
92 swap_buf[2] = m_data.inst.bytes[0]; in GetData()
93 swap_buf[3] = m_data.inst.bytes[1]; in GetData()
110 swap_buf[0] = m_data.inst.bytes[1]; in GetData()
111 swap_buf[1] = m_data.inst.bytes[0]; in GetData()
112 swap_buf[2] = m_data.inst.bytes[3]; in GetData()
113 swap_buf[3] = m_data.inst.bytes[2]; in GetData()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/llvm-ir/
H A Dindirectbr.ll3 ; RUN: llc -march=mips -mcpu=mips32 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
4 ; RUN: llc -march=mips -mcpu=mips32r2 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
5 ; RUN: llc -march=mips -mcpu=mips32r3 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
6 ; RUN: llc -march=mips -mcpu=mips32r5 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
7 ; RUN: llc -march=mips -mcpu=mips32r6 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,R6C
8 ; RUN: llc -march=mips64 -mcpu=mips4 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
9 ; RUN: llc -march=mips64 -mcpu=mips64 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
10 ; RUN: llc -march=mips64 -mcpu=mips64r2 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
11 ; RUN: llc -march=mips64 -mcpu=mips64r3 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
12 ; RUN: llc -march=mips64 -mcpu=mips64r5 -asm-show-inst < %s | FileCheck %s -check-prefixes=ALL,NOT-…
[all …]
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp250 if (!loc && inst) { in processDebugLoc()
773 for (auto inst = target->begin(); isa<llvm::PHINode>(inst); ++inst) { in processBranchArgs() local
786 Location loc = processDebugLoc(inst->getDebugLoc(), inst); in processInstruction()
787 assert(!instMap.count(inst) && in processInstruction()
789 switch (inst->getOpcode()) { in processInstruction()
843 if (!inst->getType()->isVoidTy()) { in processInstruction()
850 if (!inst->getType()->isVoidTy()) in processInstruction()
860 instMap[inst] = in processInstruction()
871 instMap[inst] = b.create<ICmpOp>( in processInstruction()
881 instMap[inst] = b.create<FCmpOp>( in processInstruction()
[all …]
/llvm-project-15.0.7/llvm/bindings/python/llvm/tests/
H A Dtest_core.py127 for inst in bb:
128 self.assertEqual(inst.name, inst_list[i][0])
129 self.assertEqual(inst.opcode, inst_list[i][1])
130 for op in range(len(inst)):
131 o = inst.get_operand(op)
134 inst.dump()
138 for inst in reversed(bb):
140 self.assertEqual(inst.name, inst_list[i][0])
141 self.assertEqual(inst.opcode, inst_list[i][1])
142 inst.dump()
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Damdgpu-features.cl45 // GFX600: "target-features"="+s-memtime-inst"
46 // GFX601: "target-features"="+s-memtime-inst"
47 // GFX602: "target-features"="+s-memtime-inst"
48 // GFX700: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
49 // GFX701: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
50 // GFX702: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
51 // GFX703: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
52 // GFX704: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
53 // GFX705: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
54 …ures"="+16-bit-insts,+ci-insts,+dpp,+flat-address-space,+gfx8-insts,+s-memrealtime,+s-memtime-inst"
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dcursor-ref-names.cpp17 Sub inst; in main() local
18 inst.func(); in main()
19 inst[1]; in main()
20 inst.operator[](1); in main()
22 inst.Base<int>::operator[](1); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dbr-jmp.ll1 ; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=P…
2 ; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefi…
3 ; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -…
4 ; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %…
5 ; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=static < %s | FileCheck…
6 ; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s…
7 ; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static <…
8 ; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s…
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600Instructions.td478 bits<8> inst;
492 bits<8> inst;
579 let CF_INST = inst;
603 let CF_INST = inst;
986 inst, "MUL_LIT",
991 inst, "MULADD",
1001 inst, "FMA",
1009 inst, "CNDE",
1014 inst, "CNDGT",
1021 inst, "CNDGE",
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp182 void RegisterInstruction(llvm::Instruction &inst) { in RegisterInstruction() argument
183 m_to_instrument.push_back(&inst); in RegisterInstruction()
318 bool InstrumentInstruction(llvm::Instruction *inst) override { in InstrumentInstruction() argument
322 PrintValue(inst).c_str()); in InstrumentInstruction()
330 if (llvm::LoadInst *li = dyn_cast<llvm::LoadInst>(inst)) in InstrumentInstruction()
386 bool InstrumentInstruction(llvm::Instruction *inst) override { in InstrumentInstruction() argument
387 CallInst *call_inst = dyn_cast<CallInst>(inst); in InstrumentInstruction()
402 switch (msgSend_types[inst]) { in InstrumentInstruction()
431 new BitCastInst(target_object, GetI8PtrTy(), "", inst); in InstrumentInstruction()
442 CallInst::Create(m_objc_object_check_func, args, "", inst); in InstrumentInstruction()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dos_object_base.h13 #define OSDynamicCast(type, inst) \ argument
14 ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type)))
15 #define OSRequiredCast(type, inst) \ argument
16 ((type *) OSMetaClassBase::requiredMetaCast((inst), OSTypeID(type)))
28 static OSMetaClassBase *safeMetaCast(const OSMetaClassBase *inst,
30 static OSMetaClassBase *requiredMetaCast(const OSMetaClassBase *inst,
/llvm-project-15.0.7/mlir/utils/spirv/
H A Dgen_spirv_dialect.py435 max_len = max([len(inst['opname']) for inst in instructions])
443 offset=(max_len + 1 - len(inst['opname']))) for inst in instructions
449 decl_fmt_str.format(name=inst['opname']) for inst in instructions
473 for inst in instructions:
474 caps = inst['capabilities'] if 'capabilities' in inst else ['0_core_0']
496 filter(lambda inst: (inst['opname'] in existing_opcodes),
499 instructions_opnames = [inst['opname'] for inst in instructions]
503 filter(lambda inst: (inst['opname'] in remaining_opcodes),
554 filter(lambda inst: (inst['opname'] in filter_list), instructions))
556 filter_instrs.sort(key=lambda inst: inst['opcode'])
[all …]
/llvm-project-15.0.7/llvm/test/MC/AArch64/
H A Dinst-directive-diagnostic.s9 .inst
12 .inst 0x5e104020,
15 .inst .Label
18 .inst 0x5e104020 0x5e104020

12345678910>>...13