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;
454 void emitDecoder(raw_ostream &OS, unsigned Indentation, unsigned Opc,
456 unsigned getDecoderIndex(DecoderSet &Decoders, unsigned Opc,
795 unsigned Opc = decodeULEB128(Buffer); in emitTable() local
809 << NumberedInstructions->at(Opc)->TheDef->getName() << "\n"; in emitTable()
824 << NumberedInstructions->at(Opc)->TheDef->getName() in emitTable()
975 void FilterChooser::SingletonExists(unsigned Opc) const { in SingletonExists()
977 insnWithID(Insn0, Opc); in SingletonExists()
979 errs() << "Singleton exists: " << nameWithID(Opc) in SingletonExists()
982 if (Opcodes[i] == Opc) continue; in SingletonExists()
1091 unsigned Opc, bool &HasCompleteDecoder) const { in emitDecoder() argument
1094 for (const auto &Op : Operands.find(Opc)->second) { in emitDecoder()
1114 unsigned Opc, in getDecoderIndex() argument
1122 emitDecoder(S, I, Opc, HasCompleteDecoder); in getDecoderIndex()
1149 unsigned Opc) const { in emitPredicateMatch()
1151 AllInstructions[Opc]->TheDef->getValueAsListInit("Predicates"); in emitPredicateMatch()
1179 bool FilterChooser::doesOpcodeNeedPredicate(unsigned Opc) const { in doesOpcodeNeedPredicate()
1181 AllInstructions[Opc]->TheDef->getValueAsListInit("Predicates"); in doesOpcodeNeedPredicate()
1215 unsigned Opc) const { in emitPredicateTableEntry()
1216 if (!doesOpcodeNeedPredicate(Opc)) in emitPredicateTableEntry()
1225 emitPredicateMatch(PS, I, Opc); in emitPredicateTableEntry()
1245 unsigned Opc) const { in emitSoftFailTableEntry()
1247 AllInstructions[Opc]->TheDef->getValueAsBitsInit("SoftFail"); in emitSoftFailTableEntry()
1249 BitsInit *InstBits = AllInstructions[Opc]->TheDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry()
1270 StringRef Name = AllInstructions[Opc]->TheDef->getName(); in emitSoftFailTableEntry()
1306 unsigned Opc) const { in emitSingletonTableEntry()
1311 insnWithID(Insn, Opc); in emitSingletonTableEntry()
1319 emitPredicateTableEntry(TableInfo, Opc); in emitSingletonTableEntry()
1342 emitSoftFailTableEntry(TableInfo, Opc); in emitSingletonTableEntry()
1345 unsigned DIdx = getDecoderIndex(TableInfo.Decoders, Opc, HasCompleteDecoder); in emitSingletonTableEntry()
1359 encodeULEB128(Opc, Buffer); in emitSingletonTableEntry()
1384 unsigned Opc = Best.getSingletonOpc(); in emitSingletonTableEntry() local
1390 emitSingletonTableEntry(TableInfo, Opc); in emitSingletonTableEntry()
1718 const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction() argument
1736 Operands[Opc] = InsnOperands; in populateInstruction()
2032 Operands[Opc] = InsnOperands; in populateInstruction()
2278 for (const auto &Opc : OpcMap) { in run() local
2280 FilterChooser FC(*NumberedInstructions, Opc.second, Operands, in run()
2281 8*Opc.first.second, this); in run()
2302 emitTable(OS, TableInfo.Table, 0, FC.getBitWidth(), Opc.first.first); in run()