Lines Matching defs:II
226 std::insert_iterator<RegisterSet> II(Tmp, Tmp.begin());
229 II, LessRecordByID());
653 void buildInstructionOperandReference(MatchableInfo *II, StringRef OpName,
655 void buildAliasOperandReference(MatchableInfo *II, StringRef OpName,
1124 std::insert_iterator<RegisterSet> II(ContainingSet,
1126 std::set_intersection(Tmp.begin(), Tmp.end(), it->begin(), it->end(), II,
1294 MatchableInfo &II = **it;
1299 for (unsigned i = 0, e = II.AsmOperands.size(); i != e; ++i) {
1300 MatchableInfo::AsmOperand &Op = II.AsmOperands[i];
1312 OperandMatchInfo.push_back(OperandMatchEntry::create(&II, CI, OpMask));
1360 std::unique_ptr<MatchableInfo> II(new MatchableInfo(CGI));
1362 II->initialize(*this, SingletonRegisters, AsmVariantNo, RegisterPrefix);
1366 if (!II->validate(CommentDelimiter, true))
1372 if (StringRef(II->TheDef->getName()).startswith("Int_") ||
1373 StringRef(II->TheDef->getName()).endswith("_Int"))
1376 Matchables.push_back(II.release());
1394 std::unique_ptr<MatchableInfo> II(new MatchableInfo(Alias));
1396 II->initialize(*this, SingletonRegisters, AsmVariantNo, RegisterPrefix);
1399 II->validate(CommentDelimiter, false);
1401 Matchables.push_back(II.release());
1416 MatchableInfo *II = *it;
1421 for (unsigned i = 0; i != II->AsmOperands.size(); ++i) {
1422 MatchableInfo::AsmOperand &Op = II->AsmOperands[i];
1426 if (Record *RegRecord = II->AsmOperands[i].SingletonReg) {
1451 if (II->DefRec.is<const CodeGenInstruction*>())
1452 buildInstructionOperandReference(II, OperandName, i);
1454 buildAliasOperandReference(II, OperandName, Op);
1457 if (II->DefRec.is<const CodeGenInstruction*>()) {
1458 II->buildInstructionResultOperands();
1463 II->TheDef->getValueAsString("TwoOperandAliasConstraint");
1466 std::unique_ptr<MatchableInfo> AliasII(new MatchableInfo(*II));
1475 II->buildAliasResultOperands();
1502 buildInstructionOperandReference(MatchableInfo *II,
1505 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>();
1507 MatchableInfo::AsmOperand *Op = &II->AsmOperands[AsmOpIdx];
1512 PrintFatalError(II->TheDef->getLoc(),
1523 // Insert remaining suboperands after AsmOpIdx in II->AsmOperands.
1528 II->AsmOperands.insert(II->AsmOperands.begin()+AsmOpIdx+SI, NewAsmOp);
1531 Op = &II->AsmOperands[AsmOpIdx]; // update the pointer in case it moved
1564 void AsmMatcherInfo::buildAliasOperandReference(MatchableInfo *II,
1567 const CodeGenInstAlias &CGA = *II->DefRec.get<const CodeGenInstAlias*>();
1585 PrintFatalError(II->TheDef->getLoc(),
1772 MatchableInfo &II = **it;
1776 II.getResultInst()->TheDef->getValueAsString("AsmMatchConverter");
1779 II.ConversionFnKind = Signature;
1811 MaxRowLength = std::max(MaxRowLength, II.ResOperands.size()*2 + 1 );
1813 for (unsigned i = 0, e = II.ResOperands.size(); i != e; ++i) {
1814 const MatchableInfo::ResOperand &OpInfo = II.ResOperands[i];
1820 MatchableInfo::AsmOperand &Op = II.AsmOperands[OpInfo.AsmOperandNum];
1943 II.ConversionFnKind = Signature;
2523 const MatchableInfo &II = *OMI.MI;
2528 if (!II.RequiredFeatures.empty()) {
2529 for (unsigned i = 0, e = II.RequiredFeatures.size(); i != e; ++i) {
2531 OS << II.RequiredFeatures[i]->getEnumName();
2537 std::string LenMnemonic = char(II.Mnemonic.size()) + II.Mnemonic.str();
2539 << " /* " << II.Mnemonic << " */, ";
2790 MatchableInfo &II = **it;
2791 MaxNumOperands = std::max(MaxNumOperands, II.AsmOperands.size());
2792 HasDeprecation |= II.HasDeprecation;
2795 std::string LenMnemonic = char(II.Mnemonic.size()) + II.Mnemonic.str();
2856 MatchableInfo &II = **it;
2857 if (II.AsmVariantID != AsmVariantNo)
2861 std::string LenMnemonic = char(II.Mnemonic.size()) + II.Mnemonic.str();
2863 << " /* " << II.Mnemonic << " */, "
2865 << II.getResultInst()->TheDef->getName() << ", "
2866 << II.ConversionFnKind << ", ";
2869 if (!II.RequiredFeatures.empty()) {
2870 for (unsigned i = 0, e = II.RequiredFeatures.size(); i != e; ++i) {
2872 OS << II.RequiredFeatures[i]->getEnumName();
2878 for (unsigned i = 0, e = II.AsmOperands.size(); i != e; ++i) {
2879 MatchableInfo::AsmOperand &Op = II.AsmOperands[i];