LLVM 20.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 bool HasHungOffUses: 1
 
const bool 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 87 of file User.h.

◆ AllocInfo() [3/4]

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

Definition at line 90 of file User.h.

◆ AllocInfo() [4/4]

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

Definition at line 93 of file User.h.

Member Data Documentation

◆ HasDescriptor

const bool llvm::User::AllocInfo::HasDescriptor

Definition at line 83 of file User.h.

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

◆ HasHungOffUses

const bool llvm::User::AllocInfo::HasHungOffUses

Definition at line 82 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: