reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/TableGen/AsmMatcherEmitter.cpp
  560         Mnemonic(RHS.Mnemonic), AsmOperands(RHS.AsmOperands),
  588     auto I = find_if(AsmOperands, [&](const AsmOperand &Op) {
  591     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  591     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  597     auto I = std::find_if(AsmOperands.begin() + LastIdx + 1, AsmOperands.end(),
  597     auto I = std::find_if(AsmOperands.begin() + LastIdx + 1, AsmOperands.end(),
  599     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  599     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  604         find_if(AsmOperands,
  606     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  606     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  618     if (AsmOperands.size() != RHS.AsmOperands.size())
  618     if (AsmOperands.size() != RHS.AsmOperands.size())
  619       return AsmOperands.size() < RHS.AsmOperands.size();
  619       return AsmOperands.size() < RHS.AsmOperands.size();
  623     for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) {
  624       if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class)
  624       if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class)
  626       if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class)
  626       if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class)
  655     if (AsmOperands.size() != RHS.AsmOperands.size())
  655     if (AsmOperands.size() != RHS.AsmOperands.size())
  664     for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i)
  665       if (AsmOperands[i].Class->Kind != RHS.AsmOperands[i].Class->Kind ||
  665       if (AsmOperands[i].Class->Kind != RHS.AsmOperands[i].Class->Kind ||
  666           AsmOperands[i].Class->Kind == ClassInfo::Token)
  667         if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class ||
  667         if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class ||
  668             *RHS.AsmOperands[i].Class < *AsmOperands[i].Class)
  668             *RHS.AsmOperands[i].Class < *AsmOperands[i].Class)
  675     for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) {
  676       if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class)
  676       if (*AsmOperands[i].Class < *RHS.AsmOperands[i].Class)
  678       if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class)
  678       if (*RHS.AsmOperands[i].Class < *AsmOperands[i].Class)
  806   for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) {
  807     const AsmOperand &Op = AsmOperands[i];
  864   AsmOperands.erase(AsmOperands.begin() + SrcAsmOperand);
  864   AsmOperands.erase(AsmOperands.begin() + SrcAsmOperand);
  924   if (AsmOperands.empty())
  928   assert(!AsmOperands[0].Token.empty());
  930     Mnemonic = AsmOperands[0].Token;
  936     AsmOperands.erase(AsmOperands.begin());
  936     AsmOperands.erase(AsmOperands.begin());
  937   } else if (AsmOperands[0].Token[0] != '$')
  938     Mnemonic = AsmOperands[0].Token;
  947   for (MatchableInfo::AsmOperand &Op : AsmOperands) {
  963   AsmOperands.push_back(AsmOperand(IsIsolatedToken, Token));
 1079   for (const AsmOperand &Op : AsmOperands) {
 1451     for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) {
 1452       const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i];
 1574     for (unsigned i = 0; i != II->AsmOperands.size(); ++i) {
 1575       MatchableInfo::AsmOperand &Op = II->AsmOperands[i];
 1675   MatchableInfo::AsmOperand *Op = &II->AsmOperands[AsmOpIdx];
 1696         II->AsmOperands.insert(II->AsmOperands.begin()+AsmOpIdx+SI, NewAsmOp);
 1696         II->AsmOperands.insert(II->AsmOperands.begin()+AsmOpIdx+SI, NewAsmOp);
 1699       Op = &II->AsmOperands[AsmOpIdx]; // update the pointer in case it moved
 1793     if (AsmOperands[SrcOperand].SubOpIdx == -1) {
 1800       assert(AsmOperands[SrcOperand+AI].SubOpIdx == (int)AI &&
 1801              AsmOperands[SrcOperand+AI].SrcOpName == OpInfo.Name &&
 1840         StringRef Name = AsmOperands[SrcOp1].SrcOpName;
 1969       MaxNumOperands = std::max(MaxNumOperands, MI->AsmOperands.size());
 2086           II->AsmOperands[OpInfo.AsmOperandNum];
 3322     MaxNumOperands = std::max(MaxNumOperands, MI->AsmOperands.size());
 3456       for (unsigned i = 0, e = MI->AsmOperands.size(); i != e; ++i) {
 3457         const MatchableInfo::AsmOperand &Op = MI->AsmOperands[i];