Searched refs:BBWeight (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRSampleProfile.cpp | 213 uint64_t BBWeight = BlockWeights[EC]; in setBranchProbs() local 220 if (BBWeight != SumEdgeWeight) { in setBranchProbs() 222 << BBWeight << " SumEdgeWeight= " << SumEdgeWeight in setBranchProbs() 224 BBWeight = SumEdgeWeight; in setBranchProbs() 226 if (BBWeight == 0) { in setBranchProbs() 232 uint64_t BBWeightOrig = BBWeight; in setBranchProbs() 236 if (BBWeight > MaxWeight) { in setBranchProbs() 237 Factor = BBWeight / MaxWeight + 1; in setBranchProbs() 238 BBWeight /= Factor; in setBranchProbs() 250 assert(BBWeight >= EdgeWeight && in setBranchProbs() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 146 uint64_t BBWeight = in buildEdges() local 153 uint64_t scaleFactor = BBWeight; in buildEdges() 198 Edge *ExitO = &addEdge(&BB, nullptr, BBWeight); in buildEdges() 199 if (BBWeight > MaxExitOutWeight) { in buildEdges() 200 MaxExitOutWeight = BBWeight; in buildEdges() 204 << " w = " << BBWeight << "\n"); in buildEdges()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 796 uint64_t &BBWeight = BlockWeights[EC]; 802 if (TotalWeight > BBWeight) { 803 BBWeight = TotalWeight; 819 if (BBWeight >= TotalWeight) 820 EdgeWeights[UnknownEdge] = BBWeight - TotalWeight; 853 uint64_t &BBWeight = BlockWeights[BB]; 855 if (BBWeight >= TotalWeight) 856 EdgeWeights[SelfReferentialEdge] = BBWeight - TotalWeight;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BranchProbabilityInfo.cpp | 690 LoopBlock &LoopBB, uint32_t BBWeight, in updateEstimatedBlockWeight() argument 700 if (!EstimatedBlockWeight.insert({BB, BBWeight}).second) in updateEstimatedBlockWeight() 729 uint32_t BBWeight, SmallVectorImpl<BasicBlock *> &BlockWorkList, in propagateEstimatedBlockWeight() argument 749 if (!updateEstimatedBlockWeight(DomLoopBB, BBWeight, BlockWorkList, in propagateEstimatedBlockWeight() 812 if (auto BBWeight = getInitialEstimatedBlockWeight(BB)) in estimateBlockWeights() local 815 propagateEstimatedBlockWeight(getLoopBlock(BB), DT, PDT, *BBWeight, in estimateBlockWeights()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | BranchProbabilityInfo.h | 399 bool updateEstimatedBlockWeight(LoopBlock &LoopBB, uint32_t BBWeight, 406 PostDominatorTree *PDT, uint32_t BBWeight,
|