Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp5611 StringMap<unsigned> OpcodeOrder; in buildMatchTable() local
5615 if (OpcodeOrder.count(Opcode) == 0) in buildMatchTable()
5616 OpcodeOrder[Opcode] = CurrentOrdering++; in buildMatchTable()
5619 llvm::stable_sort(InputRules, [&OpcodeOrder](const Matcher *A, in buildMatchTable()
5623 return std::make_tuple(OpcodeOrder[L->getOpcode()], L->getNumOperands()) < in buildMatchTable()
5624 std::make_tuple(OpcodeOrder[R->getOpcode()], R->getNumOperands()); in buildMatchTable()