Lines Matching defs:I
198 Iter I = Position, E = Position->getParent()->end();
199 I = std::find_if_not(I, E,
202 return I;
231 for (unsigned I = 0, E = Br.getDesc().getNumOperands(); I < E; ++I) {
232 const MachineOperand &MO = Br.getOperand(I);
298 for (unsigned I = 0, E = MBBInfos.size(); I < E; ++I) {
299 MachineBasicBlock *MBB = MFp->getBlockNumbered(I);
303 MBBInfos[I].Size += TII->getInstSizeInBytes(MI);
346 for (unsigned I = 0, E = Br->getDesc().getNumOperands(); I < E; ++I) {
347 MachineOperand &MO = Br->getOperand(I);
412 void MipsBranchExpansion::expandToLongBranch(MBBInfo &I) {
414 MachineBasicBlock *MBB = I.Br->getParent(), *TgtMBB = getTargetMBB(*I.Br);
415 DebugLoc DL = I.Br->getDebugLoc();
663 if (STI->hasMips32r6() && TII->isBranchOffsetInRange(Mips::BC, I.Offset)) {
722 if (I.Br->isUnconditionalBranch()) {
724 assert(I.Br->getDesc().getNumOperands() == 1);
725 I.Br->removeOperand(0);
726 I.Br->addOperand(MachineOperand::CreateMBB(LongBrMBB));
729 replaceBranch(*MBB, I.Br, DL, &*FallThroughMBB);
734 MachineBasicBlock::iterator I = MBB.begin();
736 BuildMI(MBB, I, DL, TII->get(Mips::LUi), Mips::V0)
738 BuildMI(MBB, I, DL, TII->get(Mips::ADDiu), Mips::V0)
749 for (Iter I = FI->begin(); I != FI->end(); ++I) {
752 if (!Predicate(*I))
757 std::next(I) == FI->end() && std::next(FI) == MFp->end();
759 std::pair<Iter, bool> Res = getNextMachineInstr(std::next(I), &*FI);
764 if (LastInstInFunction || !SafeInSlot(*IInSlot, *I)) {
765 MachineBasicBlock::instr_iterator Iit = I->getIterator();
769 TII->insertNop(*(I->getParent()), std::next(I), I->getDebugLoc())
786 [this](auto &I) -> bool { return TII->HasForbiddenSlot(I); },
787 [this](auto &IInSlot, auto &I) -> bool {
797 return handleSlot([this](auto &I) -> bool { return TII->HasFPUDelaySlot(I); },
798 [this](auto &IInSlot, auto &I) -> bool {
799 return TII->SafeInFPUDelaySlot(IInSlot, I);
809 [this](auto &I) -> bool { return TII->HasLoadDelaySlot(I); },
810 [this](auto &IInSlot, auto &I) -> bool {
811 return TII->SafeInLoadDelaySlot(IInSlot, I);
829 for (unsigned I = 0, E = MBBInfos.size(); I < E; ++I) {
830 MachineBasicBlock *MBB = MFp->getBlockNumbered(I);
850 MBBInfos[I].Offset = Offset;
851 MBBInfos[I].Br = &*Br;
858 SmallVectorImpl<MBBInfo>::iterator I, E = MBBInfos.end();
860 for (I = MBBInfos.begin(); I != E; ++I) {
863 if (!I->Br)
866 expandToLongBranch(*I);