• Home
  • Raw
  • Download

Lines Matching refs:MachineBasicBlock

36 MachineBasicBlock::MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb)  in MachineBasicBlock()  function in MachineBasicBlock
42 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock()
48 MCSymbol *MachineBasicBlock::getSymbol() const { in getSymbol()
58 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { in operator <<()
70 void ilist_traits<MachineBasicBlock>::addNodeToList(MachineBasicBlock *N) { in addNodeToList()
76 for (MachineBasicBlock::iterator I = N->begin(), E = N->end(); I != E; ++I) in addNodeToList()
82 void ilist_traits<MachineBasicBlock>::removeNodeFromList(MachineBasicBlock *N) { in removeNodeFromList()
123 MachineBasicBlock::iterator first, in transferNodesFromList()
124 MachineBasicBlock::iterator last) { in transferNodesFromList()
142 MachineBasicBlock::iterator MachineBasicBlock::getFirstNonPHI() { in getFirstNonPHI()
149 MachineBasicBlock::iterator
150 MachineBasicBlock::SkipPHIsAndLabels(MachineBasicBlock::iterator I) { in SkipPHIsAndLabels()
156 MachineBasicBlock::iterator MachineBasicBlock::getFirstTerminator() { in getFirstTerminator()
165 MachineBasicBlock::iterator MachineBasicBlock::getLastNonDebugInstr() { in getLastNonDebugInstr()
177 const MachineBasicBlock *MachineBasicBlock::getLandingPadSuccessor() const { in getLandingPadSuccessor()
187 void MachineBasicBlock::dump() const { in dump()
191 StringRef MachineBasicBlock::getName() const { in getName()
198 void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const { in print()
260 void MachineBasicBlock::removeLiveIn(unsigned Reg) { in removeLiveIn()
267 bool MachineBasicBlock::isLiveIn(unsigned Reg) const { in isLiveIn()
272 void MachineBasicBlock::moveBefore(MachineBasicBlock *NewAfter) { in moveBefore()
276 void MachineBasicBlock::moveAfter(MachineBasicBlock *NewBefore) { in moveAfter()
281 void MachineBasicBlock::updateTerminator() { in updateTerminator()
286 MachineBasicBlock *TBB = 0, *FBB = 0; in updateTerminator()
321 MachineBasicBlock *MBBA = *succ_begin(); in updateTerminator()
322 MachineBasicBlock *MBBB = *llvm::next(succ_begin()); in updateTerminator()
341 void MachineBasicBlock::addSuccessor(MachineBasicBlock *succ, uint32_t weight) { in addSuccessor()
355 void MachineBasicBlock::removeSuccessor(MachineBasicBlock *succ) { in removeSuccessor()
369 MachineBasicBlock::succ_iterator
370 MachineBasicBlock::removeSuccessor(succ_iterator I) { in removeSuccessor()
383 void MachineBasicBlock::replaceSuccessor(MachineBasicBlock *Old, in replaceSuccessor()
384 MachineBasicBlock *New) { in replaceSuccessor()
399 void MachineBasicBlock::addPredecessor(MachineBasicBlock *pred) { in addPredecessor()
403 void MachineBasicBlock::removePredecessor(MachineBasicBlock *pred) { in removePredecessor()
409 void MachineBasicBlock::transferSuccessors(MachineBasicBlock *fromMBB) { in transferSuccessors()
414 MachineBasicBlock *Succ = *fromMBB->succ_begin(); in transferSuccessors()
428 MachineBasicBlock::transferSuccessorsAndUpdatePHIs(MachineBasicBlock *fromMBB) { in transferSuccessorsAndUpdatePHIs()
433 MachineBasicBlock *Succ = *fromMBB->succ_begin(); in transferSuccessorsAndUpdatePHIs()
438 for (MachineBasicBlock::iterator MI = Succ->begin(), ME = Succ->end(); in transferSuccessorsAndUpdatePHIs()
448 bool MachineBasicBlock::isSuccessor(const MachineBasicBlock *MBB) const { in isSuccessor()
453 bool MachineBasicBlock::isLayoutSuccessor(const MachineBasicBlock *MBB) const { in isLayoutSuccessor()
458 bool MachineBasicBlock::canFallThrough() { in canFallThrough()
470 MachineBasicBlock *TBB = 0, *FBB = 0; in canFallThrough()
503 MachineBasicBlock *
504 MachineBasicBlock::SplitCriticalEdge(MachineBasicBlock *Succ, Pass *P) { in SplitCriticalEdge()
511 MachineBasicBlock *TBB = 0, *FBB = 0; in SplitCriticalEdge()
526 MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock(); in SplitCriticalEdge()
568 for (MachineBasicBlock::iterator i = Succ->begin(), e = Succ->end(); in SplitCriticalEdge()
575 for (MachineBasicBlock::livein_iterator I = Succ->livein_begin(), in SplitCriticalEdge()
604 MachineBasicBlock *PredBB = *PI; in SplitCriticalEdge()
655 MachineBasicBlock *MachineBasicBlock::removeFromParent() { in removeFromParent()
664 void MachineBasicBlock::eraseFromParent() { in eraseFromParent()
672 void MachineBasicBlock::ReplaceUsesOfBlockWith(MachineBasicBlock *Old, in ReplaceUsesOfBlockWith()
673 MachineBasicBlock *New) { in ReplaceUsesOfBlockWith()
676 MachineBasicBlock::iterator I = end(); in ReplaceUsesOfBlockWith()
701 bool MachineBasicBlock::CorrectExtraCFGEdges(MachineBasicBlock *DestA, in CorrectExtraCFGEdges()
702 MachineBasicBlock *DestB, in CorrectExtraCFGEdges()
738 SmallPtrSet<const MachineBasicBlock*, 8> SeenMBBs; in CorrectExtraCFGEdges()
739 MachineBasicBlock::succ_iterator SI = succ_begin(); in CorrectExtraCFGEdges()
741 const MachineBasicBlock *MBB = *SI; in CorrectExtraCFGEdges()
758 MachineBasicBlock::findDebugLoc(MachineBasicBlock::iterator &MBBI) { in findDebugLoc()
760 MachineBasicBlock::iterator E = end(); in findDebugLoc()
763 MachineBasicBlock::iterator MBBI2 = MBBI; in findDebugLoc()
774 uint32_t MachineBasicBlock::getSuccWeight(MachineBasicBlock *succ) { in getSuccWeight()
784 MachineBasicBlock::weight_iterator MachineBasicBlock::
785 getWeightIterator(MachineBasicBlock::succ_iterator I) { in getWeightIterator()
792 void llvm::WriteAsOperand(raw_ostream &OS, const MachineBasicBlock *MBB, in WriteAsOperand()