LLVM 22.0.0git
Public Member Functions | Public Attributes | List of all members
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

◆ AllocInfo() [2/4]

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

Definition at line 89 of file User.h.

◆ AllocInfo() [3/4]

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

Definition at line 92 of file User.h.

◆ AllocInfo() [4/4]

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

Definition at line 95 of file User.h.

Member Data Documentation

◆ HasDescriptor

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

Definition at line 85 of file User.h.

Referenced by llvm::User::User().

◆ HasHungOffUses

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

Definition at line 83 of file User.h.

Referenced by llvm::User::User().

◆ NumOps

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

Definition at line 81 of file User.h.

Referenced by llvm::User::User().


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