|
clang 22.0.0git
|
#include "CIRGenConstantEmitter.h"#include "CIRGenFunction.h"#include "mlir/IR/Location.h"#include "clang/AST/Attr.h"#include "clang/AST/Decl.h"#include "clang/AST/DeclOpenACC.h"#include "clang/AST/Expr.h"#include "clang/AST/ExprCXX.h"#include "clang/CIR/MissingFeatures.h"Go to the source code of this file.
Functions | |
| static void | emitStoresForConstant (CIRGenModule &cgm, const VarDecl &d, Address addr, bool isVolatile, CIRGenBuilderTy &builder, mlir::TypedAttr constant) |
| static std::string | getStaticDeclName (CIRGenModule &cgm, const VarDecl &d) |
|
static |
Definition at line 169 of file CIRGenDecl.cpp.
References cir::MissingFeatures::addAutoInitAnnotation(), clang::CIRGen::CIRGenBuilderTy::createStore(), cir::CIRBaseBuilderTy::getConstant(), clang::CIRGen::Address::getDefiningOp(), clang::CIRGen::Address::getElementType(), clang::CIRGen::CIRGenModule::getLoc(), clang::CIRGen::CIRGenModule::getMLIRContext(), clang::CIRGen::CIRGenModule::getModule(), clang::VarDecl::getSourceRange(), cir::CIRDataLayout::getTypeAllocSize(), clang::SourceRange::isValid(), cir::MissingFeatures::shouldCreateMemCpyFromGlobal(), cir::MissingFeatures::shouldSplitConstantStore(), cir::MissingFeatures::shouldUseBZeroPlusStoresToInitialize(), cir::MissingFeatures::shouldUseMemSetToInitialize(), cir::MissingFeatures::vectorConstants(), and clang::CIRGen::Address::withElementType().
Referenced by clang::CIRGen::CIRGenFunction::emitAutoVarInit().
|
static |
Definition at line 379 of file CIRGenDecl.cpp.
References clang::cast(), clang::CIRGen::CIRGenModule::errorNYI(), clang::Decl::getDeclContext(), clang::CIRGen::CIRGenModule::getLangOpts(), clang::CIRGen::CIRGenModule::getMangledName(), clang::NamedDecl::getNameAsString(), clang::VarDecl::getSourceRange(), clang::isa(), and clang::NamedDecl::isExternallyVisible().
Referenced by clang::CIRGen::CIRGenModule::getOrCreateStaticVarDecl(), and clang::CodeGen::CodeGenModule::getOrCreateStaticVarDecl().