clang 22.0.0git
Classes | Functions
CIRGenExprConstant.cpp File Reference
#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)
 

Function Documentation

◆ emitArrayConstant()

static mlir::Attribute emitArrayConstant ( CIRGenModule cgm,
mlir::Type  desiredType,
mlir::Type  commonElementType,
unsigned  arrayBound,
SmallVectorImpl< mlir::TypedAttr > &  elements,
mlir::TypedAttr  filler 
)
static

◆ getNonMemoryType()

static QualType getNonMemoryType ( CIRGenModule cgm,
QualType  type 
)
static