Lines Matching refs:BuildMI
270 BuildMI(MBB, MBBI, DL, TII.get(Opc), Reg) in emitSPUpdate()
275 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitSPUpdate()
294 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(Opc)) in emitSPUpdate()
347 MI = addRegOffset(BuildMI(MBB, MBBI, DL, in BuildStackAdjustment()
356 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in BuildStackAdjustment()
400 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::CFI_INSTRUCTION)) in BuildCFI()
581 addRegOffset(BuildMI(&MBB, DL, TII.get(X86::MOV64mr)), X86::RSP, false, in emitStackProbeInline()
584 addRegOffset(BuildMI(&MBB, DL, TII.get(X86::MOV64mr)), X86::RSP, false, in emitStackProbeInline()
589 BuildMI(&MBB, DL, TII.get(X86::MOV64rr), SizeReg).addReg(X86::RAX); in emitStackProbeInline()
594 BuildMI(&MBB, DL, TII.get(X86::XOR64rr), ZeroReg) in emitStackProbeInline()
597 BuildMI(&MBB, DL, TII.get(X86::MOV64rr), CopyReg).addReg(X86::RSP); in emitStackProbeInline()
598 BuildMI(&MBB, DL, TII.get(X86::SUB64rr), TestReg) in emitStackProbeInline()
601 BuildMI(&MBB, DL, TII.get(X86::CMOVB64rr), FinalReg) in emitStackProbeInline()
612 BuildMI(&MBB, DL, TII.get(X86::MOV64rm), LimitReg) in emitStackProbeInline()
618 BuildMI(&MBB, DL, TII.get(X86::CMP64rr)).addReg(FinalReg).addReg(LimitReg); in emitStackProbeInline()
620 BuildMI(&MBB, DL, TII.get(X86::JAE_1)).addMBB(ContinueMBB); in emitStackProbeInline()
623 BuildMI(RoundMBB, DL, TII.get(X86::AND64ri32), RoundedReg) in emitStackProbeInline()
626 BuildMI(RoundMBB, DL, TII.get(X86::JMP_1)).addMBB(LoopMBB); in emitStackProbeInline()
632 BuildMI(LoopMBB, DL, TII.get(X86::PHI), JoinReg) in emitStackProbeInline()
639 addRegOffset(BuildMI(LoopMBB, DL, TII.get(X86::LEA64r), ProbeReg), JoinReg, in emitStackProbeInline()
643 BuildMI(LoopMBB, DL, TII.get(X86::MOV8mi)) in emitStackProbeInline()
650 BuildMI(LoopMBB, DL, TII.get(X86::CMP64rr)) in emitStackProbeInline()
653 BuildMI(LoopMBB, DL, TII.get(X86::JNE_1)).addMBB(LoopMBB); in emitStackProbeInline()
659 addRegOffset(BuildMI(*ContinueMBB, ContinueMBBI, DL, TII.get(X86::MOV64rm), in emitStackProbeInline()
662 addRegOffset(BuildMI(*ContinueMBB, ContinueMBBI, DL, TII.get(X86::MOV64rm), in emitStackProbeInline()
669 BuildMI(*ContinueMBB, ContinueMBBI, DL, TII.get(X86::SUB64rr), X86::RSP) in emitStackProbeInline()
733 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64ri), X86::R11) in emitStackProbeCall()
735 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)).addReg(X86::R11); in emitStackProbeCall()
737 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)).addExternalSymbol(Symbol); in emitStackProbeCall()
752 BuildMI(MBB, MBBI, DL, TII.get(X86::SUB64rr), X86::RSP) in emitStackProbeCall()
772 BuildMI(MBB, MBBI, DL, TII.get(X86::CALLpcrel32)) in emitStackProbeInlineStub()
810 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AndOp), Reg) in BuildStackAlignAND()
1013 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(MOVmr)), StackPtr, true, 16) in emitPrologue()
1042 BuildMI(MBB, MBBI, DL, TII.get(Is64Bit ? X86::PUSH64r : X86::PUSH32r)) in emitPrologue()
1060 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_PushReg)) in emitPrologue()
1067 BuildMI(MBB, MBBI, DL, in emitPrologue()
1121 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_PushReg)).addImm(Reg).setMIFlag( in emitPrologue()
1162 BuildMI(MBB, MBBI, DL, TII.get(X86::PUSH32r)) in emitPrologue()
1171 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32ri), X86::EAX) in emitPrologue()
1175 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64ri32), X86::RAX) in emitPrologue()
1179 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64ri), X86::RAX) in emitPrologue()
1186 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32ri), X86::EAX) in emitPrologue()
1197 addRegOffset(BuildMI(MF, DL, TII.get(X86::MOV32rm), X86::EAX), in emitPrologue()
1207 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_StackAlloc)) in emitPrologue()
1222 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rm), Establisher), in emitPrologue()
1229 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mr)), StackPtr, in emitPrologue()
1248 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::LEA64r), FramePtr), in emitPrologue()
1251 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rr), FramePtr) in emitPrologue()
1256 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_SetFrame)) in emitPrologue()
1274 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32mr)), FrameReg, in emitPrologue()
1292 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_SaveXMM)) in emitPrologue()
1302 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_EndPrologue)) in emitPrologue()
1312 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mr)), StackPtr, false, in emitPrologue()
1339 BuildMI(MBB, MBBI, DL, TII.get(Opc), BasePtr) in emitPrologue()
1346 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opm)), in emitPrologue()
1362 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opm)), UsedReg, true, Offset) in emitPrologue()
1495 BuildMI(MBB, MBBI, DL, TII.get(Is64Bit ? X86::POP64r : X86::POP32r), in emitEpilogue()
1501 BuildMI(MBB, MBBI, DL, TII.get(Is64Bit ? X86::POP64r : X86::POP32r), in emitEpilogue()
1515 BuildMI(MBB, MBBI, DL, in emitEpilogue()
1542 BuildMI(MBB, FirstCSPop, DL, TII.get(X86::LEA64r), ReturnReg) in emitEpilogue()
1550 BuildMI(MBB, FirstCSPop, DL, TII.get(X86::MOV32ri), ReturnReg) in emitEpilogue()
1587 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr), in emitEpilogue()
1592 BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitEpilogue()
1609 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_Epilogue)); in emitEpilogue()
1882 BuildMI(MBB, MI, DL, TII.get(Opc)).addReg(Reg, RegState::Kill) in spillCalleeSavedRegisters()
1950 BuildMI(MBB, MI, DL, TII.get(Opc), Reg) in restoreCalleeSavedRegisters()
2123 … BuildMI(checkMBB, DL, TII.get(IsLP64 ? X86::LEA64r : X86::LEA64_32r), ScratchReg).addReg(X86::RSP) in adjustForSegmentedStacks()
2126 BuildMI(checkMBB, DL, TII.get(IsLP64 ? X86::CMP64rm : X86::CMP32rm)).addReg(ScratchReg) in adjustForSegmentedStacks()
2150 BuildMI(checkMBB, DL, TII.get(X86::LEA32r), ScratchReg).addReg(X86::ESP) in adjustForSegmentedStacks()
2155 BuildMI(checkMBB, DL, TII.get(X86::CMP32rm)).addReg(ScratchReg) in adjustForSegmentedStacks()
2180 BuildMI(checkMBB, DL, TII.get(X86::PUSH32r)) in adjustForSegmentedStacks()
2183 BuildMI(checkMBB, DL, TII.get(X86::MOV32ri), ScratchReg2) in adjustForSegmentedStacks()
2185 BuildMI(checkMBB, DL, TII.get(X86::CMP32rm)) in adjustForSegmentedStacks()
2192 BuildMI(checkMBB, DL, TII.get(X86::POP32r), ScratchReg2); in adjustForSegmentedStacks()
2198 BuildMI(checkMBB, DL, TII.get(X86::JA_1)).addMBB(&PrologueMBB); in adjustForSegmentedStacks()
2213 BuildMI(allocMBB, DL, TII.get(MOVrr), RegAX).addReg(Reg10); in adjustForSegmentedStacks()
2215 BuildMI(allocMBB, DL, TII.get(MOVri), Reg10) in adjustForSegmentedStacks()
2217 BuildMI(allocMBB, DL, TII.get(MOVri), Reg11) in adjustForSegmentedStacks()
2220 BuildMI(allocMBB, DL, TII.get(X86::PUSHi32)) in adjustForSegmentedStacks()
2222 BuildMI(allocMBB, DL, TII.get(X86::PUSHi32)) in adjustForSegmentedStacks()
2242 BuildMI(allocMBB, DL, TII.get(X86::CALL64m)) in adjustForSegmentedStacks()
2251 BuildMI(allocMBB, DL, TII.get(X86::CALL64pcrel32)) in adjustForSegmentedStacks()
2254 BuildMI(allocMBB, DL, TII.get(X86::CALLpcrel32)) in adjustForSegmentedStacks()
2259 BuildMI(allocMBB, DL, TII.get(X86::MORESTACK_RET_RESTORE_R10)); in adjustForSegmentedStacks()
2261 BuildMI(allocMBB, DL, TII.get(X86::MORESTACK_RET)); in adjustForSegmentedStacks()
2387 addRegOffset(BuildMI(stackCheckMBB, DL, TII.get(LEAop), ScratchReg), in adjustForHiPEPrologue()
2390 addRegOffset(BuildMI(stackCheckMBB, DL, TII.get(CMPop)) in adjustForHiPEPrologue()
2392 BuildMI(stackCheckMBB, DL, TII.get(X86::JAE_1)).addMBB(&PrologueMBB); in adjustForHiPEPrologue()
2395 BuildMI(incStackMBB, DL, TII.get(CALLop)). in adjustForHiPEPrologue()
2397 addRegOffset(BuildMI(incStackMBB, DL, TII.get(LEAop), ScratchReg), in adjustForHiPEPrologue()
2399 addRegOffset(BuildMI(incStackMBB, DL, TII.get(CMPop)) in adjustForHiPEPrologue()
2401 BuildMI(incStackMBB, DL, TII.get(X86::JLE_1)).addMBB(incStackMBB); in adjustForHiPEPrologue()
2475 BuildMI(MBB, MBBI, DL, in adjustStackWithPops()
2630 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32rm), X86::ESP), in restoreWin32EHStackPointers()
2643 BuildMI(MBB, MBBI, DL, TII.get(ADDri), FramePtr) in restoreWin32EHStackPointers()
2653 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::LEA32r), BasePtr), in restoreWin32EHStackPointers()
2661 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32rm), FramePtr), in restoreWin32EHStackPointers()
2714 addFrameReference(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mi32)), in processFunctionBeforeFrameFinalized()