Home
last modified time | relevance | path

Searched refs:InstIdxs (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmWriterEmitter.cpp107 std::vector<unsigned> &InstIdxs, in FindUniqueOperandCommands() argument
109 InstIdxs.assign(NumberedInstructions.size(), ~0U); in FindUniqueOperandCommands()
133 InstIdxs[i] = idx; in FindUniqueOperandCommands()
140 InstIdxs[i] = UniqueOperandCommands.size(); in FindUniqueOperandCommands()
158 std::find(InstIdxs.begin(), InstIdxs.end(), CommandIdx); in FindUniqueOperandCommands()
159 if (NIT == InstIdxs.end()) break; // No commonality. in FindUniqueOperandCommands()
164 getAsmWriterInstByID(NIT-InstIdxs.begin()); in FindUniqueOperandCommands()
175 for (NIT = std::find(NIT+1, InstIdxs.end(), CommandIdx); in FindUniqueOperandCommands()
176 NIT != InstIdxs.end(); in FindUniqueOperandCommands()
177 NIT = std::find(NIT+1, InstIdxs.end(), CommandIdx)) { in FindUniqueOperandCommands()
[all …]
DAsmWriterEmitter.h52 std::vector<unsigned> &InstIdxs,
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp53 std::vector<std::vector<unsigned>> &InstIdxs,
140 std::vector<std::vector<unsigned>> &InstIdxs, in FindUniqueOperandCommands() argument
166 InstIdxs[idx].push_back(i); in FindUniqueOperandCommands()
170 InstIdxs.emplace_back(); in FindUniqueOperandCommands()
171 InstIdxs.back().push_back(i); in FindUniqueOperandCommands()
184 const auto &Idxs = InstIdxs[CommandIdx]; in FindUniqueOperandCommands()
322 std::vector<std::vector<unsigned>> InstIdxs; in EmitPrintInstruction() local
324 FindUniqueOperandCommands(UniqueOperandCommands, InstIdxs, in EmitPrintInstruction()
342 for (size_t i = 0, e = InstIdxs.size(); i != e; ++i) { in EmitPrintInstruction()
344 for (unsigned Idx : InstIdxs[i]) { in EmitPrintInstruction()