clang 22.0.0git
|
#include "Address.h"
#include "CIRGenConstantEmitter.h"
#include "CIRGenFunction.h"
#include "CIRGenModule.h"
#include "CIRGenRecordLayout.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributeInterfaces.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "clang/AST/APValue.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/OperationKinds.h"
#include "clang/AST/RecordLayout.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/Specifiers.h"
#include "clang/CIR/Dialect/IR/CIRAttrs.h"
#include "clang/CIR/Dialect/IR/CIRTypes.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Sequence.h"
#include "llvm/Support/ErrorHandling.h"
Go to the source code of this file.
Classes | |
class | ConstExprEmitter |
Functions | |
static QualType | getNonMemoryType (CIRGenModule &cgm, QualType type) |
static mlir::Attribute | emitArrayConstant (CIRGenModule &cgm, mlir::Type desiredType, mlir::Type commonElementType, unsigned arrayBound, SmallVectorImpl< mlir::TypedAttr > &elements, mlir::TypedAttr filler) |
|
static |
Definition at line 284 of file CIRGenExprConstant.cpp.
References clang::CIRGen::CIRGenBuilderTy::getAnonConstRecord(), clang::CIRGen::CIRGenModule::getBuilder(), and clang::CIRGen::CIRGenBuilderTy::isNullValue().
Referenced by clang::CIRGen::ConstantEmitter::tryEmitPrivate().
|
static |
Definition at line 275 of file CIRGenExprConstant.cpp.
References clang::CIRGen::CIRGenModule::getASTContext(), clang::ASTContext::getQualifiedType(), and clang::ast_matchers::type.
Referenced by clang::CodeGen::ConstantEmitter::tryEmitAbstractForMemory(), clang::CIRGen::ConstantEmitter::tryEmitPrivateForMemory(), clang::CodeGen::ConstantEmitter::tryEmitPrivateForMemory(), clang::CIRGen::ConstantEmitter::tryEmitPrivateForVarInit(), and clang::CodeGen::ConstantEmitter::tryEmitPrivateForVarInit().