Lines Matching refs:inst_str
109 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()
233 size_t assign_sign = inst_str.find('='); in GetResultIDName()
234 name = inst_str.substr(0, assign_sign); in GetResultIDName()