/external/deqp-deps/glslang/SPIRV/ |
D | SPVRemapper.cpp | 64 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 …]
|
D | disassemble.cpp | 105 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands); 169 Op opCode = (Op)(firstWord & OpCodeMask); in processInstructions() local 182 if (InstructionDesc[opCode].hasType()) { in processInstructions() 189 if (InstructionDesc[opCode].hasResult()) { in processInstructions() 202 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions() 321 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument 325 out << (OpcodeString(opCode) + 2); // leave out the "Op" in disassembleInstruction() 327 if (opCode == OpLoopMerge || opCode == OpSelectionMerge) in disassembleInstruction() 329 else if (opCode == OpBranchConditional || opCode == OpSwitch) { in disassembleInstruction() 334 } else if (opCode == OpExtInstImport) { in disassembleInstruction() [all …]
|
D | SPVRemapper.h | 173 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;
|
D | SpvBuilder.cpp | 1590 void Builder::createNoResultOp(Op opCode) in createNoResultOp() argument 1592 Instruction* op = new Instruction(opCode); in createNoResultOp() 1597 void Builder::createNoResultOp(Op opCode, Id operand) in createNoResultOp() argument 1599 Instruction* op = new Instruction(opCode); in createNoResultOp() 1605 void Builder::createNoResultOp(Op opCode, const std::vector<Id>& operands) in createNoResultOp() argument 1607 Instruction* op = new Instruction(opCode); in createNoResultOp() 1615 void Builder::createNoResultOp(Op opCode, const std::vector<IdImmediate>& operands) in createNoResultOp() argument 1617 Instruction* op = new Instruction(opCode); in createNoResultOp() 1645 Id Builder::createUnaryOp(Op opCode, Id typeId, Id operand) in createUnaryOp() argument 1650 return createSpecConstantOp(opCode, typeId, std::vector<Id>(1, operand), std::vector<Id>()); in createUnaryOp() [all …]
|
D | spvIR.h | 95 …Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode… in Instruction() argument 96 …explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullpt… in Instruction() argument 140 Op getOpCode() const { return opCode; } in getOpCode() 169 out.push_back(((wordCount) << WordCountShift) | opCode); in dump() 184 Op opCode; variable
|
D | GlslangToSpv.cpp | 6651 spv::Op opCode = spv::OpNop; in createAtomicOperation() local 6657 opCode = spv::OpAtomicIAdd; in createAtomicOperation() 6660 opCode = spv::OpAtomicISub; in createAtomicOperation() 6665 opCode = (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) ? in createAtomicOperation() 6671 opCode = (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) ? in createAtomicOperation() 6677 opCode = spv::OpAtomicAnd; in createAtomicOperation() 6682 opCode = spv::OpAtomicOr; in createAtomicOperation() 6687 opCode = spv::OpAtomicXor; in createAtomicOperation() 6692 opCode = spv::OpAtomicExchange; in createAtomicOperation() 6697 opCode = spv::OpAtomicCompareExchange; in createAtomicOperation() [all …]
|
/external/angle/third_party/glslang/src/SPIRV/ |
D | SPVRemapper.cpp | 64 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 …]
|
D | disassemble.cpp | 105 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands); 169 Op opCode = (Op)(firstWord & OpCodeMask); in processInstructions() local 182 if (InstructionDesc[opCode].hasType()) { in processInstructions() 189 if (InstructionDesc[opCode].hasResult()) { in processInstructions() 202 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions() 321 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument 325 out << (OpcodeString(opCode) + 2); // leave out the "Op" in disassembleInstruction() 327 if (opCode == OpLoopMerge || opCode == OpSelectionMerge) in disassembleInstruction() 329 else if (opCode == OpBranchConditional || opCode == OpSwitch) { in disassembleInstruction() 334 } else if (opCode == OpExtInstImport) { in disassembleInstruction() [all …]
|
D | SPVRemapper.h | 173 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;
|
D | SpvBuilder.cpp | 1590 void Builder::createNoResultOp(Op opCode) in createNoResultOp() argument 1592 Instruction* op = new Instruction(opCode); in createNoResultOp() 1597 void Builder::createNoResultOp(Op opCode, Id operand) in createNoResultOp() argument 1599 Instruction* op = new Instruction(opCode); in createNoResultOp() 1605 void Builder::createNoResultOp(Op opCode, const std::vector<Id>& operands) in createNoResultOp() argument 1607 Instruction* op = new Instruction(opCode); in createNoResultOp() 1615 void Builder::createNoResultOp(Op opCode, const std::vector<IdImmediate>& operands) in createNoResultOp() argument 1617 Instruction* op = new Instruction(opCode); in createNoResultOp() 1645 Id Builder::createUnaryOp(Op opCode, Id typeId, Id operand) in createUnaryOp() argument 1650 return createSpecConstantOp(opCode, typeId, std::vector<Id>(1, operand), std::vector<Id>()); in createUnaryOp() [all …]
|
D | spvIR.h | 95 …Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode… in Instruction() argument 96 …explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullpt… in Instruction() argument 140 Op getOpCode() const { return opCode; } in getOpCode() 169 out.push_back(((wordCount) << WordCountShift) | opCode); in dump() 184 Op opCode; variable
|
D | GlslangToSpv.cpp | 6651 spv::Op opCode = spv::OpNop; in createAtomicOperation() local 6657 opCode = spv::OpAtomicIAdd; in createAtomicOperation() 6660 opCode = spv::OpAtomicISub; in createAtomicOperation() 6665 opCode = (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) ? in createAtomicOperation() 6671 opCode = (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) ? in createAtomicOperation() 6677 opCode = spv::OpAtomicAnd; in createAtomicOperation() 6682 opCode = spv::OpAtomicOr; in createAtomicOperation() 6687 opCode = spv::OpAtomicXor; in createAtomicOperation() 6692 opCode = spv::OpAtomicExchange; in createAtomicOperation() 6697 opCode = spv::OpAtomicCompareExchange; in createAtomicOperation() [all …]
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | NanoWSD.java | 436 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/ |
D | SkSLSPIRVCodeGenerator.h | 269 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 …]
|
D | SkSLSPIRVCodeGenerator.cpp | 181 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/ |
D | SkSLSPIRVCodeGenerator.h | 323 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out); 331 void writeInstruction(SpvOp_ opCode, OutputStream& out); 333 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out); 335 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out); 337 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out); 339 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, StringFragment string, 342 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out); 344 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, 347 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4, 350 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4, [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 186 void SPIRVCodeGenerator::writeOpCode(SpvOp_ opCode, int length, OutputStream& out) { in writeOpCode() argument 187 SkASSERT(opCode != SpvOpLoad || &out != &fConstantBuffer); in writeOpCode() 188 SkASSERT(opCode != SpvOpUndef); in writeOpCode() 189 switch (opCode) { in writeOpCode() 235 this->writeWord((length << 16) | opCode, out); in writeOpCode() 243 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, OutputStream& out) { in writeInstruction() argument 244 this->writeOpCode(opCode, 1, out); in writeInstruction() 247 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out) { in writeInstruction() argument 248 this->writeOpCode(opCode, 2, out); in writeInstruction() 269 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out) { in writeInstruction() argument [all …]
|
/external/capstone/arch/PowerPC/ |
D | PPCInstPrinter.c | 746 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/ |
D | CFMLateImport.c | 292 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/ |
D | PPCMIPeephole.cpp | 787 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/angle/src/libANGLE/renderer/ |
D | glslang_wrapper_utils.cpp | 1158 const uint32_t opCode = GetSpirvInstructionOp(instruction); in resolveVariableIds() local 1160 switch (opCode) in resolveVariableIds() 1194 const uint32_t opCode = GetSpirvInstructionOp(instruction); in transformInstruction() local 1199 if (opCode == spv::OpFunction) in transformInstruction() 1212 switch (opCode) in transformInstruction() 1227 switch (opCode) in transformInstruction()
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/ |
D | SRWebSocket.m | 843 - (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/ |
D | HexagonMCDuplexInfo.cpp | 997 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/ |
D | HexagonMCDuplexInfo.cpp | 1015 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/ |
D | HexagonAsmParser.cpp | 1225 static MCInst makeCombineInst(int opCode, MCOperand &Rdd, MCOperand &MO1, in makeCombineInst() argument 1228 TmpInst.setOpcode(opCode); in makeCombineInst()
|