Lines Matching refs:Terminator
174 << "' with terminator: " << *BB->getTerminator() << '\n');
189 // If the terminator is the only non-phi instruction, try to nuke it.
230 // Sum up the cost of each instruction until we get to the terminator. Don't
231 // include the terminator because the copy won't include it.
301 /// terminator with the given value as its condition, and if so what value to
358 /// predecessor based on its terminator.
673 // Look to see if the terminator is a conditional branch, switch or indirect
676 Instruction *Terminator = BB->getTerminator();
677 if (BranchInst *BI = dyn_cast<BranchInst>(Terminator)) {
681 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(Terminator)) {
683 } else if (IndirectBrInst *IB = dyn_cast<IndirectBrInst>(Terminator)) {
703 // If the terminator is branching on an undef, we can pick any of the
716 << "' folding undef terminator: " << *BBTerm << '\n');
722 // If the terminator of this block is branching on a constant, simplify the
723 // terminator to an unconditional branch. This can occur due to threading in
727 << "' folding terminator: " << *BB->getTerminator() << '\n');
1121 && "Unexpected terminator");
1411 // We didn't copy the terminator from BB over to NewBB, because there is now
1460 // Ok, NewBB is good to go. Update the terminator of PredBB to jump to
1659 // terminator in BB. We don't do the transform if both sides fold, those