Home
last modified time | relevance | path

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

/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
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.find('=') != std::string::npos) { in GetResultIDName()
[all …]
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()
89 opname_instructions.insert(inst_str); in StripOpNameInstructionsToSet()
Dfold_spec_const_op_composite_test.cpp759 std::string inst_str; in StripOpNameInstructions() local
760 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructions()
761 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructions()
762 oss << inst_str << '\n'; in StripOpNameInstructions()
/external/deqp-deps/SPIRV-Tools/test/opt/
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.find('=') != std::string::npos) { in GetResultIDName()
[all …]
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()
89 opname_instructions.insert(inst_str); in StripOpNameInstructionsToSet()
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()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
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.find('=') != std::string::npos) { in GetResultIDName()
[all …]
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()
89 opname_instructions.insert(inst_str); in StripOpNameInstructionsToSet()
Dfold_spec_const_op_composite_test.cpp759 std::string inst_str; in StripOpNameInstructions() local
760 while (std::getline(ss, inst_str, '\n')) { in StripOpNameInstructions()
761 if (inst_str.find("OpName %") == std::string::npos) { in StripOpNameInstructions()
762 oss << inst_str << '\n'; in StripOpNameInstructions()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c371 const char * inst_str) in parse_rc_normal_instruction() argument
379 if (!regex_helper(regex_str, inst_str, matches, REGEX_INST_MATCHES)) { in parse_rc_normal_instruction()
385 tokens.Opcode.String = inst_str + matches[1].rm_so; in parse_rc_normal_instruction()
388 tokens.Sat.String = inst_str + matches[2].rm_so; in parse_rc_normal_instruction()
406 tokens.Dst.String = inst_str + matches[3].rm_so; in parse_rc_normal_instruction()
419 inst_str + matches[first_src + j].rm_so; in parse_rc_normal_instruction()
450 const char * inst_str) in init_rc_normal_instruction() argument
455 return parse_rc_normal_instruction(inst, inst_str); in init_rc_normal_instruction()
Drc_test_helpers.h50 const char * inst_str);
56 const char * inst_str);