Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h250 BlockWeightMap &BlockWeights, EdgeWeightMap &EdgeWeights);
270 BlockWeightMap BlockWeights;
339 BlockWeights.clear();
384 const auto &I = BlockWeights.find(BB);
385 uint64_t W = (I == BlockWeights.end() ? 0 : I->second);
541 BlockWeights[&BB] = Weight.get();
602 uint64_t Weight = BlockWeights[EC];
621 Weight = std::max(Weight, BlockWeights[BB2]);
626 BlockWeights[EC] = Samples->getHeadSamples() + 1;
628 BlockWeights[EC] = Weight;
[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/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRSampleProfile.cpp213 uint64_t BBWeight = BlockWeights[EC]; in setBranchProbs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1621 if (BlockWeights[BB]) { in generateMDProfMetadata()
1667 setBranchWeights(I, {static_cast<uint32_t>(BlockWeights[BB])}, in generateMDProfMetadata()