Home | History | Annotate | Download | only in MIRParser

Lines Matching refs:Operands

59              "Only used register operands can be tied");
201 ArrayRef<ParsedMachineOperand> Operands);
203 bool verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands,
579 // Parse any register operands before '='
581 SmallVector<ParsedMachineOperand, 8> Operands;
587 Operands.push_back(
593 if (!Operands.empty() && expectAndConsume(MIToken::equal))
608 // Parse the remaining machine operands.
615 Operands.push_back(
636 // Parse the machine memory operands.
656 if (verifyImplicitOperands(Operands, MCID))
660 // TODO: Check for extraneous machine operands.
665 for (const auto &Operand : Operands)
667 if (assignRegisterTies(*MI, Operands))
748 /// Return true if the parsed machine operands contain a given machine operand.
750 ArrayRef<ParsedMachineOperand> Operands) {
751 for (const auto &I : Operands) {
758 bool MIParser::verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands,
762 // register and register mask operands.
765 // Gather all the expected implicit operands.
779 if (isImplicitOperandIn(I, Operands))
781 return error(Operands.empty() ? Token.location() : Operands.back().End,
911 ArrayRef<ParsedMachineOperand> Operands) {
913 for (unsigned I = 0, E = Operands.size(); I != E; ++I) {
914 if (!Operands[I].TiedDefIdx)
918 unsigned DefIdx = Operands[I].TiedDefIdx.getValue();
920 return error(Operands[I].Begin,
923 Twine(E) + " operands");
924 const auto &DefOperand = Operands[DefIdx].Operand;
927 return error(Operands[I].Begin,
934 return error(Operands[I].Begin,
1349 // TODO: Parse the other CFI operands.
1570 return error(Loc, "register operands can't have target flags");