Lines Matching refs:Opc
414 void SingletonExists(unsigned Opc) const;
432 unsigned Opc) const;
434 bool doesOpcodeNeedPredicate(unsigned Opc) const;
437 unsigned Opc) const;
440 unsigned Opc) const;
444 unsigned Opc) const;
453 void emitDecoder(raw_ostream &OS, unsigned Indentation, unsigned Opc) const;
454 unsigned getDecoderIndex(DecoderSet &Decoders, unsigned Opc) const;
790 unsigned Opc = decodeULEB128(Buffer); in emitTable() local
802 << NumberedInstructions->at(Opc)->TheDef->getName() << "\n"; in emitTable()
951 void FilterChooser::SingletonExists(unsigned Opc) const { in SingletonExists()
953 insnWithID(Insn0, Opc); in SingletonExists()
955 errs() << "Singleton exists: " << nameWithID(Opc) in SingletonExists()
958 if (Opcodes[i] == Opc) continue; in SingletonExists()
1062 unsigned Opc) const { in emitDecoder()
1063 for (const auto &Op : Operands.find(Opc)->second) { in emitDecoder()
1077 unsigned Opc) const { in getDecoderIndex()
1084 emitDecoder(S, I, Opc); in getDecoderIndex()
1112 unsigned Opc) const { in emitPredicateMatch()
1114 AllInstructions[Opc]->TheDef->getValueAsListInit("Predicates"); in emitPredicateMatch()
1142 bool FilterChooser::doesOpcodeNeedPredicate(unsigned Opc) const { in doesOpcodeNeedPredicate()
1144 AllInstructions[Opc]->TheDef->getValueAsListInit("Predicates"); in doesOpcodeNeedPredicate()
1178 unsigned Opc) const { in emitPredicateTableEntry()
1179 if (!doesOpcodeNeedPredicate(Opc)) in emitPredicateTableEntry()
1188 emitPredicateMatch(PS, I, Opc); in emitPredicateTableEntry()
1209 unsigned Opc) const { in emitSoftFailTableEntry()
1211 AllInstructions[Opc]->TheDef->getValueAsBitsInit("SoftFail"); in emitSoftFailTableEntry()
1213 BitsInit *InstBits = AllInstructions[Opc]->TheDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry()
1234 StringRef Name = AllInstructions[Opc]->TheDef->getName(); in emitSoftFailTableEntry()
1273 unsigned Opc) const { in emitSingletonTableEntry()
1278 insnWithID(Insn, Opc); in emitSingletonTableEntry()
1286 emitPredicateTableEntry(TableInfo, Opc); in emitSingletonTableEntry()
1309 emitSoftFailTableEntry(TableInfo, Opc); in emitSingletonTableEntry()
1313 encodeULEB128(Opc, Buffer); in emitSingletonTableEntry()
1318 unsigned DIdx = getDecoderIndex(TableInfo.Decoders, Opc); in emitSingletonTableEntry()
1332 unsigned Opc = Best.getSingletonOpc(); in emitSingletonTableEntry() local
1338 emitSingletonTableEntry(TableInfo, Opc); in emitSingletonTableEntry()
1666 const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction() argument
1683 Operands[Opc] = InsnOperands; in populateInstruction()
1965 Operands[Opc] = InsnOperands; in populateInstruction()
2171 for (const auto &Opc : OpcMap) { in run() local
2173 FilterChooser FC(*NumberedInstructions, Opc.second, Operands, in run()
2174 8*Opc.first.second, this); in run()
2195 emitTable(OS, TableInfo.Table, 0, FC.getBitWidth(), Opc.first.first); in run()