Searched refs:NewWeights (Results 1 – 2 of 2) sorted by relevance
3949 SmallVector<uint64_t, 8> NewWeights; in performBranchToCommonDestFolding() local3955 NewWeights.push_back(PredTrueWeight * SuccTrueWeight); in performBranchToCommonDestFolding()3960 NewWeights.push_back(PredFalseWeight * in performBranchToCommonDestFolding()3968 NewWeights.push_back(PredTrueWeight * (SuccFalseWeight + SuccTrueWeight) + in performBranchToCommonDestFolding()3971 NewWeights.push_back(PredFalseWeight * SuccFalseWeight); in performBranchToCommonDestFolding()3975 fitWeights(NewWeights); in performBranchToCommonDestFolding()3977 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), NewWeights.end()); in performBranchToCommonDestFolding()4705 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) + in SimplifyCondBranchToCondBranch() local4709 fitWeights(NewWeights); in SimplifyCondBranchToCondBranch()4711 setBranchWeights(PBI, NewWeights[0], NewWeights[1], /*IsExpected=*/false); in SimplifyCondBranchToCondBranch()[all …]
2935 auto NewWeights = uint32_t(TotalWeight) != TotalWeight in createCallMatchingInvoke() local2938 NewCall->setMetadata(LLVMContext::MD_prof, NewWeights); in createCallMatchingInvoke()