clang 22.0.0git
CIRGenModule.cpp File Reference
#include "CIRGenModule.h"
#include "CIRGenCXXABI.h"
#include "CIRGenConstantEmitter.h"
#include "CIRGenFunction.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclOpenACC.h"
#include "clang/AST/GlobalDecl.h"
#include "clang/AST/RecordLayout.h"
#include "clang/Basic/SourceManager.h"
#include "clang/CIR/Dialect/IR/CIRDialect.h"
#include "clang/CIR/Interfaces/CIROpInterfaces.h"
#include "clang/CIR/MissingFeatures.h"
#include "CIRGenFunctionInfo.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/Verifier.h"

Go to the source code of this file.

Functions

static CIRGenCXXABIcreateCXXABI (CIRGenModule &cgm)
static void setLinkageForGV (cir::GlobalOp &gv, const NamedDecl *nd)
static bool shouldBeInCOMDAT (CIRGenModule &cgm, const Decl &d)
static bool isVarDeclStrongDefinition (const ASTContext &astContext, CIRGenModule &cgm, const VarDecl *vd, bool noCommon)
static cir::GlobalOp generateStringLiteral (mlir::Location loc, mlir::TypedAttr c, cir::GlobalLinkageKind lt, CIRGenModule &cgm, StringRef globalName, CharUnits alignment)
static std::string getMangledNameImpl (CIRGenModule &cgm, GlobalDecl gd, const NamedDecl *nd)
static bool shouldAssumeDSOLocal (const CIRGenModule &cgm, cir::CIRGlobalValueInterface gv)

Function Documentation

◆ createCXXABI()

◆ generateStringLiteral()

◆ getMangledNameImpl()

◆ isVarDeclStrongDefinition()

◆ setLinkageForGV()

◆ shouldAssumeDSOLocal()

◆ shouldBeInCOMDAT()