Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h126 EstimatedBlockWeight(std::move(Arg.EstimatedBlockWeight)) {} in BranchProbabilityInfo()
134 EstimatedBlockWeight = std::move(RHS.EstimatedBlockWeight);
329 SmallDenseMap<const BasicBlock *, uint32_t> EstimatedBlockWeight; variable
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp657 auto WeightIt = EstimatedBlockWeight.find(BB); in getEstimatedBlockWeight()
658 if (WeightIt == EstimatedBlockWeight.end()) in getEstimatedBlockWeight()
715 if (!EstimatedBlockWeight.insert({BB, BBWeight}).second) in updateEstimatedBlockWeight()
724 } else if (!EstimatedBlockWeight.count(PredBlock)) in updateEstimatedBlockWeight()
864 if (EstimatedBlockWeight.count(BB)) in computeEestimateBlockWeight()
1233 assert(EstimatedBlockWeight.empty()); in calculate()
1272 EstimatedBlockWeight.clear(); in calculate()