Lines Matching refs:AsmOperands

533   SmallVector<AsmOperand, 8> AsmOperands;  member
569 AsmOperands(RHS.AsmOperands), RequiredFeatures(RHS.RequiredFeatures), in MatchableInfo()
595 auto I = find_if(AsmOperands, [&](const AsmOperand &Op) { in findAsmOperand()
598 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperand()
605 llvm::find_if(llvm::drop_begin(AsmOperands, LastIdx + 1), in findAsmOperandNamed()
607 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperandNamed()
611 auto I = find_if(AsmOperands, [&](const AsmOperand &Op) { in findAsmOperandOriginallyNamed()
614 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperandOriginallyNamed()
632 if (AsmOperands.size() != RHS.AsmOperands.size()) in shouldBeMatchedBefore()
633 return AsmOperands.size() < RHS.AsmOperands.size(); in shouldBeMatchedBefore()
637 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in shouldBeMatchedBefore()
638 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class) in shouldBeMatchedBefore()
640 if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in shouldBeMatchedBefore()
686 if (AsmOperands.size() != RHS.AsmOperands.size()) in couldMatchAmbiguouslyWith()
695 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) in couldMatchAmbiguouslyWith()
696 if (AsmOperands[i].Class->Kind != RHS.AsmOperands[i].Class->Kind || in couldMatchAmbiguouslyWith()
697 AsmOperands[i].Class->Kind == ClassInfo::Token) in couldMatchAmbiguouslyWith()
698 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class || in couldMatchAmbiguouslyWith()
699 *RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
706 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in couldMatchAmbiguouslyWith()
707 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
709 if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
834 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in dump()
835 const AsmOperand &Op = AsmOperands[i]; in dump()
892 AsmOperands.erase(AsmOperands.begin() + SrcAsmOperand); in formTwoOperandAlias()
950 if (AsmOperands.empty()) in initialize()
954 assert(!AsmOperands[0].Token.empty()); in initialize()
956 Mnemonic = AsmOperands[0].Token; in initialize()
962 AsmOperands.erase(AsmOperands.begin()); in initialize()
963 } else if (AsmOperands[0].Token[0] != '$') in initialize()
964 Mnemonic = AsmOperands[0].Token; in initialize()
973 for (MatchableInfo::AsmOperand &Op : AsmOperands) { in initialize()
989 AsmOperands.push_back(AsmOperand(IsIsolatedToken, Token)); in addAsmOperand()
1105 for (const AsmOperand &Op : AsmOperands) { in validate()
1386 std::vector<Record *> AsmOperands = in buildOperandClasses() local
1390 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1396 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1491 for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) { in buildOperandMatchInfo()
1492 const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i]; in buildOperandMatchInfo()
1615 for (unsigned i = 0; i != II->AsmOperands.size(); ++i) { in buildInfo()
1616 MatchableInfo::AsmOperand &Op = II->AsmOperands[i]; in buildInfo()
1715 MatchableInfo::AsmOperand *Op = &II->AsmOperands[AsmOpIdx]; in buildInstructionOperandReference()
1736 II->AsmOperands.insert(II->AsmOperands.begin() + AsmOpIdx + SI, in buildInstructionOperandReference()
1740 Op = &II->AsmOperands[AsmOpIdx]; // update the pointer in case it moved in buildInstructionOperandReference()
1834 if (AsmOperands[SrcOperand].SubOpIdx == -1) { in buildInstructionResultOperands()
1841 assert(AsmOperands[SrcOperand + AI].SubOpIdx == (int)AI && in buildInstructionResultOperands()
1842 AsmOperands[SrcOperand + AI].SrcOpName == OpInfo.Name && in buildInstructionResultOperands()
1881 StringRef Name = AsmOperands[SrcOp1].SrcOpName; in buildAliasResultOperands()
2119 II->AsmOperands[OpInfo.AsmOperandNum]; in emitConvertFuncs()
3439 MaxNumOperands = std::max(MaxNumOperands, MI->AsmOperands.size()); in run()
3572 for (const MatchableInfo::AsmOperand &Op : MI->AsmOperands) in run()