Lines Matching refs:OpsToPrint
89 PrintCases(std::vector<std::pair<std::string, AsmWriterOperand>> &OpsToPrint, in PrintCases() argument
91 O << " case " << OpsToPrint.back().first << ":"; in PrintCases()
92 AsmWriterOperand TheOp = OpsToPrint.back().second; in PrintCases()
93 OpsToPrint.pop_back(); in PrintCases()
97 for (unsigned i = OpsToPrint.size(); i != 0; --i) in PrintCases()
98 if (OpsToPrint[i - 1].second == TheOp) { in PrintCases()
99 O << "\n case " << OpsToPrint[i - 1].first << ":"; in PrintCases()
100 OpsToPrint.erase(OpsToPrint.begin() + i - 1); in PrintCases()
146 std::vector<std::pair<std::string, AsmWriterOperand>> OpsToPrint; in EmitInstructions() local
147 OpsToPrint.push_back(std::pair(FirstInst.CGI->Namespace.str() + "::" + in EmitInstructions()
152 OpsToPrint.push_back(std::pair( in EmitInstructions()
156 std::reverse(OpsToPrint.begin(), OpsToPrint.end()); in EmitInstructions()
157 while (!OpsToPrint.empty()) in EmitInstructions()
158 PrintCases(OpsToPrint, O, PassSubtarget); in EmitInstructions()