Lines Matching refs:opCode

183 static SkString opcode_text(SpvOp_ opCode) {  in opcode_text()  argument
184 switch (opCode) { in opcode_text()
779 void SPIRVCodeGenerator::writeOpCode(SpvOp_ opCode, int length, SkWStream& out) { in writeOpCode() argument
780 ASSERT(opCode != SpvOpUndef); in writeOpCode()
781 switch (opCode) { in writeOpCode()
827 out << std::endl << opcode_text(opCode) << " "; in writeOpCode()
829 this->writeWord((length << 16) | opCode, out); in writeOpCode()
838 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, SkWStream& out) { in writeInstruction() argument
839 this->writeOpCode(opCode, 1, out); in writeInstruction()
842 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, SkWStream& out) { in writeInstruction() argument
843 this->writeOpCode(opCode, 2, out); in writeInstruction()
865 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, const char* string, SkWStream& out) { in writeInstruction() argument
867 this->writeOpCode(opCode, 1 + (length + 4) / 4, out); in writeInstruction()
872 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, const char* string, in writeInstruction() argument
875 this->writeOpCode(opCode, 2 + (length + 4) / 4, out); in writeInstruction()
880 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
883 this->writeOpCode(opCode, 3 + (length + 4) / 4, out); in writeInstruction()
889 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
891 this->writeOpCode(opCode, 3, out); in writeInstruction()
896 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
898 this->writeOpCode(opCode, 4, out); in writeInstruction()
904 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
906 this->writeOpCode(opCode, 5, out); in writeInstruction()
913 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
916 this->writeOpCode(opCode, 6, out); in writeInstruction()
924 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
927 this->writeOpCode(opCode, 7, out); in writeInstruction()
936 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
939 this->writeOpCode(opCode, 8, out); in writeInstruction()
949 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, in writeInstruction() argument
953 this->writeOpCode(opCode, 9, out); in writeInstruction()