Lines Matching refs:InstrMapDesc

176   InstrMap InstrMapDesc;  member in __anoncf6d0a160211::MapTableEmitter
192 : Target(Target), InstrMapDesc(IMRec) { in MapTableEmitter()
193 const std::string &FilterClass = InstrMapDesc.getFilterClass(); in MapTableEmitter()
231 ListInit *RowFields = InstrMapDesc.getRowFields(); in buildRowInstrMap()
258 ListInit *ColFields = InstrMapDesc.getColFields(); in isKeyColInstr()
259 ListInit *KeyCol = InstrMapDesc.getKeyCol(); in isKeyColInstr()
281 const std::vector<ListInit *> &ValueCols = InstrMapDesc.getValueCols(); in buildMapTable()
302 ListInit *RowFields = InstrMapDesc.getRowFields(); in getInstrForColumn()
317 ListInit *ColFields = InstrMapDesc.getColFields(); in getInstrForColumn()
343 "', for the relation `" + InstrMapDesc.getName() + in getInstrForColumn()
364 const std::vector<ListInit *> &ValueCols = InstrMapDesc.getValueCols(); in emitBinSearchTable()
369 OS << "static const uint16_t " << InstrMapDesc.getName(); in emitBinSearchTable()
404 OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n"; in emitBinSearchTable()
419 OS << " if (Opcode == " << InstrMapDesc.getName() << "Table[mid][0]) {\n"; in emitBinSearch()
422 OS << " if (Opcode < " << InstrMapDesc.getName() << "Table[mid][0])\n"; in emitBinSearch()
437 ListInit *ColFields = InstrMapDesc.getColFields(); in emitMapFuncBody()
438 const std::vector<ListInit *> &ValueCols = InstrMapDesc.getValueCols(); in emitMapFuncBody()
458 OS << " return " << InstrMapDesc.getName(); in emitMapFuncBody()
463 OS << " return " << InstrMapDesc.getName() << "Table[mid][1];\n"; in emitMapFuncBody()
479 ListInit *ColFields = InstrMapDesc.getColFields(); in emitTablesWithFunc()
480 const std::vector<ListInit *> &ValueCols = InstrMapDesc.getValueCols(); in emitTablesWithFunc()
481 OS << "// " << InstrMapDesc.getName() << "\nLLVM_READONLY\n"; in emitTablesWithFunc()
482 OS << "int " << InstrMapDesc.getName() << "(uint16_t Opcode"; in emitTablesWithFunc()