|
clang 22.0.0git
|
#include "Compiler.h"#include "ByteCodeEmitter.h"#include "Context.h"#include "FixedPoint.h"#include "Floating.h"#include "Function.h"#include "InterpShared.h"#include "PrimType.h"#include "Program.h"#include "clang/AST/Attr.h"Go to the source code of this file.
Classes | |
| class | clang::interp::DeclScope< Emitter > |
| Scope used to handle temporaries in toplevel variable declarations. More... | |
| class | clang::interp::OptionScope< Emitter > |
| Scope used to handle initialization methods. More... | |
| class | clang::interp::LoopScope< Emitter > |
| Sets the context for break/continue statements. More... | |
| class | clang::interp::SwitchScope< Emitter > |
| class | clang::interp::StmtExprScope< Emitter > |
| class | clang::interp::LocOverrideScope< Emitter > |
| When generating code for e.g. More... | |
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
| namespace | clang::interp |
Macros | |
| #define | EMIT_ARITH_OP(OP) |
Typedefs | |
| using | APSInt = llvm::APSInt |
Functions | |
| static std::optional< bool > | clang::interp::getBoolValue (const Expr *E) |
| static CharUnits | AlignOfType (QualType T, const ASTContext &ASTCtx, UnaryExprOrTypeTrait Kind) |
| static const Expr * | stripCheckedDerivedToBaseCasts (const Expr *E) |
| static const Expr * | stripDerivedToBaseCasts (const Expr *E) |
| static bool | hasTrivialDefaultCtorParent (const FieldDecl *FD) |
| static bool | initNeedsOverridenLoc (const CXXCtorInitializer *Init) |
| static uint32_t | getBitWidth (const Expr *E) |
| #define EMIT_ARITH_OP | ( | OP | ) |
Referenced by clang::interp::Compiler< Emitter >::VisitVectorBinOp().
| using APSInt = llvm::APSInt |
Definition at line 23 of file Compiler.cpp.
|
static |
Definition at line 2188 of file Compiler.cpp.
References clang::ASTContext::getLangOpts(), clang::ASTContext::getPreferredTypeAlign(), clang::ASTContext::getTypeAlignInChars(), clang::CharUnits::One(), clang::T, and clang::ASTContext::toCharUnitsFromBits().
Referenced by clang::interp::Compiler< Emitter >::VisitUnaryExprOrTypeTraitExpr().
|
static |
Definition at line 6448 of file Compiler.cpp.
References clang::cast(), and clang::Expr::refersToBitField().
Referenced by clang::interp::IntegralAP< false >::IntegralAP(), and clang::interp::Compiler< Emitter >::VisitUnaryOperator().
Definition at line 5517 of file Compiler.cpp.
References clang::FieldDecl::getParent(), and clang::TagDecl::isUnion().
|
static |
Definition at line 6168 of file Compiler.cpp.
References clang::interp::Init(), clang::isa(), clang::CXXConstructorDecl::isCopyOrMoveConstructor(), clang::FunctionDecl::isDefaulted(), and clang::FunctionDecl::isTrivial().
Definition at line 4190 of file Compiler.cpp.
References stripCheckedDerivedToBaseCasts().
Referenced by stripCheckedDerivedToBaseCasts(), and clang::interp::Compiler< Emitter >::VisitCallExpr().
Definition at line 4202 of file Compiler.cpp.
References stripDerivedToBaseCasts().
Referenced by stripDerivedToBaseCasts(), and clang::interp::Compiler< Emitter >::visit().