Lines Matching refs:UniqueOperandCommands
139 FindUniqueOperandCommands(std::vector<std::string> &UniqueOperandCommands, in FindUniqueOperandCommands() argument
148 InstrsForCase.resize(UniqueOperandCommands.size()); in FindUniqueOperandCommands()
149 InstOpsUsed.assign(UniqueOperandCommands.size(), 0); in FindUniqueOperandCommands()
160 auto I = std::find(UniqueOperandCommands.begin(), in FindUniqueOperandCommands()
161 UniqueOperandCommands.end(), Command); in FindUniqueOperandCommands()
162 if (I != UniqueOperandCommands.end()) { in FindUniqueOperandCommands()
163 size_t idx = I - UniqueOperandCommands.begin(); in FindUniqueOperandCommands()
168 UniqueOperandCommands.push_back(std::move(Command)); in FindUniqueOperandCommands()
181 for (size_t CommandIdx = 0, e = UniqueOperandCommands.size(); in FindUniqueOperandCommands()
209 UniqueOperandCommands[CommandIdx] += Command; in FindUniqueOperandCommands()
223 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
224 UniqueOperandCommands[i]; in FindUniqueOperandCommands()
321 std::vector<std::string> UniqueOperandCommands; in EmitPrintInstruction() local
324 FindUniqueOperandCommands(UniqueOperandCommands, InstIdxs, in EmitPrintInstruction()
328 if (UniqueOperandCommands.empty()) break; in EmitPrintInstruction()
332 unsigned NumBits = Log2_32_Ceil(UniqueOperandCommands.size()); in EmitPrintInstruction()
360 TableDrivenOperandPrinters.push_back(std::move(UniqueOperandCommands)); in EmitPrintInstruction()