Function OmpSupport::patchUpSharedVariables

Function OmpSupport::patchUpSharedVariables#

Function Documentation#

int OmpSupport::patchUpSharedVariables(SgFile*)#

makeDataSharingExplicit() can call some of existing functions for some work in OmpSupport namespace by Hongyi 07/16/2012 TODO: add a function within the OmpSupport namespace, the function should transform the AST, so all variables’ data-sharing attributes are explicitied represented in the AST. ROSE has dedicated AST nodes for OpenMP directives and the associated clauses, such as private, shared, reduction.