Lines Matching refs:TheOnlyDest
124 BasicBlock *TheOnlyDest = DefaultDest;
126 // If the default is unreachable, ignore it when searching for TheOnlyDest.
129 TheOnlyDest = SI->case_begin().getCaseSuccessor();
137 TheOnlyDest = i.getCaseSuccessor();
174 // We do this by reseting "TheOnlyDest" to null when we find two non-equal
176 if (i.getCaseSuccessor() != TheOnlyDest) TheOnlyDest = nullptr;
179 if (CI && !TheOnlyDest) {
182 TheOnlyDest = SI->getDefaultDest();
187 if (TheOnlyDest) {
189 Builder.CreateBr(TheOnlyDest);
195 if (Succ == TheOnlyDest)
196 TheOnlyDest = nullptr; // Don't modify the first branch to TheOnlyDest
250 BasicBlock *TheOnlyDest = BA->getBasicBlock();
252 Builder.CreateBr(TheOnlyDest);
255 if (IBI->getDestination(i) == TheOnlyDest)
256 TheOnlyDest = nullptr;
268 if (TheOnlyDest) {