clang 20.0.0git
Classes | Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::CodeGen::CodeGenFunction::AutoVarEmission Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

bool useLifetimeMarkers () const
 
llvm::Value * getSizeForLifetimeMarkers () const
 
Address getAllocatedAddress () const
 Returns the raw, allocated address, which is not necessarily the address of the object itself.
 
RawAddress getOriginalAllocatedAddress () const
 Returns the address for the original alloca instruction.
 
Address getObjectAddress (CodeGenFunction &CGF) const
 Returns the address of the object within this declaration.
 

Static Public Member Functions

static AutoVarEmission invalid ()
 

Friends

class CodeGenFunction
 

Detailed Description

Definition at line 3354 of file CodeGenFunction.h.

Member Function Documentation

◆ getAllocatedAddress()

Address clang::CodeGen::CodeGenFunction::AutoVarEmission::getAllocatedAddress ( ) const
inline

Returns the raw, allocated address, which is not necessarily the address of the object itself.

It is casted to default address space for address space agnostic languages.

Definition at line 3408 of file CodeGenFunction.h.

◆ getObjectAddress()

Address clang::CodeGen::CodeGenFunction::AutoVarEmission::getObjectAddress ( CodeGenFunction CGF) const
inline

Returns the address of the object within this declaration.

Note that this does not chase the forwarding pointer for __block decls.

Definition at line 3418 of file CodeGenFunction.h.

References clang::CodeGen::CodeGenFunction::emitBlockByrefAddress().

◆ getOriginalAllocatedAddress()

RawAddress clang::CodeGen::CodeGenFunction::AutoVarEmission::getOriginalAllocatedAddress ( ) const
inline

Returns the address for the original alloca instruction.

Definition at line 3413 of file CodeGenFunction.h.

◆ getSizeForLifetimeMarkers()

llvm::Value * clang::CodeGen::CodeGenFunction::AutoVarEmission::getSizeForLifetimeMarkers ( ) const
inline

Definition at line 3400 of file CodeGenFunction.h.

References useLifetimeMarkers().

◆ invalid()

static AutoVarEmission clang::CodeGen::CodeGenFunction::AutoVarEmission::invalid ( )
inlinestatic

Definition at line 3395 of file CodeGenFunction.h.

◆ useLifetimeMarkers()

bool clang::CodeGen::CodeGenFunction::AutoVarEmission::useLifetimeMarkers ( ) const
inline

Definition at line 3397 of file CodeGenFunction.h.

Referenced by getSizeForLifetimeMarkers().

Friends And Related Function Documentation

◆ CodeGenFunction

friend class CodeGenFunction
friend

Definition at line 3355 of file CodeGenFunction.h.


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