LLVM  14.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::Waymarker< T, WTraits > Struct Template Reference

This class is responsible for tagging (and retrieving the tag of) a given element of type T. More...

#include "llvm/ADT/Waymarking.h"

Public Types

using Traits = WTraits
 

Static Public Member Functions

static void setWaymark (T &N, unsigned Tag)
 
static unsigned getWaymark (const T &N)
 

Detailed Description

template<class T, class WTraits = detail::WaymarkingTraits< PointerLikeTypeTraits<T>::NumLowBitsAvailable>>
struct llvm::Waymarker< T, WTraits >

This class is responsible for tagging (and retrieving the tag of) a given element of type T.

Definition at line 202 of file Waymarking.h.

Member Typedef Documentation

◆ Traits

template<class T , class WTraits = detail::WaymarkingTraits< PointerLikeTypeTraits<T>::NumLowBitsAvailable>>
using llvm::Waymarker< T, WTraits >::Traits = WTraits

Definition at line 203 of file Waymarking.h.

Member Function Documentation

◆ getWaymark()

template<class T , class WTraits = detail::WaymarkingTraits< PointerLikeTypeTraits<T>::NumLowBitsAvailable>>
static unsigned llvm::Waymarker< T, WTraits >::getWaymark ( const T N)
inlinestatic

Definition at line 205 of file Waymarking.h.

References N.

◆ setWaymark()

template<class T , class WTraits = detail::WaymarkingTraits< PointerLikeTypeTraits<T>::NumLowBitsAvailable>>
static void llvm::Waymarker< T, WTraits >::setWaymark ( T N,
unsigned  Tag 
)
inlinestatic

Definition at line 204 of file Waymarking.h.

References N.


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