|
bool | visitFunc (const FunctionDecl *F) override |
|
bool | visitExpr (const Expr *E) override |
|
bool | visitDecl (const VarDecl *VD) override |
| Toplevel visitDecl(). More...
|
|
void | emitCleanup () |
| Emits scope cleanup instructions. More...
|
|
const RecordType * | getRecordTy (QualType Ty) |
| Returns a record type from a record or pointer type. More...
|
|
Record * | getRecord (QualType Ty) |
| Returns a record from a record or pointer type. More...
|
|
Record * | getRecord (const RecordDecl *RD) |
|
const Function * | getFunction (const FunctionDecl *FD) |
|
std::optional< PrimType > | classify (const Expr *E) const |
|
std::optional< PrimType > | classify (QualType Ty) const |
|
PrimType | classifyPrim (QualType Ty) const |
| Classifies a known primitive type. More...
|
|
PrimType | classifyPrim (const Expr *E) const |
| Classifies a known primitive expression. More...
|
|
bool | visit (const Expr *E) |
| Evaluates an expression and places the result on the stack. More...
|
|
bool | visitInitializer (const Expr *E) |
| Compiles an initializer. More...
|
|
bool | discard (const Expr *E) |
| Evaluates an expression for side effects and discards the result. More...
|
|
bool | delegate (const Expr *E) |
| Just pass evaluation on to E . More...
|
|
bool | visitVarDecl (const VarDecl *VD) |
| Creates and initializes a variable from the given decl. More...
|
|
bool | visitAPValue (const APValue &Val, PrimType ValType, const Expr *E) |
| Visit an APValue. More...
|
|
bool | visitAPValueInitializer (const APValue &Val, const Expr *E) |
|
bool | visitBool (const Expr *E) |
| Visits an expression and converts it to a boolean. More...
|
|
bool | visitLocalInitializer (const Expr *Init, unsigned I) |
| Visits an initializer for a local. More...
|
|
bool | visitGlobalInitializer (const Expr *Init, unsigned I) |
| Visits an initializer for a global. More...
|
|
bool | visitThisInitializer (const Expr *I) |
| Visits a delegated initializer. More...
|
|
bool | visitInitList (ArrayRef< const Expr * > Inits, const Expr *ArrayFiller, const Expr *E) |
|
bool | visitArrayElemInit (unsigned ElemIndex, const Expr *Init) |
| Pointer to the array(not the element!) must be on the stack when calling this. More...
|
|
unsigned | allocateLocalPrimitive (DeclTy &&Decl, PrimType Ty, bool IsConst, bool IsExtended=false) |
| Creates a local primitive value. More...
|
|
std::optional< unsigned > | allocateLocal (DeclTy &&Decl, const ValueDecl *ExtendingDecl=nullptr) |
| Allocates a space storing a local given its type. More...
|
|
template<class Emitter>
class clang::interp::ByteCodeStmtGen< Emitter >
Compilation context for statements.
Definition at line 31 of file ByteCodeStmtGen.h.