Home
last modified time | relevance | path

Searched refs:getSuccessorWeight (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp788 SwitchInstProfUpdateWrapper::getSuccessorWeight(SI, 0); in unswitchTrivialSwitch()
842 auto W = SIW.getSuccessorWeight(CaseI->getSuccessorIndex()); in unswitchTrivialSwitch()
951 SIW.getSuccessorWeight(Case.getSuccessorIndex())); in unswitchTrivialSwitch()
956 auto W = SIW.getSuccessorWeight(Case.getSuccessorIndex()); in unswitchTrivialSwitch()
1000 0, SIW.getSuccessorWeight(LastCaseI->getSuccessorIndex())); in unswitchTrivialSwitch()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3569 LLVM_ABI CaseWeightOpt getSuccessorWeight(unsigned idx);
3571 LLVM_ABI static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp4198 SwitchInstProfUpdateWrapper::getSuccessorWeight(unsigned idx) { in getSuccessorWeight() function in SwitchInstProfUpdateWrapper
4222 SwitchInstProfUpdateWrapper::getSuccessorWeight(const SwitchInst &SI, in getSuccessorWeight() function in SwitchInstProfUpdateWrapper
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5002 auto W0 = SIW.getSuccessorWeight(0); in tryToSimplifyUncondBranchWithICmpInIt()
5863 SIW.addCase(MissingCase, SI->getDefaultDest(), SIW.getSuccessorWeight(0)); in eliminateDeadSwitchCases()