• Home
  • Raw
  • Download

Lines Matching refs:AsmOperands

495   SmallVector<AsmOperand, 8> AsmOperands;  member
531 Mnemonic(RHS.Mnemonic), AsmOperands(RHS.AsmOperands), in MatchableInfo()
559 auto I = std::find_if(AsmOperands.begin(), AsmOperands.end(), in findAsmOperand()
563 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperand()
569 auto I = std::find_if(AsmOperands.begin(), AsmOperands.end(), in findAsmOperandNamed()
573 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperandNamed()
585 if (AsmOperands.size() != RHS.AsmOperands.size()) in operator <()
586 return AsmOperands.size() < RHS.AsmOperands.size(); in operator <()
590 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in operator <()
591 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class) in operator <()
593 if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in operator <()
618 if (AsmOperands.size() != RHS.AsmOperands.size()) in couldMatchAmbiguouslyWith()
627 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) in couldMatchAmbiguouslyWith()
628 if (AsmOperands[i].Class->Kind != RHS.AsmOperands[i].Class->Kind || in couldMatchAmbiguouslyWith()
629 AsmOperands[i].Class->Kind == ClassInfo::Token) in couldMatchAmbiguouslyWith()
630 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class || in couldMatchAmbiguouslyWith()
631 *RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
638 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in couldMatchAmbiguouslyWith()
639 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
641 if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
788 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in dump()
789 const AsmOperand &Op = AsmOperands[i]; in dump()
845 AsmOperands.erase(AsmOperands.begin() + SrcAsmOperand); in formTwoOperandAlias()
909 if (AsmOperands.empty()) in initialize()
913 assert(!AsmOperands[0].Token.empty()); in initialize()
915 Mnemonic = AsmOperands[0].Token; in initialize()
921 AsmOperands.erase(AsmOperands.begin()); in initialize()
922 } else if (AsmOperands[0].Token[0] != '$') in initialize()
923 Mnemonic = AsmOperands[0].Token; in initialize()
932 for (MatchableInfo::AsmOperand &Op : AsmOperands) { in initialize()
948 AsmOperands.push_back(AsmOperand(IsIsolatedToken, Token)); in addAsmOperand()
1063 for (const AsmOperand &Op : AsmOperands) { in validate()
1322 std::vector<Record*> AsmOperands = in buildOperandClasses() local
1326 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1332 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1420 for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) { in buildOperandMatchInfo()
1421 const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i]; in buildOperandMatchInfo()
1539 for (unsigned i = 0; i != II->AsmOperands.size(); ++i) { in buildInfo()
1540 MatchableInfo::AsmOperand &Op = II->AsmOperands[i]; in buildInfo()
1635 MatchableInfo::AsmOperand *Op = &II->AsmOperands[AsmOpIdx]; in buildInstructionOperandReference()
1656 II->AsmOperands.insert(II->AsmOperands.begin()+AsmOpIdx+SI, NewAsmOp); in buildInstructionOperandReference()
1659 Op = &II->AsmOperands[AsmOpIdx]; // update the pointer in case it moved in buildInstructionOperandReference()
1746 if (AsmOperands[SrcOperand].SubOpIdx == -1) { in buildInstructionResultOperands()
1753 assert(AsmOperands[SrcOperand+AI].SubOpIdx == (int)AI && in buildInstructionResultOperands()
1754 AsmOperands[SrcOperand+AI].SrcOpName == OpInfo.Name && in buildInstructionResultOperands()
1960 II->AsmOperands[OpInfo.AsmOperandNum]; in emitConvertFuncs()
2978 MaxNumOperands = std::max(MaxNumOperands, MI->AsmOperands.size()); in run()
3063 for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) { in run()
3064 const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i]; in run()