Lines Matching refs:InstrMapDesc
176 InstrMap InstrMapDesc; member in __anon2178d1ed0211::MapTableEmitter
192 Target(Target), InstrMapDesc(IMRec) { in MapTableEmitter()
193 const std::string &FilterClass = InstrMapDesc.getFilterClass(); in MapTableEmitter()
233 ListInit *RowFields = InstrMapDesc.getRowFields(); in buildRowInstrMap()
259 ListInit *ColFields = InstrMapDesc.getColFields(); in isKeyColInstr()
260 ListInit *KeyCol = InstrMapDesc.getKeyCol(); in isKeyColInstr()
282 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in buildMapTable()
303 ListInit *RowFields = InstrMapDesc.getRowFields(); in getInstrForColumn()
318 ListInit *ColFields = InstrMapDesc.getColFields(); in getInstrForColumn()
344 "', for the relation `" + InstrMapDesc.getName() + in getInstrForColumn()
365 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in emitBinSearchTable()
370 OS << "static const uint16_t "<<InstrMapDesc.getName(); in emitBinSearchTable()
401 OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n"; in emitBinSearchTable()
416 OS << " if (Opcode == " << InstrMapDesc.getName() << "Table[mid][0]) {\n"; in emitBinSearch()
419 OS << " if (Opcode < " << InstrMapDesc.getName() << "Table[mid][0])\n"; in emitBinSearch()
435 ListInit *ColFields = InstrMapDesc.getColFields(); in emitMapFuncBody()
436 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in emitMapFuncBody()
456 OS << " return " << InstrMapDesc.getName(); in emitMapFuncBody()
462 OS << " return " << InstrMapDesc.getName() << "Table[mid][1];\n"; in emitMapFuncBody()
478 ListInit *ColFields = InstrMapDesc.getColFields(); in emitTablesWithFunc()
479 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in emitTablesWithFunc()
480 OS << "// "<< InstrMapDesc.getName() << "\nLLVM_READONLY\n"; in emitTablesWithFunc()
481 OS << "int "<< InstrMapDesc.getName() << "(uint16_t Opcode"; in emitTablesWithFunc()