Home
last modified time | relevance | path

Searched refs:SwitchInstProfUpdateWrapper (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp4420 MDNode *SwitchInstProfUpdateWrapper::buildProfBranchWeightsMD() { in buildProfBranchWeightsMD()
4437 void SwitchInstProfUpdateWrapper::init() { in init()
4457 SwitchInstProfUpdateWrapper::removeCase(SwitchInst::CaseIt I) { in removeCase()
4471 void SwitchInstProfUpdateWrapper::addCase( in addCase()
4473 SwitchInstProfUpdateWrapper::CaseWeightOpt W) { in addCase()
4490 SwitchInstProfUpdateWrapper::eraseFromParent() { in eraseFromParent()
4498 SwitchInstProfUpdateWrapper::CaseWeightOpt
4499 SwitchInstProfUpdateWrapper::getSuccessorWeight(unsigned idx) { in getSuccessorWeight()
4505 void SwitchInstProfUpdateWrapper::setSuccessorWeight( in setSuccessorWeight()
4506 unsigned idx, SwitchInstProfUpdateWrapper::CaseWeightOpt W) { in setSuccessorWeight()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp719 SwitchInstProfUpdateWrapper::CaseWeightOpt DefaultCaseWeight = in unswitchTrivialSwitch()
720 SwitchInstProfUpdateWrapper::getSuccessorWeight(SI, 0); in unswitchTrivialSwitch()
748 SwitchInstProfUpdateWrapper::CaseWeightOpt>, in unswitchTrivialSwitch()
751 SwitchInstProfUpdateWrapper SIW(SI); in unswitchTrivialSwitch()
800 SwitchInstProfUpdateWrapper NewSIW(*NewSI); in unswitchTrivialSwitch()
H A DSCCP.cpp428 SwitchInstProfUpdateWrapper SI(*cast<SwitchInst>(TI)); in removeNonFeasibleEdges()
H A DCorrelatedValuePropagation.cpp392 SwitchInstProfUpdateWrapper SI(*I); in processSwitch()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DInstructionsTest.cpp960 TEST(InstructionsTest, SwitchInstProfUpdateWrapper) { in TEST() argument
982 SwitchInstProfUpdateWrapper SIW(*SI); in TEST()
994 SwitchInstProfUpdateWrapper SIW(*SI); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp940 SwitchInstProfUpdateWrapper SI = *cast<SwitchInst>(TI); in SimplifyEqualityComparisonWithOnlyPredecessor()
4490 SwitchInstProfUpdateWrapper SIW(*SI); in tryToSimplifyUncondBranchWithICmpInIt()
4492 SwitchInstProfUpdateWrapper::CaseWeightOpt NewW; in tryToSimplifyUncondBranchWithICmpInIt()
5004 SwitchInstProfUpdateWrapper SU(*SI); in simplifyUnreachable()
5319 SwitchInstProfUpdateWrapper SIW(*SI); in eliminateDeadSwitchCases()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h3585 class SwitchInstProfUpdateWrapper {
3603 SwitchInstProfUpdateWrapper(SwitchInst &SI) : SI(SI) { init(); }
3605 ~SwitchInstProfUpdateWrapper() {