Home | History | Annotate | Download | only in Utils

Lines Matching defs:TrueBB

1825 // branch to TrueBB if Cond is true or to FalseBB if Cond is false.
1830 BasicBlock *TrueBB, BasicBlock *FalseBB){
1833 // If TrueBB and FalseBB are equal, only try to preserve one copy of that
1835 BasicBlock *KeepEdge1 = TrueBB;
1836 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : 0;
1855 if (TrueBB == FalseBB)
1858 Builder.CreateBr(TrueBB);
1862 Builder.CreateCondBr(Cond, TrueBB, FalseBB);
1863 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) {
1872 // Only TrueBB was found.
1873 Builder.CreateBr(TrueBB);
1896 BasicBlock *TrueBB = SI->getSuccessor(SI->findCaseValue(TrueVal));
1900 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB);
1916 BasicBlock *TrueBB = TBA->getBasicBlock();
1920 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB);