Skip to content

OmpSupport::buildAndInsertDeclarationForOmp

Special handling when trying to build and insert a variable declaration into a BB within Fortran OpenMP code

Synopsis

Declared in <src/midend/programTransformation/ompLowering/omp_lowering.h>

SgVariableDeclaration*
buildAndInsertDeclarationForOmp(
    std::string const& name,
    SgType* type,
    SgInitializer* varInit,
    SgBasicBlock* orig_scope);

Return Value

This class represents the concept of a C or C++ variable declaration.

Parameters

Name

Description

type

This class represents the base class for all types.

varInit

This class represents the notion of an initializer for a variable declaration or

orig_scope

This class represents the concept of a block (not a basic block from control flow analysis).

Created with MrDocs