clang API Documentation

Functions
CGStmtOpenMP.cpp File Reference
#include "CGOpenMPRuntime.h"
#include "CodeGenFunction.h"
#include "CodeGenModule.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtOpenMP.h"
#include "TargetInfo.h"
Include dependency graph for CGStmtOpenMP.cpp:

Go to the source code of this file.

Functions

static void EmitOMPIfClause (CodeGenFunction &CGF, const Expr *Cond, const std::function< void(bool)> &CodeGen)
 Emits code for OpenMP 'if' clause using specified CodeGen function. Here is the logic: if (Cond) { CodeGen(true); } else { CodeGen(false); }.
static void EmitOMPParallelCall (CodeGenFunction &CGF, const OMPParallelDirective &S, llvm::Value *OutlinedFn, llvm::Value *CapturedStruct)
 Emits code for OpenMP parallel directive in the parallel region.
static void EmitOMPAlignedClause (CodeGenFunction &CGF, CodeGenModule &CGM, const OMPAlignedClause &Clause)
static void EmitPrivateLoopCounters (CodeGenFunction &CGF, CodeGenFunction::OMPPrivateScope &LoopScope, ArrayRef< Expr * > Counters)

Function Documentation

static void EmitOMPAlignedClause ( CodeGenFunction CGF,
CodeGenModule CGM,
const OMPAlignedClause Clause 
) [static]
static void EmitOMPIfClause ( CodeGenFunction CGF,
const Expr Cond,
const std::function< void(bool)> &  CodeGen 
) [static]
static void EmitOMPParallelCall ( CodeGenFunction CGF,
const OMPParallelDirective S,
llvm::Value OutlinedFn,
llvm::Value CapturedStruct 
) [static]
static void EmitPrivateLoopCounters ( CodeGenFunction CGF,
CodeGenFunction::OMPPrivateScope LoopScope,
ArrayRef< Expr * >  Counters 
) [static]