clang 22.0.0git
LoweringPrepareItaniumCXXABI.cpp File Reference
#include "LoweringPrepareCXXABI.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Value.h"
#include "mlir/IR/ValueRange.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/CIR/Dialect/Builder/CIRBaseBuilder.h"
#include "clang/CIR/Dialect/IR/CIRAttrs.h"
#include "clang/CIR/Dialect/IR/CIRDataLayout.h"
#include "clang/CIR/Dialect/IR/CIRDialect.h"
#include "clang/CIR/MissingFeatures.h"

Go to the source code of this file.

Classes

class  LoweringPrepareItaniumCXXABI

Functions

static void buildBadCastCall (cir::CIRBaseBuilderTy &builder, mlir::Location loc, mlir::FlatSymbolRefAttr badCastFuncRef)
static mlir::Value buildDynamicCastAfterNullCheck (cir::CIRBaseBuilderTy &builder, cir::DynamicCastOp op)
static mlir::Value buildDynamicCastToVoidAfterNullCheck (cir::CIRBaseBuilderTy &builder, clang::ASTContext &astCtx, cir::DynamicCastOp op)

Function Documentation

◆ buildBadCastCall()

void buildBadCastCall ( cir::CIRBaseBuilderTy & builder,
mlir::Location loc,
mlir::FlatSymbolRefAttr badCastFuncRef )
static

◆ buildDynamicCastAfterNullCheck()

◆ buildDynamicCastToVoidAfterNullCheck()

mlir::Value buildDynamicCastToVoidAfterNullCheck ( cir::CIRBaseBuilderTy & builder,
clang::ASTContext & astCtx,
cir::DynamicCastOp op )
static