clang 22.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_RVO = 6 , K_InitList = 7 } |
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 | RVO () |
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_RVO | |
K_InitList |
Definition at line 48 of file Compiler.h.
|
inline |
Definition at line 82 of file Compiler.h.
References Kind.
Referenced by Decl(), Elem(), Field(), InitList(), RVO(), Temp(), and This().
Definition at line 71 of file Compiler.h.
References D, InitLink(), and K_Decl.
Referenced by clang::interp::DeclScope< Emitter >::DeclScope(), and clang::interp::Compiler< Emitter >::visitVarDecl().
Definition at line 76 of file Compiler.h.
References InitLink(), K_Elem, and Offset.
Referenced by clang::interp::Compiler< Emitter >::visitArrayElemInit().
bool clang::interp::InitLink::emit | ( | Compiler< Emitter > * | Ctx, |
const Expr * | E ) const |
Definition at line 87 of file Compiler.cpp.
References D, K_Decl, K_Elem, K_Field, K_InitList, K_RVO, K_Temp, K_This, Kind, Offset, and clang::interp::Compiler< Emitter >::visitDeclRef().
Definition at line 61 of file Compiler.h.
References InitLink(), K_Field, and Offset.
Referenced by clang::interp::Compiler< Emitter >::visitInitList().
|
inlinestatic |
Definition at line 59 of file Compiler.h.
References InitLink(), and K_InitList.
Referenced by clang::interp::Compiler< Emitter >::visitInitList().
|
inlinestatic |
Definition at line 60 of file Compiler.h.
References InitLink(), and K_RVO.
Referenced by clang::interp::Compiler< Emitter >::visitReturnStmt().
Definition at line 66 of file Compiler.h.
References InitLink(), K_Temp, and Offset.
Referenced by clang::interp::Compiler< Emitter >::visit(), clang::interp::Compiler< Emitter >::visitCallArgs(), clang::interp::Compiler< Emitter >::visitExpr(), and clang::interp::Compiler< Emitter >::VisitMaterializeTemporaryExpr().
|
inlinestatic |
Definition at line 58 of file Compiler.h.
References InitLink(), and K_This.
union { ... } clang::interp::InitLink |
const ValueDecl* clang::interp::InitLink::D |
Definition at line 89 of file Compiler.h.
uint32_t clang::interp::InitLink::Kind |
Definition at line 86 of file Compiler.h.
Referenced by emit(), and InitLink().
unsigned clang::interp::InitLink::Offset |