Lines Matching refs:Operand
43 MachineOperand Operand;
48 ParsedMachineOperand(const MachineOperand &Operand, StringRef::iterator Begin,
50 : Operand(Operand), Begin(Begin), End(End), TiedDefIdx(TiedDefIdx) {
52 assert(Operand.isReg() && Operand.isUse() &&
603 return error("expected ',' before the next machine operand");
630 return error("expected ',' before the next machine memory operand");
637 // FIXME: Move the implicit operand verification to the machine verifier.
645 for (const auto &Operand : Operands)
646 MI->addOperand(MF, Operand.Operand);
728 /// Return true if the parsed machine operands contain a given machine operand.
732 if (ImplicitOperand.isIdenticalTo(I.Operand))
762 Twine("missing implicit register operand '") +
885 // The parser ensures that this operand is a register use, so we just have
886 // to check the tied-def operand.
890 Twine("use of invalid tied-def operand index '" +
893 const auto &DefOperand = Operands[DefIdx].Operand;
895 // FIXME: add note with the def operand.
897 Twine("use of invalid tied-def operand index '") +
898 Twine(DefIdx) + "'; the operand #" + Twine(DefIdx) +
900 // Check that the tied-def operand wasn't tied elsewhere.
904 Twine("the tied-def operand #") + Twine(DefIdx) +
905 " is already tied with another register operand");
953 return error("integer literal is too large to be an immediate operand");
1259 llvm_unreachable("The current token should be a cfi operand");
1433 // FIXME: Parse the MCSymbol machine operand.
1434 return error("expected a machine operand");
1574 // TODO: parse the target specific memory operand flags.
1576 llvm_unreachable("The current token should be a memory operand flag");
1581 return error("duplicate '" + Token.stringValue() + "' memory operand flag");