Lines Matching refs:operand

170 ///   register, and appends it as an operand to an MCInst.
186 /// tryAddingSymbolicOperand - trys to add a symbolic operand in place of the
200 /// an MCExpr and that is added as an operand to the MCInst. If getOpInfo()
204 /// if it adds an operand to the MCInst and false otherwise.
236 /// translateSrcIndex - Appends a source index operand to an MCInst.
260 /// translateDstIndex - Appends a destination index operand to an MCInst.
281 /// translateImmediate - Appends an immediate operand to an MCInst.
285 /// @param operand - The operand, as stored in the descriptor table.
288 const OperandSpecifier &operand,
293 OperandType type = (OperandType)operand.type;
324 switch (operand.encoding) {
381 // operand is 64 bits wide. Do nothing.
407 debug("A R/M register operand may not have a SIB byte");
421 debug("A R/M register operand may not have a base; "
422 "the operand must be a register.");
434 /// translateRMMemory - Translates a memory operand stored in the Mod and R/M
436 /// operand in LLVM's format, and appends it to an MCInst.
593 debug("A R/M memory operand may not be a register; "
617 /// translateRM - Translates an operand stored in the R/M (and possibly SIB)
621 /// @param operand - The operand, as stored in the descriptor table.
625 static bool translateRM(MCInst &mcInst, const OperandSpecifier &operand,
627 switch (operand.type) {
629 debug("Unexpected type for a R/M operand");
701 /// translateOperand - Translates an operand stored in an internal instruction
705 /// @param operand - The operand, as stored in the descriptor table.
708 static bool translateOperand(MCInst &mcInst, const OperandSpecifier &operand,
711 switch (operand.encoding) {
713 debug("Unhandled operand encoding during translation");
721 return translateRM(mcInst, operand, insn, Dis);
738 operand,
760 return translateOperand(mcInst, insn.operands[operand.type - TYPE_DUP0],