Home
last modified time | relevance | path

Searched refs:WasmInst (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp167 const auto *WasmInst = &InstructionTable0[Opc]; in getInstruction() local
169 if (WasmInst->ET == ET_Prefix) { in getInstruction()
170 WasmInst = nullptr; in getInstruction()
174 WasmInst = PT->Table; in getInstruction()
178 if (!WasmInst) in getInstruction()
185 WasmInst += PrefixedOpc; in getInstruction()
187 if (WasmInst->ET == ET_Unused) in getInstruction()
190 assert(WasmInst->ET == ET_Instruction); in getInstruction()
191 MI.setOpcode(WasmInst->Opcode); in getInstruction()
193 for (uint8_t OPI = 0; OPI < WasmInst->NumOperands; OPI++) { in getInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp166 const auto *WasmInst = &InstructionTable0[Opc]; in getInstruction() local
168 if (WasmInst->ET == ET_Prefix) { in getInstruction()
169 WasmInst = nullptr; in getInstruction()
173 WasmInst = PT->Table; in getInstruction()
177 if (!WasmInst) in getInstruction()
184 WasmInst += PrefixedOpc; in getInstruction()
186 if (WasmInst->ET == ET_Unused) in getInstruction()
189 assert(WasmInst->ET == ET_Instruction); in getInstruction()
190 MI.setOpcode(WasmInst->Opcode); in getInstruction()
192 for (uint8_t OPI = 0; OPI < WasmInst->NumOperands; OPI++) { in getInstruction()
[all …]