Lines Matching refs:createReg
257 mcInst.addOperand(MCOperand::createReg(llvmRegnum)); in translateRegister()
325 MCOperand baseReg = MCOperand::createReg(baseRegNo); in translateSrcIndex()
329 segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]); in translateSrcIndex()
350 MCOperand baseReg = MCOperand::createReg(baseRegNo); in translateDstIndex()
616 mcInst.addOperand(MCOperand::createReg(X86::XMM0 + (immediate >> 4))); in translateImmediate()
619 mcInst.addOperand(MCOperand::createReg(X86::YMM0 + (immediate >> 4))); in translateImmediate()
622 mcInst.addOperand(MCOperand::createReg(X86::ZMM0 + (immediate >> 4))); in translateImmediate()
625 mcInst.addOperand(MCOperand::createReg(X86::BND0 + (immediate >> 4))); in translateImmediate()
658 segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]); in translateImmediate()
691 mcInst.addOperand(MCOperand::createReg(X86::x)); break; in translateRMRegister()
736 baseReg = MCOperand::createReg(X86::x); break; in translateRMMemory()
741 baseReg = MCOperand::createReg(0); in translateRMMemory()
791 indexReg = MCOperand::createReg(X86::x); break; in translateRMMemory()
800 indexReg = MCOperand::createReg(0); in translateRMMemory()
817 baseReg = MCOperand::createReg(X86::RIP); // Section 2.2.1.6 in translateRMMemory()
820 baseReg = MCOperand::createReg(0); in translateRMMemory()
822 indexReg = MCOperand::createReg(0); in translateRMMemory()
825 baseReg = MCOperand::createReg(X86::BX); in translateRMMemory()
826 indexReg = MCOperand::createReg(X86::SI); in translateRMMemory()
829 baseReg = MCOperand::createReg(X86::BX); in translateRMMemory()
830 indexReg = MCOperand::createReg(X86::DI); in translateRMMemory()
833 baseReg = MCOperand::createReg(X86::BP); in translateRMMemory()
834 indexReg = MCOperand::createReg(X86::SI); in translateRMMemory()
837 baseReg = MCOperand::createReg(X86::BP); in translateRMMemory()
838 indexReg = MCOperand::createReg(X86::DI); in translateRMMemory()
841 indexReg = MCOperand::createReg(0); in translateRMMemory()
852 baseReg = MCOperand::createReg(X86::x); break; in translateRMMemory()
869 segmentReg = MCOperand::createReg(segmentRegnums[insn.segmentOverride]); in translateRMMemory()
945 mcInst.addOperand(MCOperand::createReg(X86::ST0 + stackPos)); in translateFPRegister()
961 mcInst.addOperand(MCOperand::createReg(X86::K0 + maskRegNum)); in translateMaskRegister()