Lines Matching refs:addReg

520     EmitInstruction(Out, MCInstBuilder(X86::PUSH32r).addReg(Reg));  in SpillReg()
525 EmitInstruction(Out, MCInstBuilder(X86::POP32r).addReg(Reg)); in RestoreReg()
556 MCInstBuilder(X86::MOV32rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
610 .addReg(X86::ESP) in EmitCallAsanReport()
611 .addReg(X86::ESP) in EmitCallAsanReport()
614 Out, MCInstBuilder(X86::PUSH32r).addReg(RegCtx.AddressReg(MVT::i32))); in EmitCallAsanReport()
636 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ShadowRegI32).addReg( in InstrumentMemOperandSmall()
639 .addReg(ShadowRegI32) in InstrumentMemOperandSmall()
640 .addReg(ShadowRegI32) in InstrumentMemOperandSmall()
656 Out, MCInstBuilder(X86::TEST8rr).addReg(ShadowRegI8).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
661 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
664 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
665 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
682 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
683 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
690 MCInstBuilder(X86::MOVSX32rr8).addReg(ShadowRegI32).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
691 EmitInstruction(Out, MCInstBuilder(X86::CMP32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
707 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ShadowRegI32).addReg( in InstrumentMemOperandLarge()
710 .addReg(ShadowRegI32) in InstrumentMemOperandLarge()
711 .addReg(ShadowRegI32) in InstrumentMemOperandLarge()
749 Out, MCInstBuilder(X86::TEST32rr).addReg(X86::ECX).addReg(X86::ECX)); in InstrumentMOVSImpl()
777 EmitInstruction(Out, MCInstBuilder(X86::PUSH64r).addReg(Reg)); in SpillReg()
782 EmitInstruction(Out, MCInstBuilder(X86::POP64r).addReg(Reg)); in RestoreReg()
813 MCInstBuilder(X86::MOV64rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
878 .addReg(X86::RSP) in EmitCallAsanReport()
879 .addReg(X86::RSP) in EmitCallAsanReport()
883 EmitInstruction(Out, MCInstBuilder(X86::MOV64rr).addReg(X86::RDI).addReg( in EmitCallAsanReport()
908 EmitInstruction(Out, MCInstBuilder(X86::MOV64rr).addReg(ShadowRegI64).addReg( in InstrumentMemOperandSmall()
911 .addReg(ShadowRegI64) in InstrumentMemOperandSmall()
912 .addReg(ShadowRegI64) in InstrumentMemOperandSmall()
927 Out, MCInstBuilder(X86::TEST8rr).addReg(ShadowRegI8).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
932 EmitInstruction(Out, MCInstBuilder(X86::MOV32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
935 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
936 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
953 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
954 .addReg(ScratchRegI32) in InstrumentMemOperandSmall()
961 MCInstBuilder(X86::MOVSX32rr8).addReg(ShadowRegI32).addReg(ShadowRegI8)); in InstrumentMemOperandSmall()
962 EmitInstruction(Out, MCInstBuilder(X86::CMP32rr).addReg(ScratchRegI32).addReg( in InstrumentMemOperandSmall()
978 EmitInstruction(Out, MCInstBuilder(X86::MOV64rr).addReg(ShadowRegI64).addReg( in InstrumentMemOperandLarge()
981 .addReg(ShadowRegI64) in InstrumentMemOperandLarge()
982 .addReg(ShadowRegI64) in InstrumentMemOperandLarge()
1021 Out, MCInstBuilder(X86::TEST64rr).addReg(X86::RCX).addReg(X86::RCX)); in InstrumentMOVSImpl()