Lines Matching refs:MBBI

72                                      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()
120 insertSpeculationBarrier(ST, MBB, std::next(MBBI), MI.getDebugLoc()); in hardenReturnsAndBRs()
247 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) const { in ConvertIndirectCallToIndirectJump()
277 MachineInstr &IndirectCall = *MBBI; in ConvertIndirectCallToIndirectJump()
308 MachineFunction &MF = *MBBI->getMF(); in ConvertIndirectCallToIndirectJump()
317 isThumb ? BuildMI(MBB, MBBI, DL, TII->get(ARM::tBL)) in ConvertIndirectCallToIndirectJump()
321 : BuildMI(MBB, MBBI, DL, TII->get(ARM::BL)).addGlobalAddress(GV); in ConvertIndirectCallToIndirectJump()
357 MBB.erase(MBBI); in ConvertIndirectCallToIndirectJump()
365 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in hardenIndirectCalls() local
367 for (; MBBI != E; MBBI = NextMBBI) { in hardenIndirectCalls()
368 MachineInstr &MI = *MBBI; in hardenIndirectCalls()
369 NextMBBI = std::next(MBBI); in hardenIndirectCalls()
374 ConvertIndirectCallToIndirectJump(MBB, MBBI); in hardenIndirectCalls()