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 1297 of file OMPIRBuilder.h.
|
inline |
Definition at line 1298 of file OMPIRBuilder.h.
|
inline |
Definition at line 1306 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 1337 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 1312 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions().
EvalKind llvm::OpenMPIRBuilder::ReductionInfo::EvaluationKind |
Reduction evaluation kind - scalar, complex or aggregate.
Definition at line 1321 of file OMPIRBuilder.h.
Value* llvm::OpenMPIRBuilder::ReductionInfo::PrivateVariable |
Thread-private partial reduction variable.
Definition at line 1318 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 1326 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 1331 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductionsGPU().
Value* llvm::OpenMPIRBuilder::ReductionInfo::Variable |
Reduction variable of pointer type.
Definition at line 1315 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createReductions(), and llvm::OpenMPIRBuilder::createReductionsGPU().