Lines Matching full:operand
148 /// register, and appends it as an operand to an MCInst.
164 /// translateImmediate - Appends an immediate operand to an MCInst.
168 /// @param operand - The operand, as stored in the descriptor table.
171 const OperandSpecifier &operand,
175 OperandType type = operand.type;
199 switch (operand.encoding) {
252 // operand is 64 bits wide. Do nothing.
268 debug("A R/M register operand may not have a SIB byte");
282 debug("A R/M register operand may not have a base; "
283 "the operand must be a register.");
295 /// translateRMMemory - Translates a memory operand stored in the Mod and R/M
297 /// operand in LLVM's format, and appends it to an MCInst.
403 debug("A R/M memory operand may not be a register; "
434 /// translateRM - Translates an operand stored in the R/M (and possibly SIB)
438 /// @param operand - The operand, as stored in the descriptor table.
442 static bool translateRM(MCInst &mcInst, const OperandSpecifier &operand,
444 switch (operand.type) {
446 debug("Unexpected type for a R/M operand");
505 /// translateOperand - Translates an operand stored in an internal instruction
509 /// @param operand - The operand, as stored in the descriptor table.
512 static bool translateOperand(MCInst &mcInst, const OperandSpecifier &operand,
514 switch (operand.encoding) {
516 debug("Unhandled operand encoding during translation");
522 return translateRM(mcInst, operand, insn);
539 operand,
558 insn.spec->operands[operand.type - TYPE_DUP0],