Lines Matching refs:MCOperand
184 mcInst.addOperand(MCOperand::createReg(llvmRegnum)); in translateRegister()
252 MCOperand baseReg = MCOperand::createReg(baseRegNo); in translateSrcIndex()
255 MCOperand segmentReg; in translateSrcIndex()
256 segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]); in translateSrcIndex()
277 MCOperand baseReg = MCOperand::createReg(baseRegNo); in translateDstIndex()
543 mcInst.addOperand(MCOperand::createReg(X86::XMM0 + (immediate >> 4))); in translateImmediate()
546 mcInst.addOperand(MCOperand::createReg(X86::YMM0 + (immediate >> 4))); in translateImmediate()
549 mcInst.addOperand(MCOperand::createReg(X86::ZMM0 + (immediate >> 4))); in translateImmediate()
552 mcInst.addOperand(MCOperand::createReg(X86::BND0 + (immediate >> 4))); in translateImmediate()
580 mcInst.addOperand(MCOperand::createImm(immediate)); in translateImmediate()
584 MCOperand segmentReg; in translateImmediate()
585 segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]); in translateImmediate()
618 mcInst.addOperand(MCOperand::createReg(X86::x)); break; in translateRMRegister()
648 MCOperand baseReg; in translateRMMemory()
649 MCOperand scaleAmount; in translateRMMemory()
650 MCOperand indexReg; in translateRMMemory()
651 MCOperand displacement; in translateRMMemory()
652 MCOperand segmentReg; in translateRMMemory()
663 baseReg = MCOperand::createReg(X86::x); break; in translateRMMemory()
668 baseReg = MCOperand::createReg(0); in translateRMMemory()
718 indexReg = MCOperand::createReg(X86::x); break; in translateRMMemory()
727 indexReg = MCOperand::createReg(0); in translateRMMemory()
730 scaleAmount = MCOperand::createImm(insn.sibScale); in translateRMMemory()
744 baseReg = MCOperand::createReg(X86::RIP); // Section 2.2.1.6 in translateRMMemory()
747 baseReg = MCOperand::createReg(0); in translateRMMemory()
749 indexReg = MCOperand::createReg(0); in translateRMMemory()
752 baseReg = MCOperand::createReg(X86::BX); in translateRMMemory()
753 indexReg = MCOperand::createReg(X86::SI); in translateRMMemory()
756 baseReg = MCOperand::createReg(X86::BX); in translateRMMemory()
757 indexReg = MCOperand::createReg(X86::DI); in translateRMMemory()
760 baseReg = MCOperand::createReg(X86::BP); in translateRMMemory()
761 indexReg = MCOperand::createReg(X86::SI); in translateRMMemory()
764 baseReg = MCOperand::createReg(X86::BP); in translateRMMemory()
765 indexReg = MCOperand::createReg(X86::DI); in translateRMMemory()
768 indexReg = MCOperand::createReg(0); in translateRMMemory()
779 baseReg = MCOperand::createReg(X86::x); break; in translateRMMemory()
791 scaleAmount = MCOperand::createImm(1); in translateRMMemory()
794 displacement = MCOperand::createImm(insn.displacement); in translateRMMemory()
796 segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]); in translateRMMemory()
873 mcInst.addOperand(MCOperand::createReg(X86::ST0 + stackPos)); in translateFPRegister()
889 mcInst.addOperand(MCOperand::createReg(X86::K0 + maskRegNum)); in translateMaskRegister()