LLVM 22.0.0git
llvm::User::AllocInfo Struct Reference

Information about how a User object was allocated, to be passed into the User constructor. More...

#include "llvm/IR/User.h"

Public Member Functions

 AllocInfo ()=delete
constexpr AllocInfo (const HungOffOperandsAllocMarker)
constexpr AllocInfo (const IntrusiveOperandsAllocMarker Alloc)
constexpr AllocInfo (const IntrusiveOperandsAndDescriptorAllocMarker Alloc)

Public Attributes

const unsigned NumOps: NumUserOperandsBits
const unsigned HasHungOffUses: 1
const unsigned HasDescriptor: 1

Detailed Description

Information about how a User object was allocated, to be passed into the User constructor.

DO NOT USE DIRECTLY. Use one of the AllocMarker structs instead, they call all be implicitly converted to AllocInfo.

Definition at line 79 of file User.h.

Constructor & Destructor Documentation

◆ AllocInfo() [1/4]

llvm::User::AllocInfo::AllocInfo ( )
delete

References AllocInfo().

Referenced by AllocInfo(), and AllocInfo().

◆ AllocInfo() [2/4]

llvm::User::AllocInfo::AllocInfo ( const HungOffOperandsAllocMarker )
inlineconstexpr

Definition at line 89 of file User.h.

References AllocInfo(), const, HasDescriptor, HasHungOffUses, and NumOps.

◆ AllocInfo() [3/4]

llvm::User::AllocInfo::AllocInfo ( const IntrusiveOperandsAllocMarker Alloc)
inlineconstexpr

Definition at line 92 of file User.h.

References llvm::Alloc, HasDescriptor, HasHungOffUses, and NumOps.

◆ AllocInfo() [4/4]

llvm::User::AllocInfo::AllocInfo ( const IntrusiveOperandsAndDescriptorAllocMarker Alloc)
inlineconstexpr

Definition at line 95 of file User.h.

References llvm::Alloc, HasDescriptor, HasHungOffUses, and NumOps.

Member Data Documentation

◆ HasDescriptor

const unsigned llvm::User::AllocInfo::HasDescriptor

Definition at line 85 of file User.h.

Referenced by AllocInfo(), AllocInfo(), AllocInfo(), and llvm::User::User().

◆ HasHungOffUses

const unsigned llvm::User::AllocInfo::HasHungOffUses

Definition at line 83 of file User.h.

Referenced by AllocInfo(), AllocInfo(), AllocInfo(), and llvm::User::User().

◆ NumOps

const unsigned llvm::User::AllocInfo::NumOps

Definition at line 81 of file User.h.

Referenced by AllocInfo(), AllocInfo(), AllocInfo(), and llvm::User::User().


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