|
clang 22.0.0git
|
A non-RAII class containing all the information about a bound opaque value. More...
#include "/work/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 245 of file CIRGenFunction.h.
|
inline |
|
inlinestatic |
Definition at line 266 of file CIRGenFunction.h.
References bind(), clang::CIRGen::CIRGenFunction::CIRGenFunction(), clang::CIRGen::CIRGenFunction::emitAnyExpr(), clang::CIRGen::CIRGenFunction::emitLValue(), and shouldBindAsLValue().
Referenced by bind(), clang::CIRGen::CIRGenFunction::OpaqueValueMapping::OpaqueValueMapping(), and clang::CIRGen::CIRGenFunction::OpaqueValueMapping::OpaqueValueMapping().
|
inlinestatic |
Definition at line 273 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::CIRGenFunction(), clang::CIRGen::CIRGenFunction::opaqueLValues, OpaqueValueMappingData(), and shouldBindAsLValue().
|
inlinestatic |
Definition at line 280 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::CIRGenFunction(), clang::CIRGen::CIRGenFunction::opaqueRValues, cir::MissingFeatures::peepholeProtection(), and shouldBindAsLValue().
|
inline |
Definition at line 294 of file CIRGenFunction.h.
|
inline |
Definition at line 293 of file CIRGenFunction.h.
|
inlinestatic |
Definition at line 255 of file CIRGenFunction.h.
References clang::ast_matchers::expr, and clang::CIRGen::CIRGenFunction::hasAggregateEvaluationKind().
Referenced by bind(), bind(), bind(), clang::CIRGen::CIRGenFunction::emitOpaqueValueLValue(), and clang::CIRGen::CIRGenFunction::OpaqueValueMapping::shouldBindAsLValue().
|
inline |
Definition at line 296 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::CIRGenFunction(), clang::CIRGen::CIRGenFunction::opaqueLValues, clang::CIRGen::CIRGenFunction::opaqueRValues, and cir::MissingFeatures::peepholeProtection().