Home
last modified time | relevance | path

Searched refs:MCDisassembler (Results 1 – 25 of 165) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp35 using DecodeStatus = MCDisassembler::DecodeStatus;
91 class ARMDisassembler : public MCDisassembler {
94 MCDisassembler(STI, Ctx) { in ARMDisassembler()
106 class ThumbDisassembler : public MCDisassembler {
109 MCDisassembler(STI, Ctx) { in ThumbDisassembler()
130 case MCDisassembler::Success: in Check()
133 case MCDisassembler::SoftFail: in Check()
136 case MCDisassembler::Fail: in Check()
414 static MCDisassembler *createARMDisassembler(const Target &T, in createARMDisassembler()
420 static MCDisassembler *createThumbDisassembler(const Target &T, in createThumbDisassembler()
[all …]
/external/llvm/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp31 typedef MCDisassembler::DecodeStatus DecodeStatus;
88 class ARMDisassembler : public MCDisassembler {
91 MCDisassembler(STI, Ctx) { in ARMDisassembler()
103 class ThumbDisassembler : public MCDisassembler {
106 MCDisassembler(STI, Ctx) { in ThumbDisassembler()
125 case MCDisassembler::Success: in Check()
128 case MCDisassembler::SoftFail: in Check()
131 case MCDisassembler::Fail: in Check()
402 static MCDisassembler *createARMDisassembler(const Target &T, in createARMDisassembler()
408 static MCDisassembler *createThumbDisassembler(const Target &T, in createThumbDisassembler()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp31 typedef MCDisassembler::DecodeStatus DecodeStatus;
35 class ARMDisassembler : public MCDisassembler {
40 MCDisassembler(STI) { in ARMDisassembler()
60 class ThumbDisassembler : public MCDisassembler {
65 MCDisassembler(STI) { in ThumbDisassembler()
90 case MCDisassembler::Success: in Check()
93 case MCDisassembler::SoftFail: in Check()
96 case MCDisassembler::Fail: in Check()
322 static MCDisassembler *createARMDisassembler(const Target &T, const MCSubtargetInfo &STI) { in createARMDisassembler()
326 static MCDisassembler *createThumbDisassembler(const Target &T, const MCSubtargetInfo &STI) { in createThumbDisassembler()
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/
DMipsGenDisassemblerTables.inc7569 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7573 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7575 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7581 …ecodeGPR32RegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7583 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7587 …ecodeGPR32RegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7591 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7593 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7595 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
7599 …eCPU16RegsRegisterClass(MI, tmp, Address, Decoder) == MCDisassembler::Fail) { return MCDisassemble…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/Disassembler/
DAVRDisassembler.cpp30 typedef MCDisassembler::DecodeStatus DecodeStatus;
35 class AVRDisassembler : public MCDisassembler {
38 : MCDisassembler(STI, Ctx) {} in AVRDisassembler()
48 static MCDisassembler *createAVRDisassembler(const Target &T, in createAVRDisassembler()
63 return MCDisassembler::Success; in DecodeGPR8RegisterClass()
68 return MCDisassembler::Success; in DecodeLD8RegisterClass()
73 return MCDisassembler::Success; in DecodePTRREGSRegisterClass()
82 return MCDisassembler::Fail; in readInstruction16()
88 return MCDisassembler::Success; in readInstruction16()
96 return MCDisassembler::Fail; in readInstruction32()
[all …]
/external/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp29 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 class MipsDisassembler : public MCDisassembler {
38 : MCDisassembler(STI, Ctx), in MipsDisassembler()
508 static MCDisassembler *createMipsDisassembler( in createMipsDisassembler()
515 static MCDisassembler *createMipselDisassembler( in createMipselDisassembler()
570 if (RegDecoder(MI, tmp, Address, Decoder) == MCDisassembler::Fail) in DecodeINSVE_DF()
571 return MCDisassembler::Fail; in DecodeINSVE_DF()
573 if (RegDecoder(MI, tmp, Address, Decoder) == MCDisassembler::Fail) in DecodeINSVE_DF()
574 return MCDisassembler::Fail; in DecodeINSVE_DF()
580 if (RegDecoder(MI, tmp, Address, Decoder) == MCDisassembler::Fail) in DecodeINSVE_DF()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp36 using DecodeStatus = MCDisassembler::DecodeStatus;
40 class MipsDisassembler : public MCDisassembler {
46 : MCDisassembler(STI, Ctx), in MipsDisassembler()
550 static MCDisassembler *createMipsDisassembler( in createMipsDisassembler()
557 static MCDisassembler *createMipselDisassembler( in createMipselDisassembler()
613 if (RegDecoder(MI, tmp, Address, Decoder) == MCDisassembler::Fail) in DecodeINSVE_DF()
614 return MCDisassembler::Fail; in DecodeINSVE_DF()
616 if (RegDecoder(MI, tmp, Address, Decoder) == MCDisassembler::Fail) in DecodeINSVE_DF()
617 return MCDisassembler::Fail; in DecodeINSVE_DF()
623 if (RegDecoder(MI, tmp, Address, Decoder) == MCDisassembler::Fail) in DecodeINSVE_DF()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp28 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 class SparcDisassembler : public MCDisassembler {
36 : MCDisassembler(STI, Ctx) {} in SparcDisassembler()
52 static MCDisassembler *createSparcDisassembler(const Target &T, in createSparcDisassembler()
159 return MCDisassembler::Fail; in DecodeIntRegsRegisterClass()
162 return MCDisassembler::Success; in DecodeIntRegsRegisterClass()
170 return MCDisassembler::Fail; in DecodeI64RegsRegisterClass()
173 return MCDisassembler::Success; in DecodeI64RegsRegisterClass()
182 return MCDisassembler::Fail; in DecodeFPRegsRegisterClass()
185 return MCDisassembler::Success; in DecodeFPRegsRegisterClass()
[all …]
/external/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp28 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 class SparcDisassembler : public MCDisassembler {
36 : MCDisassembler(STI, Ctx) {} in SparcDisassembler()
50 static MCDisassembler *createSparcDisassembler(const Target &T, in createSparcDisassembler()
157 return MCDisassembler::Fail; in DecodeIntRegsRegisterClass()
160 return MCDisassembler::Success; in DecodeIntRegsRegisterClass()
168 return MCDisassembler::Fail; in DecodeI64RegsRegisterClass()
171 return MCDisassembler::Success; in DecodeI64RegsRegisterClass()
180 return MCDisassembler::Fail; in DecodeFPRegsRegisterClass()
183 return MCDisassembler::Success; in DecodeFPRegsRegisterClass()
[all …]
/external/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp27 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 static MCDisassembler *createLanaiDisassembler(const Target &T, in createLanaiDisassembler()
46 : MCDisassembler(STI, Ctx) {} in LanaiDisassembler()
79 return MCDisassembler::Fail; in readInstruction32()
86 return MCDisassembler::Success; in readInstruction32()
139 if (Result == MCDisassembler::Fail) in getInstruction()
140 return MCDisassembler::Fail; in getInstruction()
146 if (Result != MCDisassembler::Fail) { in getInstruction()
152 return MCDisassembler::Fail; in getInstruction()
166 return MCDisassembler::Fail; in DecodeGPRRegisterClass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp26 typedef MCDisassembler::DecodeStatus DecodeStatus;
32 static MCDisassembler *createLanaiDisassembler(const Target & /*T*/, in createLanaiDisassembler()
45 : MCDisassembler(STI, Ctx) {} in LanaiDisassembler()
79 return MCDisassembler::Fail; in readInstruction32()
86 return MCDisassembler::Success; in readInstruction32()
137 if (Result == MCDisassembler::Fail) in getInstruction()
138 return MCDisassembler::Fail; in getInstruction()
144 if (Result != MCDisassembler::Fail) { in getInstruction()
150 return MCDisassembler::Fail; in getInstruction()
165 return MCDisassembler::Fail; in DecodeGPRRegisterClass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/Disassembler/
DRISCVDisassembler.cpp28 typedef MCDisassembler::DecodeStatus DecodeStatus;
31 class RISCVDisassembler : public MCDisassembler {
35 : MCDisassembler(STI, Ctx) {} in RISCVDisassembler()
44 static MCDisassembler *createRISCVDisassembler(const Target &T, in createRISCVDisassembler()
73 return MCDisassembler::Fail; in DecodeGPRRegisterClass()
80 return MCDisassembler::Success; in DecodeGPRRegisterClass()
98 return MCDisassembler::Fail; in DecodeFPR32RegisterClass()
105 return MCDisassembler::Success; in DecodeFPR32RegisterClass()
112 return MCDisassembler::Fail; in DecodeFPR32CRegisterClass()
116 return MCDisassembler::Success; in DecodeFPR32CRegisterClass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp35 using DecodeStatus = MCDisassembler::DecodeStatus;
40 class WebAssemblyDisassembler final : public MCDisassembler {
51 : MCDisassembler(STI, Ctx), MCII(std::move(MCII)) {} in WebAssemblyDisassembler()
55 static MCDisassembler *createWebAssemblyDisassembler(const Target &T, in createWebAssemblyDisassembler()
106 MCDisassembler::DecodeStatus WebAssemblyDisassembler::getInstruction( in getInstruction()
113 return MCDisassembler::Fail; in getInstruction()
126 return MCDisassembler::Fail; in getInstruction()
129 return MCDisassembler::Fail; in getInstruction()
133 return MCDisassembler::Fail; in getInstruction()
150 return MCDisassembler::Fail; in getInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp31 typedef MCDisassembler::DecodeStatus DecodeStatus;
36 class BPFDisassembler : public MCDisassembler {
67 : MCDisassembler(STI, Ctx) {} in BPFDisassembler()
82 static MCDisassembler *createBPFDisassembler(const Target &T, in createBPFDisassembler()
107 return MCDisassembler::Fail; in DecodeGPRRegisterClass()
111 return MCDisassembler::Success; in DecodeGPRRegisterClass()
122 return MCDisassembler::Fail; in DecodeGPR32RegisterClass()
126 return MCDisassembler::Success; in DecodeGPR32RegisterClass()
136 return MCDisassembler::Success; in decodeMemoryOpValue()
147 return MCDisassembler::Fail; in readInstruction64()
[all …]
/external/llvm/lib/Target/XCore/Disassembler/
DXCoreDisassembler.cpp28 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 class XCoreDisassembler : public MCDisassembler {
36 MCDisassembler(STI, Ctx) {} in XCoreDisassembler()
205 return MCDisassembler::Fail; in DecodeGRRegsRegisterClass()
208 return MCDisassembler::Success; in DecodeGRRegsRegisterClass()
217 return MCDisassembler::Fail; in DecodeRRegsRegisterClass()
220 return MCDisassembler::Success; in DecodeRRegsRegisterClass()
226 return MCDisassembler::Fail; in DecodeBitpOperand()
231 return MCDisassembler::Success; in DecodeBitpOperand()
237 return MCDisassembler::Success; in DecodeNegImmOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/Disassembler/
DXCoreDisassembler.cpp28 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 class XCoreDisassembler : public MCDisassembler {
36 MCDisassembler(STI, Ctx) {} in XCoreDisassembler()
205 return MCDisassembler::Fail; in DecodeGRRegsRegisterClass()
208 return MCDisassembler::Success; in DecodeGRRegsRegisterClass()
217 return MCDisassembler::Fail; in DecodeRRegsRegisterClass()
220 return MCDisassembler::Success; in DecodeRRegsRegisterClass()
226 return MCDisassembler::Fail; in DecodeBitpOperand()
231 return MCDisassembler::Success; in DecodeBitpOperand()
237 return MCDisassembler::Success; in DecodeNegImmOperand()
[all …]
/external/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp33 class WebAssemblyDisassembler final : public MCDisassembler {
44 : MCDisassembler(STI, Ctx), MCII(std::move(MCII)) {} in WebAssemblyDisassembler()
48 static MCDisassembler *createWebAssemblyDisassembler(const Target &T, in createWebAssemblyDisassembler()
63 MCDisassembler::DecodeStatus WebAssemblyDisassembler::getInstruction( in getInstruction()
71 return MCDisassembler::Fail; in getInstruction()
76 return MCDisassembler::Fail; in getInstruction()
86 return MCDisassembler::Fail; in getInstruction()
99 return MCDisassembler::Fail; in getInstruction()
107 return MCDisassembler::Fail; in getInstruction()
118 return MCDisassembler::Fail; in getInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/Disassembler/
DHexagonDisassembler.cpp39 using DecodeStatus = MCDisassembler::DecodeStatus;
44 class HexagonDisassembler : public MCDisassembler {
52 : MCDisassembler(STI, Ctx), MCII(MCII), CurrentBundle(new MCInst *), in HexagonDisassembler()
153 return MCDisassembler::Success; in s4_0ImmDecoder()
158 return MCDisassembler::Success; in s29_3ImmDecoder()
163 return MCDisassembler::Success; in s8_0ImmDecoder()
168 return MCDisassembler::Success; in s4_3ImmDecoder()
173 return MCDisassembler::Success; in s31_1ImmDecoder()
178 return MCDisassembler::Success; in s3_0ImmDecoder()
183 return MCDisassembler::Success; in s30_2ImmDecoder()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/Disassembler/
DARCDisassembler.cpp30 using DecodeStatus = MCDisassembler::DecodeStatus;
35 class ARCDisassembler : public MCDisassembler {
41 : MCDisassembler(STI, Ctx), MCII(MCII) {} in ARCDisassembler()
126 return MCDisassembler::Fail; in DecodeGPR32RegisterClass()
131 return MCDisassembler::Success; in DecodeGPR32RegisterClass()
166 return MCDisassembler::Success; in DecodeMEMrs9()
173 auto Disassembler = static_cast<const MCDisassembler *>(Decoder); in DecodeSymbolicOperand()
193 return MCDisassembler::Success; in DecodeBranchTargetS()
204 return MCDisassembler::Success; in DecodeSignedOperand()
216 return MCDisassembler::Success; in DecodeFromCyclicRange()
[all …]
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp21 typedef MCDisassembler::DecodeStatus DecodeStatus;
24 class SystemZDisassembler : public MCDisassembler {
27 : MCDisassembler(STI, Ctx) {} in SystemZDisassembler()
37 static MCDisassembler *createSystemZDisassembler(const Target &T, in createSystemZDisassembler()
72 const MCDisassembler *Dis = static_cast<const MCDisassembler*>(Decoder); in tryAddingSymbolicOperand()
82 return MCDisassembler::Fail; in decodeRegisterClass()
84 return MCDisassembler::Success; in decodeRegisterClass()
156 return MCDisassembler::Fail; in decodeUImmOperand()
158 return MCDisassembler::Success; in decodeUImmOperand()
164 return MCDisassembler::Fail; in decodeSImmOperand()
[all …]
/external/llvm/lib/Target/Hexagon/Disassembler/
DHexagonDisassembler.cpp37 typedef MCDisassembler::DecodeStatus DecodeStatus;
41 class HexagonDisassembler : public MCDisassembler {
47 : MCDisassembler(STI, Ctx), MCII(MCII), CurrentBundle(new MCInst *) {} in HexagonDisassembler()
143 static MCDisassembler *createHexagonDisassembler(const Target &T, in createHexagonDisassembler()
167 return MCDisassembler::Fail; in getInstruction()
174 if(Result == MCDisassembler::Fail) in getInstruction()
178 return MCDisassembler::Fail; in getInstruction()
179 return MCDisassembler::Success; in getInstruction()
219 return MCDisassembler::Fail; in getSingleInstruction()
291 MCDisassembler::Success) in getSingleInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp25 typedef MCDisassembler::DecodeStatus DecodeStatus;
29 class SystemZDisassembler : public MCDisassembler {
32 : MCDisassembler(STI, Ctx) {} in SystemZDisassembler()
43 static MCDisassembler *createSystemZDisassembler(const Target &T, in createSystemZDisassembler()
78 const MCDisassembler *Dis = static_cast<const MCDisassembler*>(Decoder); in tryAddingSymbolicOperand()
88 return MCDisassembler::Fail; in decodeRegisterClass()
90 return MCDisassembler::Success; in decodeRegisterClass()
174 return MCDisassembler::Fail; in decodeUImmOperand()
176 return MCDisassembler::Success; in decodeUImmOperand()
182 return MCDisassembler::Fail; in decodeSImmOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenDisassemblerTables.inc17702 … if (!Check(S, DecodeZPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
17704 …if (!Check(S, DecodePPR_3bRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail…
17706 … if (!Check(S, DecodeZPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
17708 … if (!Check(S, DecodeZPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
17712 …if (!Check(S, DecodeFPR64RegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail;…
17714 …if (!Check(S, DecodePPR_3bRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail…
17716 … if (!Check(S, DecodeZPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
17720 …if (!Check(S, DecodeFPR8RegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
17722 …if (!Check(S, DecodePPR_3bRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail…
17724 … if (!Check(S, DecodeZPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/
DARMGenDisassemblerTables.inc11374 … if (!Check(S, DecodeGPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11376 … if (!Check(S, DecodeGPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11378 … if (!Check(S, DecodeGPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11380 … if (!Check(S, DecodePredicateOperand(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11382 if (!Check(S, DecodeCCOutOperand(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11386 … if (!Check(S, DecodeGPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11388 … if (!Check(S, DecodeGPRRegisterClass(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11392 … if (!Check(S, DecodeSORegImmOperand(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11394 … if (!Check(S, DecodePredicateOperand(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
11396 if (!Check(S, DecodeCCOutOperand(MI, tmp, Address, Decoder))) { return MCDisassembler::Fail; }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCDisassembler/
DMCDisassembler.cpp16 MCDisassembler::~MCDisassembler() = default;
18 bool MCDisassembler::tryAddingSymbolicOperand(MCInst &Inst, int64_t Value, in tryAddingSymbolicOperand()
29 void MCDisassembler::tryAddingPcLoadReferenceComment(int64_t Value, in tryAddingPcLoadReferenceComment()
36 void MCDisassembler::setSymbolizer(std::unique_ptr<MCSymbolizer> Symzer) { in setSymbolizer()

1234567