class CGOpenMPRuntime::LastprivateConditionalRAII

Declaration

class CGOpenMPRuntime::LastprivateConditionalRAII { /* full declaration omitted */ };

Description

Manages list of lastprivate conditional decls for the specified directive.

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

Member Variables

private clang::CodeGen::CodeGenModule& CGM
private clang::CodeGen::CGOpenMPRuntime:: LastprivateConditionalRAII::ActionToDo Action = ActionToDo::DoNotPush

Method Overview

  • private LastprivateConditionalRAII(clang::CodeGen::CodeGenFunction & CGF, const clang::OMPExecutableDirective & S)
  • public LastprivateConditionalRAII(clang::CodeGen::CodeGenFunction & CGF, const clang::OMPExecutableDirective & S, clang::CodeGen::LValue IVLVal)
  • public static clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalRAII disable(clang::CodeGen::CodeGenFunction & CGF, const clang::OMPExecutableDirective & S)
  • private void tryToDisableInnerAnalysis(const clang::OMPExecutableDirective & S, llvm::DenseSet<CanonicalDeclPtr<const Decl>> & NeedToAddForLPCsAsDisabled) const
  • public ~LastprivateConditionalRAII()

Methods

LastprivateConditionalRAII(
    clang::CodeGen::CodeGenFunction& CGF,
    const clang::OMPExecutableDirective& S)

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

Parameters

clang::CodeGen::CodeGenFunction& CGF
const clang::OMPExecutableDirective& S

LastprivateConditionalRAII(
    clang::CodeGen::CodeGenFunction& CGF,
    const clang::OMPExecutableDirective& S,
    clang::CodeGen::LValue IVLVal)

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

Parameters

clang::CodeGen::CodeGenFunction& CGF
const clang::OMPExecutableDirective& S
clang::CodeGen::LValue IVLVal

static clang::CodeGen::CGOpenMPRuntime::
    LastprivateConditionalRAII
    disable(
        clang::CodeGen::CodeGenFunction& CGF,
        const clang::OMPExecutableDirective& S)

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

Parameters

clang::CodeGen::CodeGenFunction& CGF
const clang::OMPExecutableDirective& S

void tryToDisableInnerAnalysis(
    const clang::OMPExecutableDirective& S,
    llvm::DenseSet<CanonicalDeclPtr<const Decl>>&
        NeedToAddForLPCsAsDisabled) const

Description

Check and try to disable analysis of inner regions for changes in lastprivate conditional.

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

Parameters

const clang::OMPExecutableDirective& S
llvm::DenseSet<CanonicalDeclPtr<const Decl>>& NeedToAddForLPCsAsDisabled

~LastprivateConditionalRAII()

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