LLVM 24.0.0git
llvm::IRUnitRef Class Reference

A type-erased reference to the IR unit a pass or analysis is running on, together with the kind of IR unit it refers to. More...

#include "llvm/IR/IRUnitRef.h"

Public Member Functions

template<typename IRUnitT, IRUnitKind K = IRUnitKindTraits<IRUnitT>::Kind>
 IRUnitRef (const IRUnitT &IR)

Friends

template<typename To, typename From, typename Enable>
struct CastInfo

Detailed Description

A type-erased reference to the IR unit a pass or analysis is running on, together with the kind of IR unit it refers to.

Definition at line 60 of file IRUnitRef.h.

Constructor & Destructor Documentation

◆ IRUnitRef()

template<typename IRUnitT, IRUnitKind K = IRUnitKindTraits<IRUnitT>::Kind>
llvm::IRUnitRef::IRUnitRef ( const IRUnitT & IR)
inline

Definition at line 74 of file IRUnitRef.h.

References IR.

◆ CastInfo

template<typename To, typename From, typename Enable>
friend struct CastInfo
friend

Definition at line 61 of file IRUnitRef.h.

References CastInfo.

Referenced by CastInfo.


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