Lines Matching refs:InstrMapDesc
187 InstrMap InstrMapDesc; member in __anon6384867b0211::MapTableEmitter
203 Target(Target), InstrMapDesc(IMRec) { in MapTableEmitter()
204 const std::string FilterClass = InstrMapDesc.getFilterClass(); in MapTableEmitter()
244 ListInit *RowFields = InstrMapDesc.getRowFields(); in buildRowInstrMap()
270 ListInit *ColFields = InstrMapDesc.getColFields(); in isKeyColInstr()
271 ListInit *KeyCol = InstrMapDesc.getKeyCol(); in isKeyColInstr()
293 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in buildMapTable()
314 ListInit *RowFields = InstrMapDesc.getRowFields(); in getInstrForColumn()
329 ListInit *ColFields = InstrMapDesc.getColFields(); in getInstrForColumn()
356 "', for the relation `" + InstrMapDesc.getName() + "', row fields [" + in getInstrForColumn()
376 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in emitBinSearchTable()
381 OS << "static const uint16_t "<<InstrMapDesc.getName(); in emitBinSearchTable()
412 OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n"; in emitBinSearchTable()
427 OS << " if (Opcode == " << InstrMapDesc.getName() << "Table[mid][0]) {\n"; in emitBinSearch()
430 OS << " if (Opcode < " << InstrMapDesc.getName() << "Table[mid][0])\n"; in emitBinSearch()
446 ListInit *ColFields = InstrMapDesc.getColFields(); in emitMapFuncBody()
447 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in emitMapFuncBody()
465 OS << " return " << InstrMapDesc.getName(); in emitMapFuncBody()
471 OS << " return " << InstrMapDesc.getName() << "Table[mid][1];\n"; in emitMapFuncBody()
487 ListInit *ColFields = InstrMapDesc.getColFields(); in emitTablesWithFunc()
488 const std::vector<ListInit*> &ValueCols = InstrMapDesc.getValueCols(); in emitTablesWithFunc()
489 OS << "// "<< InstrMapDesc.getName() << "\nLLVM_READONLY\n"; in emitTablesWithFunc()
490 OS << "int "<< InstrMapDesc.getName() << "(uint16_t Opcode"; in emitTablesWithFunc()