Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:Operand

104               "Unexpected operand!");
529 // Unary minus. No need to pop the minus operand because it was never
539 // Unary not. No need to pop the not operand because it was never
756 /// Parses AVX512 specific operand primitives: masked registers ({%k<NUM>}, {z})
1048 /// getIntelMemOperandSize - Return intel memory operand size.
1082 // instructions taking a PC relative operand.
1465 //ParseRoundingModeOp - Parse AVX-512 rounding mode operand
1502 /// ParseIntelMemOperand - Parse intel style memory operand.
1542 Error(Start, "cannot use more than one symbol in memory operand");
1627 // register operand to ensure proper matching. Just pick a GPR based on
1666 default: llvm_unreachable("Unexpected operand kind!");
1702 Parser.Lex(); // Eat operand size (e.g., byte, word).
1734 // memory operand not an immediate operand.
1762 // In case it is a normal register and there is ptr in the operand this
1766 return ErrorOperand(Start, "expected memory operand after "
1767 "'ptr', found register operand instead");
1775 // Memory operand.
1783 // Parse a memory operand with no segment register.
1901 // of a memory operand with a missing displacement "(%ebx)" or "(,%eax)". The
1929 // memory operand consumed.
1953 // If we reached here, then we just ate the ( of the memory operand. Process
1954 // the rest of the memory operand.
2031 // Ok, we've eaten the memory operand, verify we have a ')' and eat it too.
2033 Error(Parser.getTok().getLoc(), "unexpected token in memory operand");
2051 Error(IndexLoc, "16-bit memory operand may not include only index register");
2196 // This does the actual operand parsing. Don't parse any more if we have a
2376 // instalias with an immediate operand yet.
2513 assert(!Operands.empty() && "Unexpect empty operand list!");
2515 assert(Op.isToken() && "Leading operand should always be a mnemonic!");
2556 // Change the operand to point to a temporary token.
2639 // Recover location info for the operand if we know which was the problem.
2645 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo];
2646 if (Operand.getStartLoc().isValid()) {
2647 SMRange OperandRange = Operand.getLocRange();
2648 return Error(Operand.getStartLoc(), "invalid operand for instruction",
2653 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2666 // If one instruction matched with an invalid operand
2667 // operand failure.
2670 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2685 assert(!Operands.empty() && "Unexpect empty operand list!");
2687 assert(Op.isToken() && "Leading operand should always be a mnemonic!");
2696 // Find one unsized memory operand, if present.
2716 // If an unsized memory operand is present, try to match with each memory
2717 // operand size. In Intel assembly, the size is not part of the instruction
2738 // Restore the size of the unsized memory operand if we modified it.
2745 // matching with the unsized operand.
2755 // Restore the size of the unsized memory operand if we modified it.
2790 "ambiguous operand size for instruction '" + Mnemonic + "\'",
2803 // If one instruction matched with an invalid operand, report this as an
2804 // operand failure.
2807 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,