Lines Matching refs:ThenBlock
986 BasicBlock *ThenBlock) { in SplitBlockAndInsertIfThen() argument
992 bool CreateThenBlock = (ThenBlock == nullptr); in SplitBlockAndInsertIfThen()
994 ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThen()
996 CheckTerm = new UnreachableInst(C, ThenBlock); in SplitBlockAndInsertIfThen()
998 CheckTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThen()
1001 CheckTerm = ThenBlock->getTerminator(); in SplitBlockAndInsertIfThen()
1003 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/Tail, Cond); in SplitBlockAndInsertIfThen()
1017 DT->addNewBlock(ThenBlock, Head); in SplitBlockAndInsertIfThen()
1019 DT->changeImmediateDominator(ThenBlock, Head); in SplitBlockAndInsertIfThen()
1025 L->addBasicBlockToLoop(ThenBlock, *LI); in SplitBlockAndInsertIfThen()
1041 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local
1043 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
1048 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()