LLVM 20.0.0git
|
Information about an OpenMP reduction. More...
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
Public Attributes | |
Type * | ElementType |
Reduction element type, must match pointee type of variable. | |
Value * | Variable |
Reduction variable of pointer type. | |
Value * | PrivateVariable |
Thread-private partial reduction variable. | |
EvalKind | EvaluationKind |
Reduction evaluation kind - scalar, complex or aggregate. | |
ReductionGenCBTy | ReductionGen |
Callback for generating the reduction body. | |
ReductionGenClangCBTy | ReductionGenClang |
Clang callback for generating the reduction body. | |
ReductionGenAtomicCBTy | AtomicReductionGen |
Callback for generating the atomic reduction body, may be null. | |
Information about an OpenMP reduction.
Definition at line 1334 of file OMPIRBuilder.h.
|
inline |
Definition at line 1335 of file OMPIRBuilder.h.
|
inline |
Definition at line 1343 of file OMPIRBuilder.h.
ReductionGenAtomicCBTy llvm::OpenMPIRBuilder::ReductionInfo::AtomicReductionGen |
Callback for generating the atomic reduction body, may be null.
The IR produced by this will be used to atomically combine two values during reduction. If null, the implementation will use the non-atomic version along with the appropriate synchronization mechanisms.
Definition at line 1374 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions().
Type* llvm::OpenMPIRBuilder::ReductionInfo::ElementType |
Reduction element type, must match pointee type of variable.
Definition at line 1349 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions().
EvalKind llvm::OpenMPIRBuilder::ReductionInfo::EvaluationKind |
Reduction evaluation kind - scalar, complex or aggregate.
Definition at line 1358 of file OMPIRBuilder.h.
Value* llvm::OpenMPIRBuilder::ReductionInfo::PrivateVariable |
Thread-private partial reduction variable.
Definition at line 1355 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions(), and llvm::OpenMPIRBuilder::createReductionsGPU().
ReductionGenCBTy llvm::OpenMPIRBuilder::ReductionInfo::ReductionGen |
Callback for generating the reduction body.
The IR produced by this will be used to combine two values in a thread-safe context, e.g., under lock or within the same thread, and therefore need not be atomic.
Definition at line 1363 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions().
ReductionGenClangCBTy llvm::OpenMPIRBuilder::ReductionInfo::ReductionGenClang |
Clang callback for generating the reduction body.
The IR produced by this will be used to combine two values in a thread-safe context, e.g., under lock or within the same thread, and therefore need not be atomic.
Definition at line 1368 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductionsGPU().
Value* llvm::OpenMPIRBuilder::ReductionInfo::Variable |
Reduction variable of pointer type.
Definition at line 1352 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions(), and llvm::OpenMPIRBuilder::createReductionsGPU().