Lines Matching refs:MCOperand

183   mcInst.addOperand(MCOperand::CreateReg(llvmRegnum));  in translateRegister()
251 MCOperand baseReg = MCOperand::CreateReg(baseRegNo); in translateSrcIndex()
254 MCOperand segmentReg; in translateSrcIndex()
255 segmentReg = MCOperand::CreateReg(segmentRegnums[insn.segmentOverride]); in translateSrcIndex()
276 MCOperand baseReg = MCOperand::CreateReg(baseRegNo); in translateDstIndex()
542 mcInst.addOperand(MCOperand::CreateReg(X86::XMM0 + (immediate >> 4))); in translateImmediate()
545 mcInst.addOperand(MCOperand::CreateReg(X86::YMM0 + (immediate >> 4))); in translateImmediate()
548 mcInst.addOperand(MCOperand::CreateReg(X86::ZMM0 + (immediate >> 4))); in translateImmediate()
571 mcInst.addOperand(MCOperand::CreateImm(immediate)); in translateImmediate()
575 MCOperand segmentReg; in translateImmediate()
576 segmentReg = MCOperand::CreateReg(segmentRegnums[insn.segmentOverride]); in translateImmediate()
609 mcInst.addOperand(MCOperand::CreateReg(X86::x)); break; in translateRMRegister()
639 MCOperand baseReg; in translateRMMemory()
640 MCOperand scaleAmount; in translateRMMemory()
641 MCOperand indexReg; in translateRMMemory()
642 MCOperand displacement; in translateRMMemory()
643 MCOperand segmentReg; in translateRMMemory()
654 baseReg = MCOperand::CreateReg(X86::x); break; in translateRMMemory()
659 baseReg = MCOperand::CreateReg(0); in translateRMMemory()
709 indexReg = MCOperand::CreateReg(X86::x); break; in translateRMMemory()
718 indexReg = MCOperand::CreateReg(0); in translateRMMemory()
721 scaleAmount = MCOperand::CreateImm(insn.sibScale); in translateRMMemory()
735 baseReg = MCOperand::CreateReg(X86::RIP); // Section 2.2.1.6 in translateRMMemory()
738 baseReg = MCOperand::CreateReg(0); in translateRMMemory()
740 indexReg = MCOperand::CreateReg(0); in translateRMMemory()
743 baseReg = MCOperand::CreateReg(X86::BX); in translateRMMemory()
744 indexReg = MCOperand::CreateReg(X86::SI); in translateRMMemory()
747 baseReg = MCOperand::CreateReg(X86::BX); in translateRMMemory()
748 indexReg = MCOperand::CreateReg(X86::DI); in translateRMMemory()
751 baseReg = MCOperand::CreateReg(X86::BP); in translateRMMemory()
752 indexReg = MCOperand::CreateReg(X86::SI); in translateRMMemory()
755 baseReg = MCOperand::CreateReg(X86::BP); in translateRMMemory()
756 indexReg = MCOperand::CreateReg(X86::DI); in translateRMMemory()
759 indexReg = MCOperand::CreateReg(0); in translateRMMemory()
770 baseReg = MCOperand::CreateReg(X86::x); break; in translateRMMemory()
782 scaleAmount = MCOperand::CreateImm(1); in translateRMMemory()
785 displacement = MCOperand::CreateImm(insn.displacement); in translateRMMemory()
787 segmentReg = MCOperand::CreateReg(segmentRegnums[insn.segmentOverride]); in translateRMMemory()
859 mcInst.addOperand(MCOperand::CreateReg(X86::ST0 + stackPos)); in translateFPRegister()
875 mcInst.addOperand(MCOperand::CreateReg(X86::K0 + maskRegNum)); in translateMaskRegister()