Home
last modified time | relevance | path

Searched refs:PredDefault (Results 1 – 2 of 2) sorted by relevance

/external/llvm/test/Transforms/SimplifyCFG/
Dpreserve-branchweights-switch-create.ll41 ;; test2 - Merge two switches where PredDefault == BB.
87 ;; test3 - Merge two switches where PredDefault != BB.
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp868 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases); in FoldValueComparisonIntoPredecessors() local
900 if (PredDefault == BB) { in FoldValueComparisonIntoPredecessors()
923 if (PredDefault != BBDefault) { in FoldValueComparisonIntoPredecessors()
924 PredDefault->removePredecessor(Pred); in FoldValueComparisonIntoPredecessors()
925 PredDefault = BBDefault; in FoldValueComparisonIntoPredecessors()
1012 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, in FoldValueComparisonIntoPredecessors()