clang 22.0.0git
|
Go to the source code of this file.
Functions | |
static Address | emitValToTemp (CIRGenFunction &cgf, Expr *e) |
static bool | isFullSizeType (CIRGenModule &cgm, mlir::Type ty, uint64_t expectedSize) |
Does a store of the given IR type modify the full expected width? | |
static void | emitAtomicOp (CIRGenFunction &cgf, AtomicExpr *expr, Address dest, Address ptr, Address val1, uint64_t size, cir::MemOrder order) |
static bool | isMemOrderValid (uint64_t order, bool isStore, bool isLoad) |
|
static |
Definition at line 247 of file CIRGenAtomic.cpp.
References cir::MissingFeatures::atomicScope(), cir::MissingFeatures::atomicSyncScopeID(), clang::CIRGen::CIRGenFunction::cgm, clang::CIRGen::CIRGenBuilderTy::createLoad(), clang::CIRGen::CIRGenBuilderTy::createStore(), clang::CIRGen::CIRGenModule::errorNYI(), clang::ast_matchers::expr, clang::CIRGen::CIRGenFunction::getBuilder(), and clang::CIRGen::CIRGenFunction::getLoc().
Referenced by clang::CIRGen::CIRGenFunction::emitAtomicExpr().
|
static |
Definition at line 133 of file CIRGenAtomic.cpp.
References clang::CIRGen::CIRGenFunction::createMemTemp(), clang::CIRGen::CIRGenFunction::emitAnyExprToMem(), clang::CIRGen::CIRGenFunction::getLoc(), clang::QualType::getQualifiers(), clang::Stmt::getSourceRange(), and clang::Expr::getType().
Referenced by clang::CIRGen::CIRGenFunction::emitAtomicExpr().
|
static |
Does a store of the given IR type modify the full expected width?
Definition at line 142 of file CIRGenAtomic.cpp.
References clang::CIRGen::CIRGenModule::getDataLayout(), and cir::CIRDataLayout::getTypeStoreSize().
Definition at line 404 of file CIRGenAtomic.cpp.
References cir::isValidCIRAtomicOrderingCABI().
Referenced by clang::CIRGen::CIRGenFunction::emitAtomicExpr().