• Home
  • Raw
  • Download

Lines Matching refs:AsmOperands

524   SmallVector<AsmOperand, 8> AsmOperands;  member
560 Mnemonic(RHS.Mnemonic), AsmOperands(RHS.AsmOperands), in MatchableInfo()
588 auto I = find_if(AsmOperands, [&](const AsmOperand &Op) { in findAsmOperand()
591 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperand()
597 auto I = std::find_if(AsmOperands.begin() + LastIdx + 1, AsmOperands.end(), in findAsmOperandNamed()
599 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperandNamed()
604 find_if(AsmOperands, in findAsmOperandOriginallyNamed()
606 return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1; in findAsmOperandOriginallyNamed()
618 if (AsmOperands.size() != RHS.AsmOperands.size()) in operator <()
619 return AsmOperands.size() < RHS.AsmOperands.size(); in operator <()
623 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in operator <()
624 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class) in operator <()
626 if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in operator <()
655 if (AsmOperands.size() != RHS.AsmOperands.size()) in couldMatchAmbiguouslyWith()
664 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) in couldMatchAmbiguouslyWith()
665 if (AsmOperands[i].Class->Kind != RHS.AsmOperands[i].Class->Kind || in couldMatchAmbiguouslyWith()
666 AsmOperands[i].Class->Kind == ClassInfo::Token) in couldMatchAmbiguouslyWith()
667 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class || in couldMatchAmbiguouslyWith()
668 *RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
675 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in couldMatchAmbiguouslyWith()
676 if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
678 if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class) in couldMatchAmbiguouslyWith()
806 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) { in dump()
807 const AsmOperand &Op = AsmOperands[i]; in dump()
864 AsmOperands.erase(AsmOperands.begin() + SrcAsmOperand); in formTwoOperandAlias()
924 if (AsmOperands.empty()) in initialize()
928 assert(!AsmOperands[0].Token.empty()); in initialize()
930 Mnemonic = AsmOperands[0].Token; in initialize()
936 AsmOperands.erase(AsmOperands.begin()); in initialize()
937 } else if (AsmOperands[0].Token[0] != '$') in initialize()
938 Mnemonic = AsmOperands[0].Token; in initialize()
947 for (MatchableInfo::AsmOperand &Op : AsmOperands) { in initialize()
963 AsmOperands.push_back(AsmOperand(IsIsolatedToken, Token)); in addAsmOperand()
1079 for (const AsmOperand &Op : AsmOperands) { in validate()
1347 std::vector<Record*> AsmOperands = in buildOperandClasses() local
1351 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1357 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1451 for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) { in buildOperandMatchInfo()
1452 const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i]; in buildOperandMatchInfo()
1574 for (unsigned i = 0; i != II->AsmOperands.size(); ++i) { in buildInfo()
1575 MatchableInfo::AsmOperand &Op = II->AsmOperands[i]; in buildInfo()
1675 MatchableInfo::AsmOperand *Op = &II->AsmOperands[AsmOpIdx]; in buildInstructionOperandReference()
1696 II->AsmOperands.insert(II->AsmOperands.begin()+AsmOpIdx+SI, NewAsmOp); in buildInstructionOperandReference()
1699 Op = &II->AsmOperands[AsmOpIdx]; // update the pointer in case it moved in buildInstructionOperandReference()
1793 if (AsmOperands[SrcOperand].SubOpIdx == -1) { in buildInstructionResultOperands()
1800 assert(AsmOperands[SrcOperand+AI].SubOpIdx == (int)AI && in buildInstructionResultOperands()
1801 AsmOperands[SrcOperand+AI].SrcOpName == OpInfo.Name && in buildInstructionResultOperands()
1840 StringRef Name = AsmOperands[SrcOp1].SrcOpName; in buildAliasResultOperands()
1969 MaxNumOperands = std::max(MaxNumOperands, MI->AsmOperands.size()); in emitConvertFuncs()
2086 II->AsmOperands[OpInfo.AsmOperandNum]; in emitConvertFuncs()
3384 MaxNumOperands = std::max(MaxNumOperands, MI->AsmOperands.size()); in run()
3519 for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) { in run()
3520 const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i]; in run()