LLVM: llvm::DbgRecordParamRef< T > Class Template Reference (original) (raw)

A typed tracking MDNode reference that does not require a definition for its parameter type. More...

#include "[llvm/IR/DebugProgramInstruction.h](DebugProgramInstruction%5F8h%5Fsource.html)"

Public Member Functions
DbgRecordParamRef ()=default
DbgRecordParamRef (const T *Param)
Construct from the templated type.
DbgRecordParamRef (const MDNode *Param)
Construct from an MDNode.
operator bool () const
Check for null.
MDNode * getAsMDNode () const
Return this as a MDNode.
bool operator== (const DbgRecordParamRef &Other) const
bool operator!= (const DbgRecordParamRef &Other) const
T * get () const
Get the underlying type.
operator T* () const
T * operator-> () const
T & operator* () const

template<typename T>
class llvm::DbgRecordParamRef< T >

A typed tracking MDNode reference that does not require a definition for its parameter type.

Necessary to avoid including DebugInfoMetadata.h, which has a significant impact on compile times if included in this file.

Definition at line 77 of file DebugProgramInstruction.h.

DbgRecordParamRef() [2/3]

DbgRecordParamRef() [3/3]

Construct from an MDNode.

Note: if Param does not have the template type, a verifier check will fail, and accessors will crash. However, construction from other nodes is supported in order to handle forward references when reading textual IR.

Definition at line 22 of file DebugProgramInstruction.cpp.

get()

getAsMDNode()

operator bool()

operator T*()

operator!=()

operator*()

operator->()

operator==()


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