LLVM 19.0.0git
Static Public Member Functions | List of all members
llvm::BPIPassTrait< PassT > Struct Template Reference

Simple trait class that provides a mapping between BPI passes and the corresponding BPInfo. More...

#include "llvm/Analysis/LazyBranchProbabilityInfo.h"

Static Public Member Functions

static PassT & getBPI (PassT *P)
 

Detailed Description

template<typename PassT>
struct llvm::BPIPassTrait< PassT >

Simple trait class that provides a mapping between BPI passes and the corresponding BPInfo.

Definition at line 113 of file LazyBranchProbabilityInfo.h.

Member Function Documentation

◆ getBPI()

template<typename PassT >
static PassT & llvm::BPIPassTrait< PassT >::getBPI ( PassT *  P)
inlinestatic

Definition at line 114 of file LazyBranchProbabilityInfo.h.

References P.


The documentation for this struct was generated from the following file: