Lines Matching defs:BB
18 // FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock
35 void DeleteDeadBlock(BasicBlock *BB);
38 /// FoldSingleEntryPHINodes - We know that BB has one predecessor. If there are
42 void FoldSingleEntryPHINodes(BasicBlock *BB, Pass *P = 0);
49 bool DeleteDeadPHIs(BasicBlock *BB, const TargetLibraryInfo *TLI = 0);
53 bool MergeBlockIntoPredecessor(BasicBlock *BB, Pass *P = 0);
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
145 /// SplitBlockPredecessors - This method transforms BB by introducing a new
146 /// basic block into the function, and moving some of the predecessors of BB to
157 BasicBlock *SplitBlockPredecessors(BasicBlock *BB, ArrayRef<BasicBlock*> Preds,
182 ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
209 /// GetIfCondition - Check whether BB is the merge point of a if-region.
211 /// BB will be taken. Also, return by references the block that will be
215 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,