LLVM 20.0.0git
Public Member Functions | List of all members
llvm::orc::ExecutorAddr::Untag Class Reference

Strips a tag of the given length from the given offset within the pointer: P' = P & ~(((1 << TagLen) -1) << TagOffset) More...

#include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"

Public Member Functions

constexpr Untag (uintptr_t TagLen, uintptr_t TagOffset)
 
template<typename T >
constexpr Toperator() (T *P)
 

Detailed Description

Strips a tag of the given length from the given offset within the pointer: P' = P & ~(((1 << TagLen) -1) << TagOffset)

Definition at line 59 of file ExecutorAddress.h.

Constructor & Destructor Documentation

◆ Untag()

constexpr llvm::orc::ExecutorAddr::Untag::Untag ( uintptr_t  TagLen,
uintptr_t  TagOffset 
)
inlineconstexpr

Definition at line 61 of file ExecutorAddress.h.

Member Function Documentation

◆ operator()()

template<typename T >
constexpr T * llvm::orc::ExecutorAddr::Untag::operator() ( T P)
inlineconstexpr

Definition at line 64 of file ExecutorAddress.h.

References P.


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