Skip to content

SageInterface::ReductionRecognition

Recognize and collect reduction variables and operations within a C/C++ loop, following OpenMP 3.0 specification for allowed reduction variable types and operation types.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
ReductionRecognition(
    SgForStatement* loop,
    std::set<std::pair<SgInitializedName*, OmpSupport::omp_construct_enum>>& results);

Parameters

Name

Description

loop

This class represents the concept of a for loop.

Created with MrDocs