clang 24.0.0git
clang::CIRGen::CIRGenFunction::ConstantEmission Class Reference

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"

Public Member Functions

 ConstantEmission ()
 operator bool () const
bool isReference () const
LValue getReferenceLValue (CIRGenFunction &cgf, const Expr *refExpr) const
mlir::TypedAttr getValue () const

Static Public Member Functions

static ConstantEmission forReference (mlir::TypedAttr c)
static ConstantEmission forValue (mlir::TypedAttr c)

Detailed Description

Definition at line 807 of file CIRGenFunction.h.

Constructor & Destructor Documentation

◆ ConstantEmission()

clang::CIRGen::CIRGenFunction::ConstantEmission::ConstantEmission ( )
inline

Definition at line 814 of file CIRGenFunction.h.

Referenced by forReference(), and forValue().

Member Function Documentation

◆ forReference()

ConstantEmission clang::CIRGen::CIRGenFunction::ConstantEmission::forReference ( mlir::TypedAttr c)
inlinestatic

Definition at line 815 of file CIRGenFunction.h.

References ConstantEmission().

Referenced by clang::CIRGen::CIRGenFunction::tryEmitAsConstant().

◆ forValue()

ConstantEmission clang::CIRGen::CIRGenFunction::ConstantEmission::forValue ( mlir::TypedAttr c)
inlinestatic

Definition at line 818 of file CIRGenFunction.h.

References ConstantEmission().

Referenced by clang::CIRGen::CIRGenFunction::tryEmitAsConstant().

◆ getReferenceLValue()

◆ getValue()

mlir::TypedAttr clang::CIRGen::CIRGenFunction::ConstantEmission::getValue ( ) const
inline

Definition at line 835 of file CIRGenFunction.h.

References isReference().

Referenced by clang::CIRGen::CIRGenFunction::emitScalarConstant().

◆ isReference()

bool clang::CIRGen::CIRGenFunction::ConstantEmission::isReference ( ) const
inline

◆ operator bool()

clang::CIRGen::CIRGenFunction::ConstantEmission::operator bool ( ) const
inlineexplicit

Definition at line 822 of file CIRGenFunction.h.


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