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

Method propagateWeights

lib/Transforms/IPO/SampleProfile.cpp:963–1053  ·  view source on GitHub ↗

\brief Propagate weights into edges The following rules are applied to every block BB in the CFG: - If BB has a single predecessor/successor, then the weight of that edge is the weight of the block. - If all incoming or outgoing edges are known except one, and the weight of the block is already known, the weight of the unknown edge will be the weight of the block minus the sum of all the known

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

DEBUGFunction · 0.85
make_pairClass · 0.85
setEntryCountMethod · 0.80
getHeadSamplesMethod · 0.80
setMetadataMethod · 0.80
createBranchWeightsMethod · 0.80
maxFunction · 0.50
TwineClass · 0.50
getContextMethod · 0.45
push_backMethod · 0.45
getTerminatorMethod · 0.45
getNumSuccessorsMethod · 0.45

Tested by

no test coverage detected