Searched refs:TheOnlyDest (Results 1 – 3 of 3) sorted by relevance
108 BasicBlock *TheOnlyDest = SI->getSuccessor(0); // The default dest in ConstantFoldTerminator() local109 BasicBlock *DefaultDest = TheOnlyDest; in ConstantFoldTerminator()110 assert(TheOnlyDest == SI->getDefaultDest() && in ConstantFoldTerminator()117 TheOnlyDest = SI->getSuccessor(i); in ConstantFoldTerminator()134 if (SI->getSuccessor(i) != TheOnlyDest) TheOnlyDest = 0; in ConstantFoldTerminator()137 if (CI && !TheOnlyDest) { in ConstantFoldTerminator()140 TheOnlyDest = SI->getDefaultDest(); in ConstantFoldTerminator()145 if (TheOnlyDest) { in ConstantFoldTerminator()147 Builder.CreateBr(TheOnlyDest); in ConstantFoldTerminator()154 if (Succ == TheOnlyDest) in ConstantFoldTerminator()[all …]
124 BasicBlock *TheOnlyDest = DefaultDest; in ConstantFoldTerminator() local129 TheOnlyDest = SI->case_begin().getCaseSuccessor(); in ConstantFoldTerminator()137 TheOnlyDest = i.getCaseSuccessor(); in ConstantFoldTerminator()176 if (i.getCaseSuccessor() != TheOnlyDest) TheOnlyDest = nullptr; in ConstantFoldTerminator()179 if (CI && !TheOnlyDest) { in ConstantFoldTerminator()182 TheOnlyDest = SI->getDefaultDest(); in ConstantFoldTerminator()187 if (TheOnlyDest) { in ConstantFoldTerminator()189 Builder.CreateBr(TheOnlyDest); in ConstantFoldTerminator()195 if (Succ == TheOnlyDest) in ConstantFoldTerminator()196 TheOnlyDest = nullptr; // Don't modify the first branch to TheOnlyDest in ConstantFoldTerminator()[all …]
158 BasicBlock *TheOnlyDest = DefaultDest; in ConstantFoldTerminator() local163 TheOnlyDest = SI->case_begin()->getCaseSuccessor(); in ConstantFoldTerminator()170 TheOnlyDest = i->getCaseSuccessor(); in ConstantFoldTerminator()212 if (i->getCaseSuccessor() != TheOnlyDest) in ConstantFoldTerminator()213 TheOnlyDest = nullptr; in ConstantFoldTerminator()219 if (CI && !TheOnlyDest) { in ConstantFoldTerminator()222 TheOnlyDest = SI->getDefaultDest(); in ConstantFoldTerminator()227 if (TheOnlyDest) { in ConstantFoldTerminator()229 Builder.CreateBr(TheOnlyDest); in ConstantFoldTerminator()238 if (Succ == TheOnlyDest) { in ConstantFoldTerminator()[all …]