class RegionCodeGenTy

Declaration

class RegionCodeGenTy { /* full declaration omitted */ };

Description

Class provides a way to call simple version of codegen for OpenMP region, or an advanced with possible pre|post-actions in codegen.

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:68

Member Variables

private intptr_t CodeGen
private clang::CodeGen::RegionCodeGenTy::CodeGenTy Callback
private clang::CodeGen::PrePostActionTy* PrePostAction

Method Overview

  • private template <typename Callable>static void CallbackFn(intptr_t CodeGen, clang::CodeGen::CodeGenFunction & CGF, clang::CodeGen::PrePostActionTy & Action)
  • private RegionCodeGenTy()
  • public template <typename Callable> RegionCodeGenTy(Callable && CodeGen, std::enable_if_t<!std::is_same<std::remove_reference_t<Callable>, RegionCodeGenTy>::value> * = nullptr)
  • public void setAction(clang::CodeGen::PrePostActionTy & Action) const

Methods

template <typename Callable>
static void CallbackFn(
    intptr_t CodeGen,
    clang::CodeGen::CodeGenFunction& CGF,
    clang::CodeGen::PrePostActionTy& Action)

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:75

Templates

Callable

Parameters

intptr_t CodeGen
clang::CodeGen::CodeGenFunction& CGF
clang::CodeGen::PrePostActionTy& Action

RegionCodeGenTy()

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:73

template <typename Callable>
RegionCodeGenTy(
    Callable&& CodeGen,
    std::enable_if_t<!std::is_same<
        std::remove_reference_t<Callable>,
        RegionCodeGenTy>::value>* = nullptr)

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:82

Templates

Callable

Parameters

Callable&& CodeGen
std::enable_if_t<!std::is_same< std::remove_reference_t<Callable>, RegionCodeGenTy>::value>* = nullptr

void setAction(
    clang::CodeGen::PrePostActionTy& Action) const

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:89

Parameters

clang::CodeGen::PrePostActionTy& Action