Home
last modified time | relevance | path

Searched refs:NewWeights (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3795 SmallVector<uint64_t, 8> NewWeights; in performBranchToCommonDestFolding() local
3801 NewWeights.push_back(PredTrueWeight * SuccTrueWeight); in performBranchToCommonDestFolding()
3806 NewWeights.push_back(PredFalseWeight * in performBranchToCommonDestFolding()
3814 NewWeights.push_back(PredTrueWeight * (SuccFalseWeight + SuccTrueWeight) + in performBranchToCommonDestFolding()
3817 NewWeights.push_back(PredFalseWeight * SuccFalseWeight); in performBranchToCommonDestFolding()
3821 FitWeights(NewWeights); in performBranchToCommonDestFolding()
3823 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), NewWeights.end()); in performBranchToCommonDestFolding()
4555 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) + in SimplifyCondBranchToCondBranch() local
4559 FitWeights(NewWeights); in SimplifyCondBranchToCondBranch()
4561 setBranchWeights(PBI, NewWeights[0], NewWeights[1], /*IsExpected=*/false); in SimplifyCondBranchToCondBranch()
[all …]
H A DLocal.cpp2899 auto NewWeights = uint32_t(TotalWeight) != TotalWeight in createCallMatchingInvoke() local
2902 NewCall->setMetadata(LLVMContext::MD_prof, NewWeights); in createCallMatchingInvoke()