Lines Matching defs:BB
18 // FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock
35 void DeleteDeadBlock(BasicBlock *BB);
37 /// FoldSingleEntryPHINodes - We know that BB has one predecessor. If there are
41 void FoldSingleEntryPHINodes(BasicBlock *BB, Pass *P = nullptr);
48 bool DeleteDeadPHIs(BasicBlock *BB, const TargetLibraryInfo *TLI = nullptr);
52 bool MergeBlockIntoPredecessor(BasicBlock *BB, Pass *P = nullptr);
96 inline BasicBlock *SplitCriticalEdge(BasicBlock *BB, succ_iterator SI,
98 return SplitCriticalEdge(BB->getTerminator(), SI.getSuccessorIndex(), P);
101 /// SplitCriticalEdge - If the edge from *PI to BB is not critical, return
146 /// SplitBlockPredecessors - This method transforms BB by introducing a new
147 /// basic block into the function, and moving some of the predecessors of BB to
158 BasicBlock *SplitBlockPredecessors(BasicBlock *BB, ArrayRef<BasicBlock*> Preds,
183 ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
229 /// GetIfCondition - Check whether BB is the merge point of a if-region.
231 /// BB will be taken. Also, return by references the block that will be
234 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,