Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp768 SwitchInstProfUpdateWrapper SIW(SI); in unswitchTrivialSwitch() local
778 auto W = SIW.getSuccessorWeight(CaseI->getSuccessorIndex()); in unswitchTrivialSwitch()
781 SIW.removeCase(CaseI); in unswitchTrivialSwitch()
891 SIW.getSuccessorWeight(Case.getSuccessorIndex())); in unswitchTrivialSwitch()
896 auto W = SIW.getSuccessorWeight(Case.getSuccessorIndex()); in unswitchTrivialSwitch()
926 SIW.eraseFromParent(); in unswitchTrivialSwitch()
938 SIW.setSuccessorWeight( in unswitchTrivialSwitch()
939 0, SIW.getSuccessorWeight(LastCaseI->getSuccessorIndex())); in unswitchTrivialSwitch()
940 SIW.removeCase(LastCaseI); in unswitchTrivialSwitch()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4657 SwitchInstProfUpdateWrapper SIW(*SI); in tryToSimplifyUncondBranchWithICmpInIt() local
4658 auto W0 = SIW.getSuccessorWeight(0); in tryToSimplifyUncondBranchWithICmpInIt()
4662 SIW.setSuccessorWeight(0, *NewW); in tryToSimplifyUncondBranchWithICmpInIt()
4664 SIW.addCase(Cst, NewBB, NewW); in tryToSimplifyUncondBranchWithICmpInIt()
5488 SwitchInstProfUpdateWrapper SIW(*SI); in eliminateDeadSwitchCases() local
5495 SIW.removeCase(CaseI); in eliminateDeadSwitchCases()