llvm::BranchProbabilityInfoWrapperPass::getBPI

Return the cached BranchProbabilityInfo for the last analyzed function.

Synopses

Declared in <llvm/Analysis/BranchProbabilityInfo.h>

Return the cached BranchProbabilityInfo for the last analyzed function.

BranchProbabilityInfo&
getBPI();
» more...

Return the cached BranchProbabilityInfo for the last analyzed function.

BranchProbabilityInfo const&
getBPI() const;
» more...

Return Value

  • Mutable reference to the cached analysis result.
  • Const reference to the cached analysis result.