clang  19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::ConstantEmission Class Reference

#include "/home/runner/work/llvm/llvm/repo/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

 ConstantEmission ()
 
 operator bool () const
 
bool isReference () const
 
LValue getReferenceLValue (CodeGenFunction &CGF, Expr *refExpr) const
 
llvm::Constant * getValue () const
 

Static Public Member Functions

static ConstantEmission forReference (llvm::Constant *C)
 
static ConstantEmission forValue (llvm::Constant *C)
 

Detailed Description

Definition at line 4293 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ ConstantEmission()

clang::CodeGen::CodeGenFunction::ConstantEmission::ConstantEmission ( )
inline

Definition at line 4298 of file CodeGenFunction.h.

Referenced by forReference(), and forValue().

Member Function Documentation

◆ forReference()

static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forReference ( llvm::Constant *  C)
inlinestatic

◆ forValue()

static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forValue ( llvm::Constant *  C)
inlinestatic

◆ getReferenceLValue()

LValue clang::CodeGen::CodeGenFunction::ConstantEmission::getReferenceLValue ( CodeGenFunction CGF,
Expr refExpr 
) const
inline

◆ getValue()

llvm::Constant* clang::CodeGen::CodeGenFunction::ConstantEmission::getValue ( ) const
inline

Definition at line 4317 of file CodeGenFunction.h.

References isReference().

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

◆ isReference()

bool clang::CodeGen::CodeGenFunction::ConstantEmission::isReference ( ) const
inline

◆ operator bool()

clang::CodeGen::CodeGenFunction::ConstantEmission::operator bool ( ) const
inlineexplicit

Definition at line 4306 of file CodeGenFunction.h.


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