clang 24.0.0git
CIRGenStmt.cpp File Reference
#include "CIRGenBuilder.h"
#include "CIRGenFunction.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Location.h"
#include "mlir/Support/LLVM.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtOpenACC.h"
#include "clang/AST/StmtOpenMP.h"
#include "clang/AST/StmtSYCL.h"
#include "clang/CIR/MissingFeatures.h"
#include "clang/CodeGenUtils/LoopAttributes.h"
#include "clang/CodeGenUtils/StmtUtils.h"
#include "llvm/Support/SaveAndRestore.h"
#include "clang/AST/StmtNodes.inc"

Go to the source code of this file.

Macros

#define STMT(Type, Base)
#define ABSTRACT_STMT(Op)
#define EXPR(Type, Base)

Functions

static clang::AtomicOptions getAdjustedAtomicOptions (clang::AtomicOptions ao, const AtomicAttr *aa)
 Compute the atomic options that apply for the extent of a clang::atomic attributed statement, starting from the enclosing options adjustments on top of them.
static mlir::LogicalResult emitStmtWithResult (CIRGenFunction &cgf, const Stmt *exprResult, AggValueSlot slot, Address *lastValue)
static void setLoopHints (cir::LoopOpInterface loopOp, cir::LoopHintAttr loopHints)

Macro Definition Documentation

◆ ABSTRACT_STMT

#define ABSTRACT_STMT ( Op)

◆ EXPR

#define EXPR ( Type,
Base )
Value:
case Stmt::Type##Class:

◆ STMT

#define STMT ( Type,
Base )

Function Documentation

◆ emitStmtWithResult()

◆ getAdjustedAtomicOptions()

clang::AtomicOptions getAdjustedAtomicOptions ( clang::AtomicOptions ao,
const AtomicAttr * aa )
static

Compute the atomic options that apply for the extent of a clang::atomic attributed statement, starting from the enclosing options adjustments on top of them.

Definition at line 36 of file CIRGenStmt.cpp.

References clang::AtomicOptions::fine_grained_memory, clang::AtomicOptions::ignore_denormal_mode, and clang::AtomicOptions::remote_memory.

Referenced by clang::CIRGen::CIRGenFunction::emitAttributedStmt().

◆ setLoopHints()

void setLoopHints ( cir::LoopOpInterface loopOp,
cir::LoopHintAttr loopHints )
static