Lines Matching refs:BuildMI
272 BuildMI(MBB, MBBI, DL, TII.get(Opc), Reg) in emitSPUpdate()
277 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitSPUpdate()
296 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(Opc)) in emitSPUpdate()
349 MI = addRegOffset(BuildMI(MBB, MBBI, DL, in BuildStackAdjustment()
358 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in BuildStackAdjustment()
420 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::CFI_INSTRUCTION)) in BuildCFI()
585 addRegOffset(BuildMI(&MBB, DL, TII.get(X86::MOV64mr)), X86::RSP, false, in emitStackProbeInline()
588 addRegOffset(BuildMI(&MBB, DL, TII.get(X86::MOV64mr)), X86::RSP, false, in emitStackProbeInline()
593 BuildMI(&MBB, DL, TII.get(X86::MOV64rr), SizeReg).addReg(X86::RAX); in emitStackProbeInline()
598 BuildMI(&MBB, DL, TII.get(X86::XOR64rr), ZeroReg) in emitStackProbeInline()
601 BuildMI(&MBB, DL, TII.get(X86::MOV64rr), CopyReg).addReg(X86::RSP); in emitStackProbeInline()
602 BuildMI(&MBB, DL, TII.get(X86::SUB64rr), TestReg) in emitStackProbeInline()
605 BuildMI(&MBB, DL, TII.get(X86::CMOVB64rr), FinalReg) in emitStackProbeInline()
616 BuildMI(&MBB, DL, TII.get(X86::MOV64rm), LimitReg) in emitStackProbeInline()
622 BuildMI(&MBB, DL, TII.get(X86::CMP64rr)).addReg(FinalReg).addReg(LimitReg); in emitStackProbeInline()
624 BuildMI(&MBB, DL, TII.get(X86::JAE_1)).addMBB(ContinueMBB); in emitStackProbeInline()
627 BuildMI(RoundMBB, DL, TII.get(X86::AND64ri32), RoundedReg) in emitStackProbeInline()
630 BuildMI(RoundMBB, DL, TII.get(X86::JMP_1)).addMBB(LoopMBB); in emitStackProbeInline()
636 BuildMI(LoopMBB, DL, TII.get(X86::PHI), JoinReg) in emitStackProbeInline()
643 addRegOffset(BuildMI(LoopMBB, DL, TII.get(X86::LEA64r), ProbeReg), JoinReg, in emitStackProbeInline()
647 BuildMI(LoopMBB, DL, TII.get(X86::MOV8mi)) in emitStackProbeInline()
654 BuildMI(LoopMBB, DL, TII.get(X86::CMP64rr)) in emitStackProbeInline()
657 BuildMI(LoopMBB, DL, TII.get(X86::JNE_1)).addMBB(LoopMBB); in emitStackProbeInline()
663 addRegOffset(BuildMI(*ContinueMBB, ContinueMBBI, DL, TII.get(X86::MOV64rm), in emitStackProbeInline()
666 addRegOffset(BuildMI(*ContinueMBB, ContinueMBBI, DL, TII.get(X86::MOV64rm), in emitStackProbeInline()
673 BuildMI(*ContinueMBB, ContinueMBBI, DL, TII.get(X86::SUB64rr), X86::RSP) in emitStackProbeInline()
737 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64ri), X86::R11) in emitStackProbeCall()
739 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)).addReg(X86::R11); in emitStackProbeCall()
741 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)).addExternalSymbol(Symbol); in emitStackProbeCall()
756 BuildMI(MBB, MBBI, DL, TII.get(X86::SUB64rr), X86::RSP) in emitStackProbeCall()
776 BuildMI(MBB, MBBI, DL, TII.get(X86::CALLpcrel32)) in emitStackProbeInlineStub()
814 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AndOp), Reg) in BuildStackAlignAND()
1017 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(MOVmr)), StackPtr, true, 16) in emitPrologue()
1046 BuildMI(MBB, MBBI, DL, TII.get(Is64Bit ? X86::PUSH64r : X86::PUSH32r)) in emitPrologue()
1064 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_PushReg)) in emitPrologue()
1071 BuildMI(MBB, MBBI, DL, in emitPrologue()
1125 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_PushReg)).addImm(Reg).setMIFlag( in emitPrologue()
1166 BuildMI(MBB, MBBI, DL, TII.get(X86::PUSH32r)) in emitPrologue()
1175 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32ri), X86::EAX) in emitPrologue()
1179 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64ri32), X86::RAX) in emitPrologue()
1183 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64ri), X86::RAX) in emitPrologue()
1190 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32ri), X86::EAX) in emitPrologue()
1201 addRegOffset(BuildMI(MF, DL, TII.get(X86::MOV32rm), X86::EAX), in emitPrologue()
1211 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_StackAlloc)) in emitPrologue()
1226 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rm), Establisher), in emitPrologue()
1233 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mr)), StackPtr, in emitPrologue()
1252 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::LEA64r), FramePtr), in emitPrologue()
1255 BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rr), FramePtr) in emitPrologue()
1260 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_SetFrame)) in emitPrologue()
1278 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32mr)), FrameReg, in emitPrologue()
1296 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_SaveXMM)) in emitPrologue()
1306 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_EndPrologue)) in emitPrologue()
1316 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mr)), StackPtr, false, in emitPrologue()
1343 BuildMI(MBB, MBBI, DL, TII.get(Opc), BasePtr) in emitPrologue()
1350 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opm)), in emitPrologue()
1366 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opm)), UsedReg, true, Offset) in emitPrologue()
1395 BuildMI(MBB, MBBI, DL, TII.get(X86::CLD)) in emitPrologue()
1516 BuildMI(MBB, MBBI, DL, TII.get(Is64Bit ? X86::POP64r : X86::POP32r), in emitEpilogue()
1522 BuildMI(MBB, MBBI, DL, TII.get(Is64Bit ? X86::POP64r : X86::POP32r), in emitEpilogue()
1536 BuildMI(MBB, MBBI, DL, in emitEpilogue()
1563 BuildMI(MBB, FirstCSPop, DL, TII.get(X86::LEA64r), ReturnReg) in emitEpilogue()
1571 BuildMI(MBB, FirstCSPop, DL, TII.get(X86::MOV32ri), ReturnReg) in emitEpilogue()
1608 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr), in emitEpilogue()
1613 BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitEpilogue()
1630 BuildMI(MBB, MBBI, DL, TII.get(X86::SEH_Epilogue)); in emitEpilogue()
1929 BuildMI(MBB, MI, DL, TII.get(Opc)).addReg(Reg, getKillRegState(CanKill)) in spillCalleeSavedRegisters()
1997 BuildMI(MBB, MI, DL, TII.get(Opc), Reg) in restoreCalleeSavedRegisters()
2174 … BuildMI(checkMBB, DL, TII.get(IsLP64 ? X86::LEA64r : X86::LEA64_32r), ScratchReg).addReg(X86::RSP) in adjustForSegmentedStacks()
2177 BuildMI(checkMBB, DL, TII.get(IsLP64 ? X86::CMP64rm : X86::CMP32rm)).addReg(ScratchReg) in adjustForSegmentedStacks()
2201 BuildMI(checkMBB, DL, TII.get(X86::LEA32r), ScratchReg).addReg(X86::ESP) in adjustForSegmentedStacks()
2206 BuildMI(checkMBB, DL, TII.get(X86::CMP32rm)).addReg(ScratchReg) in adjustForSegmentedStacks()
2231 BuildMI(checkMBB, DL, TII.get(X86::PUSH32r)) in adjustForSegmentedStacks()
2234 BuildMI(checkMBB, DL, TII.get(X86::MOV32ri), ScratchReg2) in adjustForSegmentedStacks()
2236 BuildMI(checkMBB, DL, TII.get(X86::CMP32rm)) in adjustForSegmentedStacks()
2243 BuildMI(checkMBB, DL, TII.get(X86::POP32r), ScratchReg2); in adjustForSegmentedStacks()
2249 BuildMI(checkMBB, DL, TII.get(X86::JA_1)).addMBB(&PrologueMBB); in adjustForSegmentedStacks()
2264 BuildMI(allocMBB, DL, TII.get(MOVrr), RegAX).addReg(Reg10); in adjustForSegmentedStacks()
2266 BuildMI(allocMBB, DL, TII.get(MOVri), Reg10) in adjustForSegmentedStacks()
2268 BuildMI(allocMBB, DL, TII.get(MOVri), Reg11) in adjustForSegmentedStacks()
2271 BuildMI(allocMBB, DL, TII.get(X86::PUSHi32)) in adjustForSegmentedStacks()
2273 BuildMI(allocMBB, DL, TII.get(X86::PUSHi32)) in adjustForSegmentedStacks()
2293 BuildMI(allocMBB, DL, TII.get(X86::CALL64m)) in adjustForSegmentedStacks()
2302 BuildMI(allocMBB, DL, TII.get(X86::CALL64pcrel32)) in adjustForSegmentedStacks()
2305 BuildMI(allocMBB, DL, TII.get(X86::CALLpcrel32)) in adjustForSegmentedStacks()
2310 BuildMI(allocMBB, DL, TII.get(X86::MORESTACK_RET_RESTORE_R10)); in adjustForSegmentedStacks()
2312 BuildMI(allocMBB, DL, TII.get(X86::MORESTACK_RET)); in adjustForSegmentedStacks()
2470 addRegOffset(BuildMI(stackCheckMBB, DL, TII.get(LEAop), ScratchReg), in adjustForHiPEPrologue()
2473 addRegOffset(BuildMI(stackCheckMBB, DL, TII.get(CMPop)) in adjustForHiPEPrologue()
2475 BuildMI(stackCheckMBB, DL, TII.get(X86::JAE_1)).addMBB(&PrologueMBB); in adjustForHiPEPrologue()
2478 BuildMI(incStackMBB, DL, TII.get(CALLop)). in adjustForHiPEPrologue()
2480 addRegOffset(BuildMI(incStackMBB, DL, TII.get(LEAop), ScratchReg), in adjustForHiPEPrologue()
2482 addRegOffset(BuildMI(incStackMBB, DL, TII.get(CMPop)) in adjustForHiPEPrologue()
2484 BuildMI(incStackMBB, DL, TII.get(X86::JLE_1)).addMBB(incStackMBB); in adjustForHiPEPrologue()
2561 BuildMI(MBB, MBBI, DL, in adjustStackWithPops()
2740 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32rm), X86::ESP), in restoreWin32EHStackPointers()
2753 BuildMI(MBB, MBBI, DL, TII.get(ADDri), FramePtr) in restoreWin32EHStackPointers()
2763 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::LEA32r), BasePtr), in restoreWin32EHStackPointers()
2771 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV32rm), FramePtr), in restoreWin32EHStackPointers()
2984 addFrameReference(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64mi32)), in processFunctionBeforeFrameFinalized()