Home
last modified time | relevance | path

Searched refs:opCode (Results 1 – 20 of 20) sorted by relevance

/external/deqp-deps/glslang/SPIRV/
DSPVRemapper.cpp64 const spv::Op opCode = asOpCode(word); in asOpCodeHash() local
68 switch (opCode) { in asOpCodeHash()
75 return opCode * 19 + offset; // 19 = small prime in asOpCodeHash()
78 spirvbin_t::range_t spirvbin_t::literalRange(spv::Op opCode) const in literalRange()
82 switch (opCode) { in literalRange()
97 spirvbin_t::range_t spirvbin_t::typeRange(spv::Op opCode) const in typeRange()
101 if (isConstOp(opCode)) in typeRange()
104 switch (opCode) { in typeRange()
118 spirvbin_t::range_t spirvbin_t::constRange(spv::Op opCode) const in constRange()
122 switch (opCode) { in constRange()
[all …]
Ddisassemble.cpp121 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
185 Op opCode = (Op)(firstWord & OpCodeMask); in processInstructions() local
198 if (InstructionDesc[opCode].hasType()) { in processInstructions()
205 if (InstructionDesc[opCode].hasResult()) { in processInstructions()
218 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions()
337 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument
341 out << (OpcodeString(opCode) + 2); // leave out the "Op" in disassembleInstruction()
343 if (opCode == OpLoopMerge || opCode == OpSelectionMerge) in disassembleInstruction()
345 else if (opCode == OpBranchConditional || opCode == OpSwitch) { in disassembleInstruction()
350 } else if (opCode == OpExtInstImport) { in disassembleInstruction()
[all …]
DspvIR.h94 …Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode in Instruction() argument
95 …explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullpt… in Instruction() argument
139 Op getOpCode() const { return opCode; } in getOpCode()
168 out.push_back(((wordCount) << WordCountShift) | opCode); in dump()
183 Op opCode; variable
DSPVRemapper.h173 bool isConstOp(spv::Op opCode) const;
174 bool isTypeOp(spv::Op opCode) const;
175 bool isStripOp(spv::Op opCode) const;
176 bool isFlowCtrl(spv::Op opCode) const;
177 range_t literalRange(spv::Op opCode) const;
178 range_t typeRange(spv::Op opCode) const;
179 range_t constRange(spv::Op opCode) const;
DSpvBuilder.cpp1487 void Builder::createNoResultOp(Op opCode) in createNoResultOp() argument
1489 Instruction* op = new Instruction(opCode); in createNoResultOp()
1494 void Builder::createNoResultOp(Op opCode, Id operand) in createNoResultOp() argument
1496 Instruction* op = new Instruction(opCode); in createNoResultOp()
1502 void Builder::createNoResultOp(Op opCode, const std::vector<Id>& operands) in createNoResultOp() argument
1504 Instruction* op = new Instruction(opCode); in createNoResultOp()
1512 void Builder::createNoResultOp(Op opCode, const std::vector<IdImmediate>& operands) in createNoResultOp() argument
1514 Instruction* op = new Instruction(opCode); in createNoResultOp()
1542 Id Builder::createUnaryOp(Op opCode, Id typeId, Id operand) in createUnaryOp() argument
1547 return createSpecConstantOp(opCode, typeId, std::vector<Id>(1, operand), std::vector<Id>()); in createUnaryOp()
[all …]
DGlslangToSpv.cpp5927 spv::Op opCode = spv::OpNop; local
5933 opCode = spv::OpAtomicIAdd;
5936 opCode = spv::OpAtomicISub;
5941opCode = (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) ? spv::OpAtomicUMin : …
5946opCode = (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) ? spv::OpAtomicUMax : …
5951 opCode = spv::OpAtomicAnd;
5956 opCode = spv::OpAtomicOr;
5961 opCode = spv::OpAtomicXor;
5966 opCode = spv::OpAtomicExchange;
5971 opCode = spv::OpAtomicCompareExchange;
[all …]
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java436 OpCode opCode = OpCode.find((byte) (head & 0x0F)); in read() local
440 if (opCode == null) { in read()
442 } else if (opCode.isControlFrame() && !fin) { in read()
446 WebSocketFrame frame = new WebSocketFrame(opCode, fin); in read()
460 private OpCode opCode; field in NanoWSD.WebSocketFrame
474 private WebSocketFrame(OpCode opCode, boolean fin) { in WebSocketFrame() argument
475 setOpCode(opCode); in WebSocketFrame()
479 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload) { in WebSocketFrame() argument
480 this(opCode, fin, payload, null); in WebSocketFrame()
483 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload, byte[] maskingKey) { in WebSocketFrame() argument
[all …]
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.h269 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
277 void writeInstruction(SpvOp_ opCode, OutputStream& out);
279 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
281 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
283 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
285 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, StringFragment string,
288 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
290 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3,
293 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4,
296 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4,
[all …]
DSkSLSPIRVCodeGenerator.cpp181 void SPIRVCodeGenerator::writeOpCode(SpvOp_ opCode, int length, OutputStream& out) { in writeOpCode() argument
182 SkASSERT(opCode != SpvOpLoad || &out != &fConstantBuffer); in writeOpCode()
183 SkASSERT(opCode != SpvOpUndef); in writeOpCode()
184 switch (opCode) { in writeOpCode()
229 this->writeWord((length << 16) | opCode, out); in writeOpCode()
237 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, OutputStream& out) { in writeInstruction() argument
238 this->writeOpCode(opCode, 1, out); in writeInstruction()
241 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out) { in writeInstruction() argument
242 this->writeOpCode(opCode, 2, out); in writeInstruction()
263 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out) { in writeInstruction() argument
[all …]
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.h321 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
329 void writeInstruction(SpvOp_ opCode, OutputStream& out);
331 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
333 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
335 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
337 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, StringFragment string,
340 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
342 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3,
345 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4,
348 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4,
[all …]
DSkSLSPIRVCodeGenerator.cpp180 void SPIRVCodeGenerator::writeOpCode(SpvOp_ opCode, int length, OutputStream& out) { in writeOpCode() argument
181 SkASSERT(opCode != SpvOpLoad || &out != &fConstantBuffer); in writeOpCode()
182 SkASSERT(opCode != SpvOpUndef); in writeOpCode()
183 switch (opCode) { in writeOpCode()
228 this->writeWord((length << 16) | opCode, out); in writeOpCode()
236 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, OutputStream& out) { in writeInstruction() argument
237 this->writeOpCode(opCode, 1, out); in writeInstruction()
240 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out) { in writeInstruction() argument
241 this->writeOpCode(opCode, 2, out); in writeInstruction()
262 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out) { in writeInstruction() argument
[all …]
/external/capstone/arch/PowerPC/
DPPCInstPrinter.c746 const char *opCode; in printAliasInstrEx() local
756 opCode = "b%s"; in printAliasInstrEx()
759 opCode = "b%sa"; in printAliasInstrEx()
762 opCode = "b%sctr"; in printAliasInstrEx()
765 opCode = "b%sctrl"; in printAliasInstrEx()
768 opCode = "b%sl"; in printAliasInstrEx()
771 opCode = "b%sla"; in printAliasInstrEx()
774 opCode = "b%slr"; in printAliasInstrEx()
777 opCode = "b%slrl"; in printAliasInstrEx()
785 SStream_concat(&ss, opCode, "dnzf"); in printAliasInstrEx()
[all …]
/external/python/cpython2/Mac/Modules/cg/
DCFMLateImport.c292 UInt8 opCode; in UnpackPEFDataSection() local
312 opCode = packedData[offset]; in UnpackPEFDataSection()
314 switch (PEFPkDataOpcode(opCode)) { in UnpackPEFDataSection()
890 UInt16 opCode; in RunRelocationEngine() local
972 opCode = relocInstrTable[state.currentReloc]; in RunRelocationEngine()
973 switch ( PEFRelocBasicOpcode(opCode) ) { in RunRelocationEngine()
979 skipCount = ((opCode >> 6) & 0x00FF); in RunRelocationEngine()
980 relocCount = (opCode & 0x003F); in RunRelocationEngine()
990 runLength = (opCode & 0x01FF) + 1; in RunRelocationEngine()
998 runLength = (opCode & 0x01FF) + 1; in RunRelocationEngine()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp787 static bool isSupportedCmpOp(unsigned opCode) { in isSupportedCmpOp() argument
788 return (opCode == PPC::CMPLD || opCode == PPC::CMPD || in isSupportedCmpOp()
789 opCode == PPC::CMPLW || opCode == PPC::CMPW || in isSupportedCmpOp()
790 opCode == PPC::CMPLDI || opCode == PPC::CMPDI || in isSupportedCmpOp()
791 opCode == PPC::CMPLWI || opCode == PPC::CMPWI); in isSupportedCmpOp()
794 static bool is64bitCmpOp(unsigned opCode) { in is64bitCmpOp() argument
795 return (opCode == PPC::CMPLD || opCode == PPC::CMPD || in is64bitCmpOp()
796 opCode == PPC::CMPLDI || opCode == PPC::CMPDI); in is64bitCmpOp()
799 static bool isSignedCmpOp(unsigned opCode) { in isSignedCmpOp() argument
800 return (opCode == PPC::CMPD || opCode == PPC::CMPW || in isSignedCmpOp()
[all …]
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m843 - (void)_handleFrameWithData:(NSData *)frameData opCode:(NSInteger)opcode;
917 [self _handleFrameWithData:curData opCode:frame_header.opcode];
920 [self _handleFrameWithData:_currentFrameData opCode:frame_header.opcode];
930 [self _handleFrameWithData:newData opCode:frame_header.opcode];
933 [self _handleFrameWithData:self->_currentFrameData opCode:frame_header.opcode];
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp997 static bool isStoreInst(unsigned opCode) { in isStoreInst() argument
998 switch (opCode) { in isStoreInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp1015 static bool isStoreInst(unsigned opCode) { in isStoreInst() argument
1016 switch (opCode) { in isStoreInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1225 static MCInst makeCombineInst(int opCode, MCOperand &Rdd, MCOperand &MO1, in makeCombineInst() argument
1228 TmpInst.setOpcode(opCode); in makeCombineInst()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1460 MCInst makeCombineInst(int opCode, MCOperand &Rdd, in makeCombineInst() argument
1463 TmpInst.setOpcode(opCode); in makeCombineInst()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp419 const char* opCode; member
424 , opCode (_opCode) in OpFUnordCase()
516 specializations["OPCODE"] = cases[caseNdx].opCode; in createOpFUnordGroup()
9927 const char* opCode; in createFloat16LogicalSet() member
10032 const string testName = de::toLower(string(testOp.opCode)) + "_scalar"; in createFloat16LogicalSet()
10040 specs["op_code"] = testOp.opCode; in createFloat16LogicalSet()
10158 const string testName = de::toLower(string(testOp.opCode)) + "_vector"; in createFloat16LogicalSet()
10166 specs["op_code"] = testOp.opCode; in createFloat16LogicalSet()
10623 const char* opCode; in createDerivativeTests() member
10732 const string testName = de::toLower(string(testOp.opCode)); in createDerivativeTests()
[all …]