LLVM 22.0.0git
llvm::BlockDataT< T > Class Template Reference

#include "llvm/Passes/StandardInstrumentations.h"

Public Member Functions

 BlockDataT (const BasicBlock &B)
 BlockDataT (const MachineBasicBlock &B)
bool operator== (const BlockDataT &That) const
bool operator!= (const BlockDataT &That) const
StringRef getLabel () const
StringRef getBody () const
const TgetData () const

Protected Attributes

std::string Label
std::string Body
T Data

Detailed Description

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

Definition at line 330 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ BlockDataT() [1/2]

template<typename T>
llvm::BlockDataT< T >::BlockDataT ( const BasicBlock & B)
inline

Definition at line 332 of file StandardInstrumentations.h.

References B(), Body, Data, getName(), and Label.

Referenced by operator!=(), and operator==().

◆ BlockDataT() [2/2]

template<typename T>
llvm::BlockDataT< T >::BlockDataT ( const MachineBasicBlock & B)
inline

Definition at line 337 of file StandardInstrumentations.h.

References B(), Body, Data, getName(), and Label.

Member Function Documentation

◆ getBody()

template<typename T>
StringRef llvm::BlockDataT< T >::getBody ( ) const
inline

Definition at line 348 of file StandardInstrumentations.h.

References Body.

◆ getData()

template<typename T>
const T & llvm::BlockDataT< T >::getData ( ) const
inline

Definition at line 351 of file StandardInstrumentations.h.

References Data, and T.

◆ getLabel()

template<typename T>
StringRef llvm::BlockDataT< T >::getLabel ( ) const
inline

Definition at line 346 of file StandardInstrumentations.h.

References Label.

◆ operator!=()

template<typename T>
bool llvm::BlockDataT< T >::operator!= ( const BlockDataT< T > & That) const
inline

Definition at line 343 of file StandardInstrumentations.h.

References BlockDataT(), and Body.

◆ operator==()

template<typename T>
bool llvm::BlockDataT< T >::operator== ( const BlockDataT< T > & That) const
inline

Definition at line 342 of file StandardInstrumentations.h.

References BlockDataT(), and Body.

Member Data Documentation

◆ Body

template<typename T>
std::string llvm::BlockDataT< T >::Body
protected

Definition at line 355 of file StandardInstrumentations.h.

Referenced by BlockDataT(), BlockDataT(), getBody(), operator!=(), and operator==().

◆ Data

template<typename T>
T llvm::BlockDataT< T >::Data
protected

Definition at line 358 of file StandardInstrumentations.h.

Referenced by BlockDataT(), BlockDataT(), and getData().

◆ Label

template<typename T>
std::string llvm::BlockDataT< T >::Label
protected

Definition at line 354 of file StandardInstrumentations.h.

Referenced by BlockDataT(), BlockDataT(), and getLabel().


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