Lines Matching refs:TrueBB
3002 // Simplifies a terminator by replacing it with a branch to TrueBB if Cond is
3008 BasicBlock *TrueBB, BasicBlock *FalseBB,
3013 // If TrueBB and FalseBB are equal, only try to preserve one copy of that
3015 BasicBlock *KeepEdge1 = TrueBB;
3016 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : nullptr;
3035 if (TrueBB == FalseBB)
3038 Builder.CreateBr(TrueBB);
3042 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB);
3048 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) {
3057 // Only TrueBB was found.
3058 Builder.CreateBr(TrueBB);
3081 BasicBlock *TrueBB = SI->findCaseValue(TrueVal).getCaseSuccessor();
3084 // Get weight for TrueBB and FalseBB.
3099 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight,
3116 BasicBlock *TrueBB = TBA->getBasicBlock();
3120 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0,