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

Method getEdgeProbability

lib/Analysis/BranchProbabilityInfo.cpp:584–594  ·  view source on GitHub ↗

Get the raw edge probability for the edge. If can't find it, return a default probability 1/N where N is the number of successors. Here an edge is specified using PredBlock and an index to the successors.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

parseLoopStructureMethod · 0.45
ThreadEdgeMethod · 0.45
SplitBlockPredsMethod · 0.45
buildEdgesMethod · 0.45
getNewValueJumpOpcodeFunction · 0.45
isProfitableMethod · 0.45
getDotNewPredJumpOpMethod · 0.45
getBranchHintFunction · 0.45
selectBranchMethod · 0.45
selectSuccBBMethod · 0.45

Calls 9

make_pairClass · 0.85
distanceFunction · 0.50
succ_beginFunction · 0.50
succ_endFunction · 0.50
getZeroFunction · 0.50
BranchProbabilityClass · 0.50
findMethod · 0.45
endMethod · 0.45
getSuccessorIndexMethod · 0.45

Tested by

no test coverage detected