MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / UpdateBlockFreqAndEdgeWeight

Method UpdateBlockFreqAndEdgeWeight

lib/Transforms/Scalar/JumpThreading.cpp:1621–1678  ·  view source on GitHub ↗

Update the block frequency of BB and branch weight and the metadata on the edge BB->SuccBB. This is done by scaling the weight of BB->SuccBB by 1 - Freq(PredBB->BB) / Freq(BB->SuccBB).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

successorsFunction · 0.85
max_elementFunction · 0.85
MDBuilderClass · 0.85
getFrequencyMethod · 0.80
setEdgeProbabilityMethod · 0.80
getNumeratorMethod · 0.80
setMetadataMethod · 0.80
createBranchWeightsMethod · 0.80
assertFunction · 0.50
getBlockFreqMethod · 0.45
getEdgeProbabilityMethod · 0.45
setBlockFreqMethod · 0.45

Tested by

no test coverage detected