Home
last modified time | relevance | path

Searched refs:BlockWeights (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h241 BlockWeightMap BlockWeights;
310 BlockWeights.clear();
355 const auto &I = BlockWeights.find(BB);
519 BlockWeights[&BB] = Weight.get();
580 uint64_t Weight = BlockWeights[EC];
606 BlockWeights[EC] = Weight;
665 BlockWeights[BB] = BlockWeights[EquivBB];
842 BlockWeights[EC] = TotalWeight;
923 if (Header && BlockWeights[BB] > BlockWeights[Header]) {
924 BlockWeights[Header] = BlockWeights[BB];
[all …]
H A DSampleProfileInference.h135 void apply(BlockWeightMap &BlockWeights, EdgeWeightMap &EdgeWeights);
163 void SampleProfileInference<BT>::apply(BlockWeightMap &BlockWeights, in apply() argument
194 BlockWeights.clear(); in apply()
201 BlockWeights[BB] = It->second; in apply()
219 BlockWeights[BB] = Func.Blocks[BlockIndex[BB]].Flow; in apply()
228 for (auto &I : BlockWeights) { in apply()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRSampleProfile.cpp210 uint64_t BBWeight = BlockWeights[EC]; in setBranchProbs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1668 if (BlockWeights[BB]) { in generateMDProfMetadata()
1714 setBranchWeights(I, {static_cast<uint32_t>(BlockWeights[BB])}); in generateMDProfMetadata()