clang 22.0.0git
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
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 3405 of file CodeGenFunction.h.

Member Function Documentation

◆ getAllocatedAddress()

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

◆ 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 3461 of file CodeGenFunction.h.

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

Referenced by clang::CodeGen::CodeGenFunction::EmitAutoVarInit(), and clang::CodeGen::CodeGenFunction::emitAutoVarTypeCleanup().

◆ getOriginalAllocatedAddress()

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

Returns the address for the original alloca instruction.

Definition at line 3456 of file CodeGenFunction.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitAutoVarAlloca().

◆ invalid()

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

◆ useLifetimeMarkers()

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

◆ CodeGenFunction

friend class CodeGenFunction
friend

Definition at line 3406 of file CodeGenFunction.h.

References CodeGenFunction.

Referenced by CodeGenFunction, and getObjectAddress().


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