Home
last modified time | relevance | path

Searched refs:inst_str (Results 1 - 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dassembly_builder.h109 for (auto& inst_str : vec_asm_code) { in AppendNames()
110 if (inst_str.find("OpName ") == 0) { in AppendNames()
111 names_.push_back(inst_str); in AppendNames()
126 for (auto& inst_str : vec_asm_code) { in AppendTypesConstantsGlobals()
127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
130 AddSpecIDFor(GetResultIDName(inst_str)); in AppendTypesConstantsGlobals()
230 std::string GetResultIDName(const std::string inst_str) { in GetResultIDName() argument
232 if (inst_str in GetResultIDName()
[all...]
H A Dunify_const_test.cpp83 std::string inst_str; in StripOpNameInstructionsToSet() local
85 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructionsToSet()
86 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructionsToSet()
87 oss << inst_str << '\n'; in StripOpNameInstructionsToSet() local
89 opname_instructions.insert(inst_str); in StripOpNameInstructionsToSet()
H A Dfold_spec_const_op_composite_test.cpp190 std::string inst_str; in StripOpNameInstructions() local
191 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructions()
192 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructions()
193 oss << inst_str << '\n'; in StripOpNameInstructions() local
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dassembly_builder.h109 for (auto& inst_str : vec_asm_code) { in AppendNames()
110 if (inst_str.find("OpName ") == 0) { in AppendNames()
111 names_.push_back(inst_str); in AppendNames()
126 for (auto& inst_str : vec_asm_code) { in AppendTypesConstantsGlobals()
127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
130 AddSpecIDFor(GetResultIDName(inst_str)); in AppendTypesConstantsGlobals()
230 std::string GetResultIDName(const std::string inst_str) { in GetResultIDName() argument
232 if (inst_str in GetResultIDName()
[all...]
H A Dunify_const_test.cpp83 std::string inst_str; in StripOpNameInstructionsToSet() local
85 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructionsToSet()
86 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructionsToSet()
87 oss << inst_str << '\n'; in StripOpNameInstructionsToSet() local
89 opname_instructions.insert(inst_str); in StripOpNameInstructionsToSet()
H A Dfold_spec_const_op_composite_test.cpp190 std::string inst_str; in StripOpNameInstructions() local
191 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructions()
192 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructions()
193 oss << inst_str << '\n'; in StripOpNameInstructions() local
/third_party/spirv-tools/test/opt/
H A Dassembly_builder.h109 for (auto& inst_str : vec_asm_code) { in AppendNames()
110 if (inst_str.find("OpName ") == 0) { in AppendNames()
111 names_.push_back(inst_str); in AppendNames()
126 for (auto& inst_str : vec_asm_code) { in AppendTypesConstantsGlobals()
127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
130 AddSpecIDFor(GetResultIDName(inst_str)); in AppendTypesConstantsGlobals()
230 std::string GetResultIDName(const std::string inst_str) { in GetResultIDName() argument
232 if (inst_str in GetResultIDName()
[all...]
H A Dunify_const_test.cpp83 std::string inst_str; in StripOpNameInstructionsToSet() local
85 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructionsToSet()
86 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructionsToSet()
87 oss << inst_str << '\n'; in StripOpNameInstructionsToSet() local
89 opname_instructions.insert(inst_str); in StripOpNameInstructionsToSet()
H A Dfold_spec_const_op_composite_test.cpp784 std::string inst_str; in StripOpNameInstructions() local
785 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructions()
786 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructions()
787 oss << inst_str << '\n'; in StripOpNameInstructions() local
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c359 * Initialize a normal instruction based on inst_str.
365 * @param inst_str A string that represents the source register. The format for
372 const char * inst_str) in parse_rc_normal_instruction()
380 if (!regex_helper(regex_str, inst_str, matches, REGEX_INST_MATCHES)) { in parse_rc_normal_instruction()
386 tokens.Opcode.String = inst_str + matches[1].rm_so; in parse_rc_normal_instruction()
389 tokens.Sat.String = inst_str + matches[2].rm_so; in parse_rc_normal_instruction()
407 tokens.Dst.String = inst_str + matches[3].rm_so; in parse_rc_normal_instruction()
420 inst_str + matches[first_src + j].rm_so; in parse_rc_normal_instruction()
451 const char * inst_str) in init_rc_normal_instruction()
456 return parse_rc_normal_instruction(inst, inst_str); in init_rc_normal_instruction()
370 parse_rc_normal_instruction( struct rc_instruction * inst, const char * inst_str) parse_rc_normal_instruction() argument
449 init_rc_normal_instruction( struct rc_instruction * inst, const char * inst_str) init_rc_normal_instruction() argument
[all...]
H A Drc_test_helpers.h50 const char * inst_str);
56 const char * inst_str);

Completed in 12 milliseconds