Searched refs:BlockWeights (Results 1 – 4 of 4) sorted by relevance
249 BlockWeightMap &BlockWeights, EdgeWeightMap &EdgeWeights);269 BlockWeightMap BlockWeights;338 BlockWeights.clear();383 const auto &I = BlockWeights.find(BB);384 uint64_t W = (I == BlockWeights.end() ? 0 : I->second);547 BlockWeights[&BB] = Weight.get();608 uint64_t Weight = BlockWeights[EC];627 Weight = std::max(Weight, BlockWeights[BB2]);632 BlockWeights[EC] = Samples->getHeadSamples() + 1;634 BlockWeights[EC] = Weight;[all …]
135 void apply(BlockWeightMap &BlockWeights, EdgeWeightMap &EdgeWeights);163 void SampleProfileInference<BT>::apply(BlockWeightMap &BlockWeights, in apply() argument194 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()
210 uint64_t BBWeight = BlockWeights[EC]; in setBranchProbs()
1621 if (BlockWeights[BB]) { in generateMDProfMetadata()1667 setBranchWeights(I, {static_cast<uint32_t>(BlockWeights[BB])}, in generateMDProfMetadata()