HomeSort by: relevance | last modified time | path
    Searched refs:OpenMP (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
OpenMPOpt.h 1 //===- IPO/OpenMPOpt.h - Collection of OpenMP optimizations -----*- C++ -*-===//
23 /// Helper to remember if the module contains OpenMP (runtime calls), to be used
28 Value = OpenMPInModule::OpenMP::FOUND;
30 Value = OpenMPInModule::OpenMP::NOT_FOUND;
33 bool isKnown() { return Value != OpenMP::UNKNOWN; }
34 operator bool() { return Value != OpenMP::NOT_FOUND; }
36 /// Does this function \p F contain any OpenMP runtime calls?
48 enum class OpenMP { FOUND, NOT_FOUND, UNKNOWN } Value = OpenMP::UNKNOWN;
52 /// In which functions are OpenMP runtime calls present
    [all...]
  /src/external/apache2/llvm/lib/libLLVMFrontendOpenMP/
Makefile 7 .PATH: ${LLVM_SRCDIR}/lib/Frontend/OpenMP
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseOpenMP.cpp 1 //===--- ParseOpenMP.cpp - OpenMP directives parsing ----------------------===//
9 /// This file implements parsing of all OpenMP directives and clauses.
26 #include "llvm/Frontend/OpenMP/OMPContext.h"
32 // OpenMP declarative directives.
652 /// OpenMP, 2.8.2 declare simd Construct
816 /// Constant used in the diagnostics to distinguish the levels in an OpenMP
1104 /// Parses an OpenMP context selector.
1275 /// Parses an OpenMP context selector set.
1352 /// Parse OpenMP context selectors:
1618 /// Parsing of simple OpenMP clauses like 'default' or 'proc_bind'
    [all...]
ParseExpr.cpp 1906 } else if (getLangOpts().OpenMP) {
1917 (getLangOpts().OpenMP < 50 ||
1918 ((Tok.isNot(tok::colon) && getLangOpts().OpenMP >= 50))))
1921 if (getLangOpts().OpenMP >= 50 &&
2760 /// [OPENMP] Array shaping operation
3040 } else if (getLangOpts().OpenMP >= 50 && OpenMPDirectiveParsing &&
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaOpenMP.cpp 1 //===--- SemaOpenMP.cpp - Semantic Analysis for OpenMP constructs ---------===//
9 /// This file implements semantic analysis for OpenMP directives and
39 #include "llvm/Frontend/OpenMP/OMPConstants.h"
63 /// Stack for tracking declarations used in OpenMP directives and
294 /// Checks if the variable is a local for OpenMP region.
441 /// Start new OpenMP region stack in new non-capturing function.
557 /// descriptor variable at the \p Level of OpenMP regions.
589 /// OpenMP region.
1158 // OpenMP [2.9.1.1, Data-sharing Attribute Rules for Variables Referenced
1166 // OpenMP [2.9.1.2, Data-sharing Attribute Rules for Variables Reference
    [all...]
Sema.cpp 206 // Initialization of data sharing attributes stack for OpenMP
444 // Destroys data sharing attributes stack for OpenMP
1526 /// During the visit, certain OpenMP directives or initializer of variables
1527 /// with certain OpenMP attributes will cause subsequent visiting of any
1528 /// functions enter a state which is called OpenMP device context in this
1538 /// 2. whether the current node is in OpenMP device context
1554 // case not in OpenMP device context. Done[1] is for the case in OpenMP
1556 // different depending on whether it is in OpenMP device context.
1562 // Current OpenMP device context level. It is initialized to 0 and eac
    [all...]
SemaStmt.cpp 338 // Handle the actually selected call of an OpenMP specialized call.
339 if (LangOpts.OpenMP && isa<CallExpr>(Source) &&
3009 // In OpenMP loop region loop control variable must be private. Perform
3011 if (getLangOpts().OpenMP >= 50 && BeginDeclStmt.isUsable())
4432 // Delay error emission for the OpenMP device code.
4672 if (S.getLangOpts().OpenMP && RSI->CapRegionKind == CR_OpenMP)
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Builtins.cpp 77 bool OpenMPUnsupported = !LangOpts.OpenMP && BuiltinInfo.Langs == OMP_LANG;
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
ModuleBuilder.cpp 237 // For OpenMP emit declare reduction functions, if required.
238 if (Ctx->getLangOpts().OpenMP) {
CGDeclCXX.cpp 207 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
466 if (getLangOpts().OpenMP &&
CodeGenModule.cpp 52 #include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
143 if (LangOpts.OpenMP)
246 "OpenMP NVPTX is only prepared to deal with device code.");
251 "OpenMP AMDGCN is only prepared to deal with device code.");
2142 if (getLangOpts().OpenMP && FD->hasAttr<OMPDeclareSimdDeclAttr>())
2363 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd)
2421 // If this is OpenMP, check if it is legal to emit this global normally.
2422 if (LangOpts.OpenMP && OpenMPRuntime && OpenMPRuntime->emitTargetGlobal(D))
2689 // In OpenMP 5.0 variables and function may be marked as
2695 if (LangOpts.OpenMP >= 50 && !LangOpts.OpenMPSimd)
    [all...]
CGDecl.cpp 316 // Disable emission of the parent function for the OpenMP device codegen.
1436 getLangOpts().OpenMP
1442 if (getLangOpts().OpenMP && OpenMPLocalAddr.isValid()) {
1483 // - we are compiling OpenMP and it's an OpenMP local variable.
2489 // Check if the parameter address is controlled by OpenMP runtime.
2491 getLangOpts().OpenMP
2494 if (getLangOpts().OpenMP && OpenMPLocalAddr.isValid()) {
2600 if (!LangOpts.OpenMP || (!LangOpts.EmitAllDecls && !D->isUsed()))
2607 if (!LangOpts.OpenMP || LangOpts.OpenMPSimd |
    [all...]
CGExpr.cpp 1047 if (getLangOpts().OpenMP)
2534 // Emit reference to the private copy of the variable if it is an OpenMP
2536 if (CGF.getLangOpts().OpenMP && !CGF.getLangOpts().OpenMPSimd &&
2649 if (CGF.getLangOpts().OpenMP || CGF.getLangOpts().CUDA ||
2734 if (getLangOpts().OpenMP &&
2748 if (getLangOpts().OpenMP &&
2798 // Check for OpenMP threadprivate variables.
2799 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
4167 if (getLangOpts().OpenMP) {
4989 if (getLangOpts().OpenMP)
    [all...]
CGOpenMPRuntime.cpp 1 //===----- CGOpenMPRuntime.cpp - Interface to OpenMP Runtimes -------------===//
9 // This provides a class for OpenMP runtime code generation.
48 /// Base class for handling code generation inside OpenMP regions.
51 /// Kinds of OpenMP regions used in codegen.
79 /// inside OpenMP construct.
110 /// API for captured statement code generation in OpenMP constructs.
120 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
124 /// inside OpenMP construct.
137 /// A variable or parameter storing global thread id for OpenMP
143 /// API for captured statement code generation in OpenMP constructs
    [all...]
CGStmt.cpp 81 // Ignore all OpenMP directives except for simd if OpenMP with Simd is
83 if (getLangOpts().OpenMP && getLangOpts().OpenMPSimd) {
1216 // Check if the NRVO candidate was not globalized in OpenMP mode.
1219 (!getLangOpts().OpenMP ||
CodeGenFunction.cpp 37 #include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
87 if (getLangOpts().OpenMP && CurFn)
1093 // Emit OpenMP specific initialization of the device functions.
1094 if (getLangOpts().OpenMP && CurCodeDecl)
CGVTables.cpp 760 // For NVPTX devices in OpenMP emit special functon as null pointers,
762 if (CGM.getLangOpts().OpenMP && CGM.getLangOpts().OpenMPIsDevice &&
CGExprComplex.cpp 1154 if (getLangOpts().OpenMP)
  /src/external/apache2/llvm/include/
Makefile 123 .PATH: ${LLVM_SRCDIR}/include/llvm/Frontend/OpenMP
150 llvm/Frontend/OpenMP/OMP.h.inc|--gen-directive-decl \
151 llvm/Frontend/OpenMP/OMP.inc|--gen-directive-impl
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
CompilerInvocation.cpp 3079 // multiple language standards (C / C++ std, ObjC std, OpenCL std, OpenMP std)
3426 // OpenMP was requested via '-fopenmp', not implied by '-fopenmp-simd' or
3428 if (Opts.OpenMP && !Opts.OpenMPSimd) {
3431 if (Opts.OpenMP != 50)
3432 GenerateArg(Args, OPT_fopenmp_version_EQ, Twine(Opts.OpenMP), SA);
3447 if (Opts.OpenMP != 50)
3448 GenerateArg(Args, OPT_fopenmp_version_EQ, Twine(Opts.OpenMP), SA);
3808 Opts.OpenMP = Args.hasArg(OPT_fopenmp) ? 50 : 0;
3813 Opts.OpenMPSimd = !Opts.OpenMP && IsSimdSpecified;
3815 Opts.OpenMP && !Args.hasArg(options::OPT_fnoopenmp_use_tls)
    [all...]
InitPreprocessor.cpp 1123 // OpenMP definition
1124 // OpenMP 2.2:
1128 // version of the OpenMP API that the implementation support.
1130 switch (LangOpts.OpenMP) {
1143 // Default version is OpenMP 5.0
  /src/external/apache2/llvm/dist/llvm/utils/release/
build_llvm_package.bat 14 REM Perl (for the OpenMP run-time), 7Zip.
61 -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;compiler-rt;openmp;lldb"
  /src/external/gpl3/gcc/dist/gcc/fortran/
scanner.cc 845 Return true if !$ openmp or openacc conditional compilation sentinel was
880 2) handle OpenMP conditional compilation, where
1109 2) handle OpenMP conditional compilation, where
1167 /* Required for OpenMP's conditional compilation sentinel. */
1451 /* In case we have an OpenMP directive continued by OpenACC
1468 : G_("Wrong OpenMP continuation at %C: "
1560 /* In case we have an OpenMP directive continued by OpenACC
1577 : G_("Wrong OpenMP continuation at %C: "
1920 either an OpenMP or OpenACC directive - or a !GCC$ attribute. If
1921 OpenMP is enabled, use '!$' as conditional compilation sentine
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/fortran/
scanner.cc 845 Return true if !$ openmp or openacc conditional compilation sentinel was
880 2) handle OpenMP/OpenACC conditional compilation, where
1105 2) handle OpenMP/OpenACC conditional compilation, where
1163 /* Required for OpenMP's conditional compilation sentinel. */
1447 /* In case we have an OpenMP directive continued by OpenACC
1464 : G_("Wrong OpenMP continuation at %C: "
1556 /* In case we have an OpenMP directive continued by OpenACC
1573 : G_("Wrong OpenMP continuation at %C: "
1916 either an OpenMP or OpenACC directive - or a !GCC$ attribute. If
1917 OpenMP is enabled, use '!$' as conditional compilation sentine
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTContext.cpp 1397 if (LangOpts.OpenMP) {
1693 if (getLangOpts().OpenMP && getLangOpts().OpenMPIsDevice)
1697 if (getLangOpts().OpenMP && getLangOpts().OpenMPIsDevice)
2100 if (Target->hasFloat16Type() || !getLangOpts().OpenMP ||
2105 assert(getLangOpts().OpenMP && getLangOpts().OpenMPIsDevice &&
2106 "Expected OpenMP device compilation.");
2120 if (getLangOpts().OpenMP && getLangOpts().OpenMPIsDevice &&
2131 if (Target->hasFloat128Type() || !getLangOpts().OpenMP ||
2136 assert(getLangOpts().OpenMP && getLangOpts().OpenMPIsDevice &&
2137 "Expected OpenMP device compilation.")
    [all...]

Completed in 90 milliseconds

1 2