Lines Matching full:branch
58 STATISTIC(NumHeadBranchRejs, "Number of ccmps rejected (Head branch)");
59 STATISTIC(NumCmpBranchRejs, "Number of ccmps rejected (CmpBB branch)");
129 // branch to CmpBB.
144 /// The first block containing a conditional branch, dominating everything
158 /// The branch condition in Head as determined by AnalyzeBranch.
161 /// The condition code that makes Head branch to CmpBB.
164 /// The branch condition in CmpBB.
167 /// The condition code that makes CmpBB branch to Tail.
179 /// Find the compare instruction in MBB that controls the conditional branch.
493 // The branch we're looking to eliminate must be analyzable.
497 DEBUG(dbgs() << "Head branch not analyzable.\n");
505 DEBUG(dbgs() << "AnalyzeBranch didn't find conditional branch in Head.\n");
511 DEBUG(dbgs() << "Unsupported branch type on Head\n");
516 // Make sure the branch direction is right.
525 DEBUG(dbgs() << "CmpBB branch not analyzable.\n");
531 DEBUG(dbgs() << "AnalyzeBranch didn't find conditional branch in CmpBB.\n");
537 DEBUG(dbgs() << "Unsupported branch type on CmpBB\n");
588 llvm_unreachable("Cannot convert Head branch");
645 // terminator to branch to tail.
662 // If CmpMI was a terminator, we need a new conditional branch to replace it.
669 .addOperand(CmpMI->getOperand(1)); // Branch target.
684 // plus a branch instruction.
695 llvm_unreachable("Cannot convert Head branch");
701 // Otherwise, we save the branch instruction.
837 // Heuristic: The compare conversion delays the execution of the branch
839 // well. The branch has no dependent instructions, but delaying it increases
853 DEBUG(dbgs() << "Branch delay would be larger than " << DelayLimit