Searched refs:SwitchInstProfUpdateWrapper (Results 1 – 7 of 7) sorted by relevance
4420 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::CaseWeightOpt4499 SwitchInstProfUpdateWrapper::getSuccessorWeight(unsigned idx) { in getSuccessorWeight()4505 void SwitchInstProfUpdateWrapper::setSuccessorWeight( in setSuccessorWeight()4506 unsigned idx, SwitchInstProfUpdateWrapper::CaseWeightOpt W) { in setSuccessorWeight()[all …]
719 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()
428 SwitchInstProfUpdateWrapper SI(*cast<SwitchInst>(TI)); in removeNonFeasibleEdges()
392 SwitchInstProfUpdateWrapper SI(*I); in processSwitch()
960 TEST(InstructionsTest, SwitchInstProfUpdateWrapper) { in TEST() argument982 SwitchInstProfUpdateWrapper SIW(*SI); in TEST()994 SwitchInstProfUpdateWrapper SIW(*SI); in TEST()
940 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()
3585 class SwitchInstProfUpdateWrapper {3603 SwitchInstProfUpdateWrapper(SwitchInst &SI) : SI(SI) { init(); }3605 ~SwitchInstProfUpdateWrapper() {