clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Compiler.h"
Public Types | |
enum | { K_This = 0 , K_Field = 1 , K_Temp = 2 , K_Decl = 3 , K_Elem = 5 , K_InitList = 6 } |
Public Member Functions | |
InitLink (uint8_t Kind) | |
template<class Emitter > | |
bool | emit (Compiler< Emitter > *Ctx, const Expr *E) const |
Static Public Member Functions | |
static InitLink | This () |
static InitLink | InitList () |
static InitLink | Field (unsigned Offset) |
static InitLink | Temp (unsigned Offset) |
static InitLink | Decl (const ValueDecl *D) |
static InitLink | Elem (unsigned Index) |
Public Attributes | |
uint32_t | Kind |
union { | |
unsigned Offset | |
const ValueDecl * D | |
}; | |
Definition at line 46 of file Compiler.h.
anonymous enum |
Enumerator | |
---|---|
K_This | |
K_Field | |
K_Temp | |
K_Decl | |
K_Elem | |
K_InitList |
Definition at line 48 of file Compiler.h.
|
inline |
Definition at line 80 of file Compiler.h.
Definition at line 69 of file Compiler.h.
Referenced by clang::interp::DeclScope< Emitter >::DeclScope(), and clang::interp::Compiler< Emitter >::visitVarDecl().
Definition at line 74 of file Compiler.h.
References K_Elem.
Referenced by clang::interp::Compiler< Emitter >::visitArrayElemInit().
bool clang::interp::InitLink::emit | ( | Compiler< Emitter > * | Ctx, |
const Expr * | E | ||
) | const |
Definition at line 78 of file Compiler.cpp.
References D, E, K_Decl, K_Elem, K_Field, K_InitList, K_Temp, K_This, Kind, Offset, and clang::interp::Compiler< Emitter >::visitDeclRef().
Definition at line 59 of file Compiler.h.
References K_Field, and Offset.
Referenced by clang::interp::Compiler< Emitter >::visitInitList().
|
inlinestatic |
Definition at line 58 of file Compiler.h.
References K_InitList.
Referenced by clang::interp::Compiler< Emitter >::visitInitList().
Definition at line 64 of file Compiler.h.
References K_Temp, and Offset.
Referenced by clang::interp::Compiler< Emitter >::visit(), and clang::interp::Compiler< Emitter >::VisitMaterializeTemporaryExpr().
|
inlinestatic |
Definition at line 57 of file Compiler.h.
References K_This.
union { ... } clang::interp::InitLink::@289 |
const ValueDecl* clang::interp::InitLink::D |
Definition at line 87 of file Compiler.h.
uint32_t clang::interp::InitLink::Kind |
Definition at line 84 of file Compiler.h.
Referenced by emit().
unsigned clang::interp::InitLink::Offset |
Definition at line 86 of file Compiler.h.