• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/

Lines Matching defs:NewBB

254     void updateForInsertedWaterBlock(MachineBasicBlock *NewBB);
869 void ARMConstantIslands::updateForInsertedWaterBlock(MachineBasicBlock *NewBB) {
871 NewBB->getParent()->RenumberBlocks(NewBB);
875 BBUtils->insert(NewBB->getNumber(), BasicBlockInfo());
879 water_iterator IP = llvm::lower_bound(WaterList, NewBB, CompareMBBNumbers);
880 WaterList.insert(IP, NewBB);
897 MachineBasicBlock *NewBB =
900 MF->insert(MBBI, NewBB);
902 // Splice the instructions starting with MI over to NewBB.
903 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
905 // Add an unconditional branch from OrigBB to NewBB.
911 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB);
914 .addMBB(NewBB)
918 // Update the CFG. All succs of OrigBB are now succs of NewBB.
919 NewBB->transferSuccessors(OrigBB);
921 // OrigBB branches to NewBB.
922 OrigBB->addSuccessor(NewBB);
928 NewBB->addLiveIn(L);
932 // the Water goes after OrigBB, not NewBB.
933 MF->RenumberBlocks(NewBB);
937 BBUtils->insert(NewBB->getNumber(), BasicBlockInfo());
942 // unconditional branch - in that case we want to insert NewBB).
946 WaterList.insert(std::next(IP), NewBB);
960 BBUtils->computeBlockSize(NewBB);
965 return NewBB;
2382 MachineBasicBlock *NewBB =
2384 if (NewBB)
2385 MJTI->ReplaceMBBInJumpTable(JTI, JTBBs[j], NewBB);
2424 MachineBasicBlock *NewBB =
2427 MF->insert(MBBI, NewBB);
2431 NewBB->addLiveIn(RegMaskPair);
2433 // Add an unconditional branch from NewBB to BB.
2437 BuildMI(NewBB, DebugLoc(), TII->get(ARM::t2B))
2441 BuildMI(NewBB, DebugLoc(), TII->get(ARM::tB))
2446 MF->RenumberBlocks(NewBB);
2449 NewBB->addSuccessor(BB);
2450 JTBB->replaceSuccessor(BB, NewBB);
2453 return NewBB;