Searched refs:SampleBlockWeights (Results 1 – 2 of 2) sorted by relevance
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileInference.h | 131 BlockWeightMap &SampleBlockWeights) in SampleProfileInference() argument 132 : F(F), Successors(Successors), SampleBlockWeights(SampleBlockWeights) {} in SampleProfileInference() 159 BlockWeightMap &SampleBlockWeights; variable 198 auto It = SampleBlockWeights.find(BB); in apply() 199 if (It != SampleBlockWeights.end() && It->second > 0) { in apply() 250 if (SampleBlockWeights.contains(BB)) { in createFlowFunction() 252 Block.Weight = SampleBlockWeights[BB]; in createFlowFunction()
|
| H A D | SampleProfileLoaderBaseImpl.h | 248 BlockWeightMap &SampleBlockWeights, 930 BlockWeightMap SampleBlockWeights; 934 SampleBlockWeights[&BI] = Weight.get(); 937 applyProfi(F, Successors, SampleBlockWeights, BlockWeights, EdgeWeights); 981 FunctionT &F, BlockEdgeMap &Successors, BlockWeightMap &SampleBlockWeights, 983 auto Infer = SampleProfileInference<FT>(F, Successors, SampleBlockWeights);
|