Lines Matching refs:Switch
281 llvm::SwitchInst *Switch, in ResolveAllBranchFixups() argument
309 Switch->addCase(CGF.Builder.getInt32(Fixup.DestinationIndex), in ResolveAllBranchFixups()
329 llvm::SwitchInst *Switch = in TransitionToCleanupSwitch() local
332 return Switch; in TransitionToCleanupSwitch()
366 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); in ResolveBranchFixups() local
369 Switch->addCase(Builder.getInt32(Fixup.DestinationIndex), Block); in ResolveBranchFixups()
519 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term); in ForwardPrebranchedFallthrough() local
520 for (unsigned I = 0, E = Switch->getNumSuccessors(); I != E; ++I) in ForwardPrebranchedFallthrough()
521 if (Switch->getSuccessor(I) == From) in ForwardPrebranchedFallthrough()
522 Switch->setSuccessor(I, To); in ForwardPrebranchedFallthrough()
772 llvm::SwitchInst *Switch = in PopCleanupBlock() local
776 InstsToAppend.push_back(Switch); in PopCleanupBlock()
782 Switch->addCase(Builder.getInt32(0), FallthroughDest); in PopCleanupBlock()
786 Switch->addCase(Scope.getBranchAfterIndex(I), in PopCleanupBlock()
793 ResolveAllBranchFixups(*this, Switch, NormalEntry); in PopCleanupBlock()