Searched refs:NewWeights (Results 1 – 2 of 2) sorted by relevance
3728 SmallVector<uint64_t, 8> NewWeights; in performBranchToCommonDestFolding() local3734 NewWeights.push_back(PredTrueWeight * SuccTrueWeight); in performBranchToCommonDestFolding()3739 NewWeights.push_back(PredFalseWeight * in performBranchToCommonDestFolding()3750 NewWeights.push_back(PredFalseWeight * SuccFalseWeight); in performBranchToCommonDestFolding()3754 FitWeights(NewWeights); in performBranchToCommonDestFolding()3756 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), NewWeights.end()); in performBranchToCommonDestFolding()4487 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) + in SimplifyCondBranchToCondBranch() local4491 FitWeights(NewWeights); in SimplifyCondBranchToCondBranch()4493 setBranchWeights(PBI, NewWeights[0], NewWeights[1]); in SimplifyCondBranchToCondBranch()4527 FitWeights(NewWeights); in SimplifyCondBranchToCondBranch()[all …]
2853 auto NewWeights = uint32_t(TotalWeight) != TotalWeight in createCallMatchingInvoke() local2856 NewCall->setMetadata(LLVMContext::MD_prof, NewWeights); in createCallMatchingInvoke()