clang 22.0.0git
|
A non-RAII class containing all the information about a bound opaque value. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"
Public Member Functions | |
OpaqueValueMappingData () | |
bool | isValid () const |
void | clear () |
void | unbind (CIRGenFunction &cgf) |
Static Public Member Functions | |
static bool | shouldBindAsLValue (const Expr *expr) |
static OpaqueValueMappingData | bind (CIRGenFunction &cgf, const OpaqueValueExpr *ov, const Expr *e) |
static OpaqueValueMappingData | bind (CIRGenFunction &cgf, const OpaqueValueExpr *ov, const LValue &lv) |
static OpaqueValueMappingData | bind (CIRGenFunction &cgf, const OpaqueValueExpr *ov, const RValue &rv) |
A non-RAII class containing all the information about a bound opaque value.
OpaqueValueMapping, below, is a RAII wrapper for this which makes individual mappings very simple; using this class directly is useful when you have a variable number of opaque values or don't want the RAII functionality for some reason.
Definition at line 161 of file CIRGenFunction.h.
|
inline |
Definition at line 169 of file CIRGenFunction.h.
Referenced by bind().
|
inlinestatic |
Definition at line 182 of file CIRGenFunction.h.
References bind(), clang::CIRGen::CIRGenFunction::emitAnyExpr(), clang::CIRGen::CIRGenFunction::emitLValue(), and shouldBindAsLValue().
Referenced by bind(), and clang::CIRGen::CIRGenFunction::OpaqueValueMapping::OpaqueValueMapping().
|
inlinestatic |
Definition at line 189 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::opaqueLValues, OpaqueValueMappingData(), and shouldBindAsLValue().
|
inlinestatic |
Definition at line 196 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::opaqueRValues, cir::MissingFeatures::peepholeProtection(), and shouldBindAsLValue().
|
inline |
Definition at line 210 of file CIRGenFunction.h.
Referenced by clang::CIRGen::CIRGenFunction::OpaqueValueMapping::pop().
|
inline |
Definition at line 209 of file CIRGenFunction.h.
Referenced by clang::CIRGen::CIRGenFunction::OpaqueValueMapping::~OpaqueValueMapping().
|
inlinestatic |
Definition at line 171 of file CIRGenFunction.h.
References clang::ast_matchers::expr, and clang::CIRGen::CIRGenFunction::hasAggregateEvaluationKind().
Referenced by bind(), and clang::CIRGen::CIRGenFunction::OpaqueValueMapping::shouldBindAsLValue().
|
inline |
Definition at line 212 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::opaqueLValues, clang::CIRGen::CIRGenFunction::opaqueRValues, and cir::MissingFeatures::peepholeProtection().
Referenced by clang::CIRGen::CIRGenFunction::OpaqueValueMapping::pop(), and clang::CIRGen::CIRGenFunction::OpaqueValueMapping::~OpaqueValueMapping().