Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp726 SwitchInstProfUpdateWrapper SIW(SI); in unswitchTrivialSwitch() local
736 auto W = SIW.getSuccessorWeight(CaseI->getSuccessorIndex()); in unswitchTrivialSwitch()
739 SIW.removeCase(CaseI); in unswitchTrivialSwitch()
849 SIW.getSuccessorWeight(Case.getSuccessorIndex())); in unswitchTrivialSwitch()
854 auto W = SIW.getSuccessorWeight(Case.getSuccessorIndex()); in unswitchTrivialSwitch()
884 SIW.eraseFromParent(); in unswitchTrivialSwitch()
896 SIW.setSuccessorWeight( in unswitchTrivialSwitch()
897 0, SIW.getSuccessorWeight(LastCaseI->getSuccessorIndex())); in unswitchTrivialSwitch()
898 SIW.removeCase(LastCaseI); in unswitchTrivialSwitch()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4108 SwitchInstProfUpdateWrapper SIW(*SI); in tryToSimplifyUncondBranchWithICmpInIt() local
4109 auto W0 = SIW.getSuccessorWeight(0); in tryToSimplifyUncondBranchWithICmpInIt()
4113 SIW.setSuccessorWeight(0, *NewW); in tryToSimplifyUncondBranchWithICmpInIt()
4115 SIW.addCase(Cst, NewBB, NewW); in tryToSimplifyUncondBranchWithICmpInIt()
4934 SwitchInstProfUpdateWrapper SIW(*SI); in eliminateDeadSwitchCases() local
4941 SIW.removeCase(CaseI); in eliminateDeadSwitchCases()