Get the probability of going from Src to Dst.

Synopsis

Declared in <llvm/CodeGen/MachineBranchProbabilityInfo.h>

BranchProbability
getEdgeProbability(
    MachineBasicBlock const* Src,
    MachineBasicBlock const* Dst) const;

Description

It returns the sum of all probabilities for edges from Src to Dst.

Return Value

Sum of probabilities of all edges from Src to Dst.

Parameters

Name

Description

Src

Source block of the edge(s).

Dst

Destination block of the edge(s).

Created with MrDocs