LLVM 22.0.0git
llvm::sandboxir::Context::CallbackID Class Reference

An ID for a registered callback. More...

#include "llvm/SandboxIR/Context.h"

Public Types

using ValTy = uint64_t

Public Member Functions

 CallbackID ()=default

Static Public Attributes

static constexpr const ValTy InvalidVal = 0

Friends

class Context
struct DenseMapInfo< CallbackID >

Detailed Description

An ID for a registered callback.

Used for deregistration. A dedicated type is employed so as to keep IDs opaque to the end user; only Context should deal with its underlying representation.

Definition at line 49 of file Context.h.

Member Typedef Documentation

◆ ValTy

Constructor & Destructor Documentation

◆ CallbackID()

llvm::sandboxir::Context::CallbackID::CallbackID ( )
default

◆ Context

friend class Context
friend

Definition at line 65 of file Context.h.

References Context.

Referenced by Context.

◆ DenseMapInfo< CallbackID >

friend struct DenseMapInfo< CallbackID >
friend

Definition at line 65 of file Context.h.

Member Data Documentation

◆ InvalidVal

const ValTy llvm::sandboxir::Context::CallbackID::InvalidVal = 0
staticconstexpr

Definition at line 54 of file Context.h.


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