Lines Matching refs:addReg

511     EmitInstruction(Out, MCInstBuilder(X86::PUSH32r).addReg(Reg));  in SpillReg()
516 EmitInstruction(Out, MCInstBuilder(X86::POP32r).addReg(Reg)); in RestoreReg()
547 MCInstBuilder(X86::MOV32rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
601 .addReg(X86::ESP) in EmitCallAsanReport()
602 .addReg(X86::ESP) in EmitCallAsanReport()
605 Out, MCInstBuilder(X86::PUSH32r).addReg(RegCtx.AddressReg(32))); in EmitCallAsanReport()
628 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ShadowRegI32).addReg( in InstrumentMemOperandSmall()
631 .addReg(ShadowRegI32) in InstrumentMemOperandSmall()
632 .addReg(ShadowRegI32) in InstrumentMemOperandSmall()
648 Out, MCInstBuilder(X86::TEST8rr).addReg(ShadowRegI8).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
653 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
656 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
657 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
674 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
675 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
682 MCInstBuilder(X86::MOVSX32rr8).addReg(ShadowRegI32).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
683 EmitInstruction(Out, MCInstBuilder(X86::CMP32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
699 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ShadowRegI32).addReg( in InstrumentMemOperandLarge()
702 .addReg(ShadowRegI32) in InstrumentMemOperandLarge()
703 .addReg(ShadowRegI32) in InstrumentMemOperandLarge()
741 Out, MCInstBuilder(X86::TEST32rr).addReg(X86::ECX).addReg(X86::ECX)); in InstrumentMOVSImpl()
769 EmitInstruction(Out, MCInstBuilder(X86::PUSH64r).addReg(Reg)); in SpillReg()
774 EmitInstruction(Out, MCInstBuilder(X86::POP64r).addReg(Reg)); in RestoreReg()
805 MCInstBuilder(X86::MOV64rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
870 .addReg(X86::RSP) in EmitCallAsanReport()
871 .addReg(X86::RSP) in EmitCallAsanReport()
875 EmitInstruction(Out, MCInstBuilder(X86::MOV64rr).addReg(X86::RDI).addReg( in EmitCallAsanReport()
901 EmitInstruction(Out, MCInstBuilder(X86::MOV64rr).addReg(ShadowRegI64).addReg( in InstrumentMemOperandSmall()
904 .addReg(ShadowRegI64) in InstrumentMemOperandSmall()
905 .addReg(ShadowRegI64) in InstrumentMemOperandSmall()
920 Out, MCInstBuilder(X86::TEST8rr).addReg(ShadowRegI8).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
925 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
928 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
929 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
946 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
947 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
954 MCInstBuilder(X86::MOVSX32rr8).addReg(ShadowRegI32).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
955 EmitInstruction(Out, MCInstBuilder(X86::CMP32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
971 EmitInstruction(Out, MCInstBuilder(X86::MOV64rr).addReg(ShadowRegI64).addReg( in InstrumentMemOperandLarge()
974 .addReg(ShadowRegI64) in InstrumentMemOperandLarge()
975 .addReg(ShadowRegI64) in InstrumentMemOperandLarge()
1014 Out, MCInstBuilder(X86::TEST64rr).addReg(X86::RCX).addReg(X86::RCX)); in InstrumentMOVSImpl()