Home
last modified time | relevance | path

Searched refs:MBBI (Results 1 – 25 of 161) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandPseudoInsts.cpp45 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
47 bool expandCCOp(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
49 bool expandVSetVL(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
51 MachineBasicBlock::iterator MBBI, unsigned Opcode);
53 MachineBasicBlock::iterator MBBI);
55 MachineBasicBlock::iterator MBBI);
91 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB() local
92 while (MBBI != E) { in expandMBB()
93 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in expandMBB()
94 Modified |= expandMI(MBB, MBBI, NMBBI); in expandMBB()
[all …]
H A DRISCVPostRAExpandPseudoInsts.cpp44 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
46 bool expandMovImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
47 bool expandMovAddr(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
63 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB() local
64 while (MBBI != E) { in expandMBB()
65 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in expandMBB()
66 Modified |= expandMI(MBB, MBBI, NMBBI); in expandMBB()
67 MBBI = NMBBI; in expandMBB()
74 MachineBasicBlock::iterator MBBI, in expandMI() argument
76 switch (MBBI->getOpcode()) { in expandMI()
[all …]
H A DRISCVPushPopOptimizer.cpp33 bool usePopRet(MachineBasicBlock::iterator &MBBI,
35 bool adjustRetVal(MachineBasicBlock::iterator &MBBI);
50 for (MachineBasicBlock::iterator MBBI = MBB.begin(); MBBI != MBB.end(); in containsPop() local
51 MBBI = next_nodbg(MBBI, MBB.end())) in containsPop()
52 if (MBBI->getOpcode() == RISCV::CM_POP) in containsPop()
53 return MBBI; in containsPop()
58 bool RISCVPushPopOpt::usePopRet(MachineBasicBlock::iterator &MBBI, in usePopRet() argument
67 .add(MBBI->getOperand(0)) in usePopRet()
68 .add(MBBI->getOperand(1)); in usePopRet()
72 const MCInstrDesc &PopDesc = MBBI->getDesc(); in usePopRet()
[all …]
H A DRISCVExpandAtomicPseudoInsts.cpp49 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
52 MachineBasicBlock::iterator MBBI, AtomicRMWInst::BinOp,
56 MachineBasicBlock::iterator MBBI,
60 MachineBasicBlock::iterator MBBI, bool IsMasked,
97 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB()
98 while (MBBI != E) { in expandMBB()
99 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in expandMBB()
100 Modified |= expandMI(MBB, MBBI, NMBBI); in expandMBB()
101 MBBI = NMBBI; in expandMBB()
108 MachineBasicBlock::iterator MBBI, in expandMI()
95 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); expandMBB() local
106 expandMI(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,MachineBasicBlock::iterator & NextMBBI) expandMI() argument
361 expandAtomicBinOp(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,AtomicRMWInst::BinOp BinOp,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicBinOp() argument
410 expandAtomicMinMaxOp(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,AtomicRMWInst::BinOp BinOp,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicMinMaxOp() argument
542 tryToFoldBNEOnCmpXchgResult(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,Register DestReg,Register CmpValReg,Register MaskReg,MachineBasicBlock * & LoopHeadBNETarget) tryToFoldBNEOnCmpXchgResult() argument
597 expandAtomicCmpXchg(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicCmpXchg() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchExpandPseudoInsts.cpp58 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
61 MachineBasicBlock::iterator MBBI,
66 MachineBasicBlock::iterator MBBI,
69 MachineBasicBlock::iterator MBBI,
72 MachineBasicBlock::iterator MBBI,
75 MachineBasicBlock::iterator MBBI,
78 MachineBasicBlock::iterator MBBI,
81 MachineBasicBlock::iterator MBBI,
84 MachineBasicBlock::iterator MBBI,
102 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp53 bool expandMI(Block &MBB, BlockIt MBBI);
54 template <unsigned OP> bool expand(Block &MBB, BlockIt MBBI);
56 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() argument
57 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode)); in buildMI()
60 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode, in buildMI() argument
62 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode), DstReg); in buildMI()
69 bool expandArith(unsigned OpLo, unsigned OpHi, Block &MBB, BlockIt MBBI);
70 bool expandLogic(unsigned Op, Block &MBB, BlockIt MBBI);
71 bool expandLogicImm(unsigned Op, Block &MBB, BlockIt MBBI);
75 template <typename Func> bool expandAtomic(Block &MBB, BlockIt MBBI, Func f);
[all …]
H A DAVRFrameLowering.cpp52 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue()
53 DebugLoc DL = (MBBI != MBB.end()) ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
62 BuildMI(MBB, MBBI, DL, TII.get(AVR::BSETs)) in emitPrologue()
70 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue()
74 BuildMI(MBB, MBBI, DL, TII.get(AVR::INRdA), STI.getTmpRegister()) in emitPrologue()
77 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue()
81 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue()
84 BuildMI(MBB, MBBI, DL, TII.get(AVR::EORRdRr)) in emitPrologue()
102 (MBBI ! in emitPrologue()
54 MachineBasicBlock::iterator MBBI = MBB.begin(); emitPrologue() local
144 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); restoreStatusRegister() local
174 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); emitEpilogue() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZPostRewrite.cpp44 MachineBasicBlock::iterator MBBI,
49 MachineBasicBlock::iterator MBBI,
54 MachineBasicBlock::iterator MBBI,
56 bool selectMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
78 MachineBasicBlock::iterator MBBI, in selectLOCRMux() argument
82 Register DestReg = MBBI->getOperand(0).getReg(); in selectLOCRMux()
83 Register SrcReg = MBBI->getOperand(2).getReg(); in selectLOCRMux()
88 MBBI->setDesc(TII->get(LowOpcode)); in selectLOCRMux()
90 MBBI->setDesc(TII->get(HighOpcode)); in selectLOCRMux()
92 expandCondMove(MBB, MBBI, NextMBBI); in selectLOCRMux()
[all …]
H A DSystemZElimCompare.cpp213 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT() local
214 for (++MBBI; MBBI != MBBE; ++MBBI) in convertToBRCT()
215 if (getRegReferences(*MBBI, SrcReg)) in convertToBRCT()
257 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToLoadAndTrap() local
258 for (++MBBI; MBBI != MBBE; ++MBBI) in convertToLoadAndTrap()
259 if (getRegReferences(*MBBI, SrcReg)) in convertToLoadAndTrap()
474 MachineBasicBlock::iterator MBBI = MI, MBBE = MI.getParent()->end(); in adjustCCMasksForInstr() local
475 for (++MBBI; MBBI != MBBE; ++MBBI) in adjustCCMasksForInstr()
476 if (MBBI == Compare) { in adjustCCMasksForInstr()
483 MachineBasicBlock::iterator MBBI = MI, MBBE = Compare; in adjustCCMasksForInstr() local
[all …]
H A DSystemZFrameLowering.cpp315 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in spillCalleeSavedRegisters() argument
333 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::STMG)); in spillCalleeSavedRegisters()
361 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, I.getFrameIdx(), in spillCalleeSavedRegisters()
366 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, I.getFrameIdx(), in spillCalleeSavedRegisters()
375 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in restoreCalleeSavedRegisters() argument
384 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in restoreCalleeSavedRegisters()
390 TII->loadRegFromStackSlot(MBB, MBBI, Reg, I.getFrameIdx(), in restoreCalleeSavedRegisters()
393 TII->loadRegFromStackSlot(MBB, MBBI, Reg, I.getFrameIdx(), in restoreCalleeSavedRegisters()
408 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::LMG)); in restoreCalleeSavedRegisters()
477 MachineBasicBlock::iterator &MBBI, const DebugLoc &DL, in emitIncrement() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PointerAuth.cpp48 void signLR(MachineFunction &MF, MachineBasicBlock::iterator MBBI) const;
51 MachineBasicBlock::iterator MBBI) const;
54 void emitBlend(MachineBasicBlock::iterator MBBI, Register Result,
58 void expandPAuthBlend(MachineBasicBlock::iterator MBBI) const;
79 MachineBasicBlock::iterator MBBI, DebugLoc DL, in BuildPACM() argument
87 BuildMI(MBB, MBBI, DL, TII->get(AArch64::ADR)) in BuildPACM()
95 BuildMI(MBB, MBBI, DL, TII->get(AArch64::PACM)).setMIFlag(Flags); in BuildPACM()
99 MachineBasicBlock::iterator MBBI) const { in signLR()
106 MachineBasicBlock &MBB = *MBBI->getParent(); in signLR()
112 BuildMI(MBB, MBBI, DL, TII->get(AArch64::EMITBKEY)) in signLR()
[all …]
H A DAArch64ExpandPseudoInsts.cpp65 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
68 MachineBasicBlock::iterator MBBI,
72 bool expandMOVImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
76 MachineBasicBlock::iterator MBBI);
77 bool expandCMP_SWAP(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
82 MachineBasicBlock::iterator MBBI,
85 MachineBasicBlock::iterator MBBI,
88 MachineBasicBlock::iterator MBBI, unsigned Opc,
91 MachineBasicBlock::iterator MBBI);
92 bool expandCALL_BTI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
[all …]
H A DAArch64SpeculationHardening.cpp158 MachineBasicBlock::iterator MBBI) const;
160 MachineBasicBlock::iterator MBBI,
163 MachineBasicBlock::iterator MBBI,
168 MachineBasicBlock::iterator MBBI,
173 MachineBasicBlock::iterator MBBI,
175 bool insertCSDB(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
218 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in insertFullSpeculationBarrier() argument
221 BuildMI(MBB, MBBI, DL, TII->get(AArch64::DSB)).addImm(0xf); in insertFullSpeculationBarrier()
222 BuildMI(MBB, MBBI, DL, TII->get(AArch64::ISB)).addImm(0xf); in insertFullSpeculationBarrier()
361 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) cons in insertSPToRegTaintPropagation()
385 insertRegToSPTaintPropagation(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,unsigned TmpReg) const insertRegToSPTaintPropagation() argument
433 makeGPRSpeculationSafe(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,MachineInstr & MI,unsigned Reg) makeGPRSpeculationSafe() argument
468 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); slhLoads() local
550 expandSpeculationSafeValue(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,bool UsesFullSpeculationBarrier) expandSpeculationSafeValue() argument
592 insertCSDB(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,DebugLoc DL) insertCSDB() argument
619 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); lowerSpeculationSafeValuePseudos() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ExpandPseudo.cpp65 MachineBasicBlock::iterator MBBI);
67 MachineBasicBlock::iterator MBBI);
68 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
91 MachineBasicBlock *MBB, MachineBasicBlock::iterator MBBI) { in INITIALIZE_PASS()
93 MachineInstr *JTInst = &*MBBI; in INITIALIZE_PASS()
107 BuildMI(*MBB, MBBI, DL, TII->get(X86::LEA64r), X86::R11) in INITIALIZE_PASS()
114 BuildMI(*MBB, MBBI, DL, TII->get(X86::CMP64rr)) in INITIALIZE_PASS()
128 BuildMI(*MBB, MBBI, DL, TII->get(X86::JCC_1)).addMBB(ThenMBB).addImm(CC); in INITIALIZE_PASS()
133 MBBI = MBB->end(); in INITIALIZE_PASS()
143 BuildMI(*MBB, MBBI, DL, TII->get(X86::TAILJMPd64)) in INITIALIZE_PASS()
[all …]
H A DX86FrameLowering.cpp230 MachineBasicBlock::iterator &MBBI, in emitSPUpdate() argument
251 BuildMI(MBB, MBBI, DL, TII.get(X86::STACKALLOC_W_PROBING)).addImm(Offset); in emitSPUpdate()
262 Reg = TRI->findDeadCallerSavedReg(MBB, MBBI); in emitSPUpdate()
267 BuildMI(MBB, MBBI, DL, TII.get(getMOVriOpcode(Is64Bit, Offset)), Reg) in emitSPUpdate()
270 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AddSubRROpc), StackPtr) in emitSPUpdate()
284 BuildMI(MBB, MBBI, DL, TII.get(X86::PUSH64r)) in emitSPUpdate()
293 BuildMI(MBB, MBBI, DL, TII.get(getMOVriOpcode(Is64Bit, Offset)), Rax) in emitSPUpdate()
296 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(X86::ADD64rr), Rax) in emitSPUpdate()
302 BuildMI(MBB, MBBI, DL, TII.get(X86::XCHG64rm), Rax).addReg(Rax), in emitSPUpdate()
305 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rm), StackPtr), in emitSPUpdate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp46 MachineBasicBlock::iterator MBBI, in BuildCFI() argument
52 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::CFI_INSTRUCTION)) in BuildCFI()
58 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in emitCalleeSavedFrameMoves() argument
74 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves()
77 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves()
91 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
92 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
110 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
116 BuildCFI(MBB, MBBI, DL, in emitPrologue()
123 MBB, MBBI, DL, in emitPrologue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp138 MachineBasicBlock::iterator &MBBI, in findDeadCallerSavedReg() argument
146 if (MBBI == MBB.end()) in findDeadCallerSavedReg()
149 switch (MBBI->getOpcode()) { in findDeadCallerSavedReg()
156 for (unsigned i = 0, e = MBBI->getNumOperands(); i != e; ++i) { in findDeadCallerSavedReg()
157 MachineOperand &MO = MBBI->getOperand(i); in findDeadCallerSavedReg()
198 MachineBasicBlock::iterator MBBI, in BuildStackAlignAND() argument
210 BuildMI(MBB, MBBI, DL, TII.get(MovOp), Tmp) in BuildStackAlignAND()
214 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AndOp), Tmp) in BuildStackAlignAND()
222 BuildMI(MBB, MBBI, DL, TII.get(MovOp), Reg) in BuildStackAlignAND()
336 MachineBasicBlock::iterator &MBBI, in emitSPUpdate() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.cpp137 MachineBasicBlock::iterator MBBI, in emitPrologueInsns() argument
152 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
157 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
164 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
169 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
176 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
185 MachineBasicBlock::iterator MBBI, in emitEpilogueInsns() argument
200 BuildMI(MBB, MBBI, DL, TII.get(VE::LDrii), VE::SX17) in emitEpilogueInsns()
205 BuildMI(MBB, MBBI, DL, TII.get(VE::LDrii), VE::SX16) in emitEpilogueInsns()
209 BuildMI(MBB, MBBI, DL, TII.get(VE::LDrii), VE::SX15) in emitEpilogueInsns()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb1FrameLowering.cpp67 MachineBasicBlock::iterator &MBBI, in emitPrologueEpilogueSPUpdate() argument
84 BuildMI(MBB, MBBI, dl, TII.get(XOInstr), ScratchReg) in emitPrologueEpilogueSPUpdate()
87 MRI.emitLoadConstPool(MBB, MBBI, dl, ScratchReg, 0, NumBytes, ARMCC::AL, in emitPrologueEpilogueSPUpdate()
90 BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDhirr), ARM::SP) in emitPrologueEpilogueSPUpdate()
99 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitPrologueEpilogueSPUpdate()
105 MachineBasicBlock::iterator &MBBI, in emitCallSPUpdate() argument
109 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitCallSPUpdate()
149 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
182 emitPrologueEpilogueSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, in emitPrologue()
187 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
[all …]
H A DARMExpandPseudoInsts.cpp64 MachineBasicBlock::iterator MBBI,
67 void ExpandVLD(MachineBasicBlock::iterator &MBBI);
68 void ExpandVST(MachineBasicBlock::iterator &MBBI);
69 void ExpandLaneOp(MachineBasicBlock::iterator &MBBI);
70 void ExpandVTBL(MachineBasicBlock::iterator &MBBI,
72 void ExpandMQQPRLoadStore(MachineBasicBlock::iterator &MBBI);
74 MachineBasicBlock::iterator &MBBI);
76 MachineBasicBlock::iterator &MBBI);
78 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
82 MachineBasicBlock::iterator MBBI);
[all …]
H A DARMSLSHardening.cpp72 MachineBasicBlock::iterator MBBI, in insertSpeculationBarrier() argument
75 assert(MBBI != MBB.begin() && in insertSpeculationBarrier()
77 assert(std::prev(MBBI)->isBarrier() && in insertSpeculationBarrier()
80 assert(std::prev(MBBI)->isTerminator() && in insertSpeculationBarrier()
90 if (MBBI == MBB.end() || !isSpeculationBarrierEndBBOpcode(MBBI->getOpcode())) in insertSpeculationBarrier()
91 BuildMI(MBB, MBBI, DL, TII->get(BarrierOpc)); in insertSpeculationBarrier()
112 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(), E = MBB.end(); in hardenReturnsAndBRs() local
114 for (; MBBI != E; MBBI = NextMBBI) { in hardenReturnsAndBRs()
115 MachineInstr &MI = *MBBI; in hardenReturnsAndBRs()
116 NextMBBI = std::next(MBBI); in hardenReturnsAndBRs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp61 MachineBasicBlock::iterator MBBI, in EmitDefCfaRegister() argument
66 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaRegister()
71 MachineBasicBlock::iterator MBBI, in EmitDefCfaOffset() argument
77 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaOffset()
82 MachineBasicBlock::iterator MBBI, const DebugLoc &dl, in EmitCfiOffset() argument
88 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitCfiOffset()
99 MachineBasicBlock::iterator MBBI, const DebugLoc &dl, in IfNeededExtSP() argument
107 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(OpImm); in IfNeededExtSP()
110 EmitDefCfaOffset(MBB, MBBI, dl, TII, Adjusted*4); in IfNeededExtSP()
122 MachineBasicBlock::iterator MBBI, const DebugLoc &dl, in IfNeededLDAWSP() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp45 MachineBasicBlock::iterator MBBI, in generateStackAdjustment() argument
72 BuildMI(MBB, MBBI, dl, TII.get(AdjOp), StackPtr) in generateStackAdjustment()
97 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in adjustStackToMatchRecords() argument
108 generateStackAdjustment(MBB, MBBI, *ST.getInstrInfo(), DebugLoc(), in adjustStackToMatchRecords()
122 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
141 BuildMI(MBB, MBBI, dl, TII->get(Opc), ARC::SP) in emitPrologue()
147 BuildMI(MBB, MBBI, dl, TII->get(ARC::ST_AW_rs9)) in emitPrologue()
158 BuildMI(MBB, MBBI, dl, TII->get(ARC::PUSH_S_BLINK)); in emitPrologue()
159 BuildMI(MBB, MBBI, dl, TII->get(ARC::SUB_rru6)) in emitPrologue()
163 BuildMI(MBB, MBBI, dl, TII->get(ARC::BL)) in emitPrologue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DLeonPasses.cpp49 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction()
50 MachineInstr &MI = *MBBI; in runOnMachineFunction()
53 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
138 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction()
139 MachineInstr &MI = *MBBI; in runOnMachineFunction()
148 BuildMI(MBB, MBBI, D in runOnMachineFunction()
46 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { runOnMachineFunction() local
130 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { runOnMachineFunction() local
[all...]
H A DSparcFrameLowering.cpp42 MachineBasicBlock::iterator MBBI, in emitSPAdjustment() argument
52 BuildMI(MBB, MBBI, dl, TII.get(ADDri), SP::O6) in emitSPAdjustment()
64 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
66 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) in emitSPAdjustment()
68 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
77 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
79 BuildMI(MBB, MBBI, dl, TII.get(SP::XORri), SP::G1) in emitSPAdjustment()
81 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
96 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
149 emitSPAdjustment(MF, MBB, MBBI, -NumBytes, SAVErr, SAVEri); in emitPrologue()
[all …]

1234567