Coverage Report

Created: 2021-09-21 08:58

/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/include/clang/Basic/OpenCLOptions.h
Line
Count
Source (jump to first uncovered line)
1
//===--- OpenCLOptions.h ----------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
///
9
/// \file
10
/// Defines the clang::OpenCLOptions class.
11
///
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_BASIC_OPENCLOPTIONS_H
15
#define LLVM_CLANG_BASIC_OPENCLOPTIONS_H
16
17
#include "clang/Basic/LangOptions.h"
18
#include "llvm/ADT/StringMap.h"
19
20
namespace clang {
21
22
class DiagnosticsEngine;
23
class TargetInfo;
24
25
namespace {
26
// This enum maps OpenCL version(s) into value. These values are used as
27
// a mask to indicate in which OpenCL version(s) extension is a core or
28
// optional core feature.
29
enum OpenCLVersionID : unsigned int {
30
  OCL_C_10 = 0x1,
31
  OCL_C_11 = 0x2,
32
  OCL_C_12 = 0x4,
33
  OCL_C_20 = 0x8,
34
  OCL_C_30 = 0x10,
35
  OCL_C_ALL = 0x1f,
36
  OCL_C_11P = OCL_C_ALL ^ OCL_C_10,              // OpenCL C 1.1+
37
  OCL_C_12P = OCL_C_ALL ^ (OCL_C_10 | OCL_C_11), // OpenCL C 1.2+
38
};
39
40
1.94M
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
1.94M
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
7.41k
  case 100:
45
7.41k
    return OCL_C_10;
46
4.18k
  case 110:
47
4.18k
    return OCL_C_11;
48
72.1k
  case 120:
49
72.1k
    return OCL_C_12;
50
1.83M
  case 200:
51
1.83M
    return OCL_C_20;
52
23.1k
  case 300:
53
23.1k
    return OCL_C_30;
54
1.94M
  }
55
1.94M
}
Unexecuted instantiation: ClangRefactor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTContext.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Decl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DeclBase.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Expr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ExprConstant.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: FormatString.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ByteCodeExprGen.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ByteCodeStmtGen.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Context.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Program.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ItaniumCXXABI.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ItaniumMangle.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Mangle.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: MicrosoftCXXABI.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: MicrosoftMangle.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: OpenMPClause.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PrintfFormatString.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RecordLayout.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RecordLayoutBuilder.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ScanfFormatString.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Stmt.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Type.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: VTableBuilder.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Attributes.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Builtins.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Module.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
OpenCLOptions.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Line
Count
Source
40
868k
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
868k
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
2.65k
  case 100:
45
2.65k
    return OCL_C_10;
46
1.77k
  case 110:
47
1.77k
    return OCL_C_11;
48
29.6k
  case 120:
49
29.6k
    return OCL_C_12;
50
825k
  case 200:
51
825k
    return OCL_C_20;
52
9.07k
  case 300:
53
9.07k
    return OCL_C_30;
54
868k
  }
55
868k
}
Unexecuted instantiation: TargetInfo.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Targets.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Line
Count
Source
40
894k
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
894k
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
3.30k
  case 100:
45
3.30k
    return OCL_C_10;
46
2.41k
  case 110:
47
2.41k
    return OCL_C_11;
48
40.8k
  case 120:
49
40.8k
    return OCL_C_12;
50
833k
  case 200:
51
833k
    return OCL_C_20;
52
14.0k
  case 300:
53
14.0k
    return OCL_C_30;
54
894k
  }
55
894k
}
Unexecuted instantiation: AArch64.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AMDGPU.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ARC.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ARM.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AVR.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: BPF.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Hexagon.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Lanai.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Le64.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: M68k.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: MSP430.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Mips.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NVPTX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: OSTargets.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PNaCl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PPC.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RISCV.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SPIR.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Sparc.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SystemZ.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: TCE.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: VE.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: WebAssembly.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: X86.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: XCore.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTUnit.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ChainedIncludesSource.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CompilerInstance.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CompilerInvocation.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DependencyFile.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: FrontendAction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: FrontendActions.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: InitPreprocessor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ModuleDependencyCollector.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PrecompiledPreamble.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: TestModuleFileExtension.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LiteralSupport.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ModuleMap.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PPExpressions.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PPMacroExpansion.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Preprocessor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTReader.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTReaderDecl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTReaderStmt.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTWriter.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTWriterDecl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTWriterStmt.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: GeneratePCH.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CommonOptionsParser.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CompilationDatabase.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: GuessTargetAndModeCompilationDatabase.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: JSONCompilationDatabase.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Tooling.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AtomicChange.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RefactoringActions.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RenamingAction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: USRFindingAction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseAST.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseCXXInlineMethods.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseDecl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseDeclCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseExpr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseExprCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseInit.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseObjc.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseOpenMP.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParsePragma.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseStmt.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseStmtAsm.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseTemplate.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParseTentative.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Parser.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeCompleteConsumer.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DeclSpec.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DelayedDiagnostic.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: JumpDiagnostics.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: MultiplexExternalSemaSource.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ParsedAttr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Sema.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaAccess.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaAttr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaAvailability.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaCXXScopeSpec.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaCast.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaChecking.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaCodeComplete.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaConcept.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaCoroutine.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaCUDA.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaDecl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaDeclAttr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaDeclCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaDeclObjC.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaExceptionSpec.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaExpr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaExprCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaExprMember.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaExprObjC.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaFixItUtils.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaInit.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaLambda.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
SemaLookup.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Line
Count
Source
40
177k
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
177k
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
1.45k
  case 100:
45
1.45k
    return OCL_C_10;
46
0
  case 110:
47
0
    return OCL_C_11;
48
1.56k
  case 120:
49
1.56k
    return OCL_C_12;
50
174k
  case 200:
51
174k
    return OCL_C_20;
52
0
  case 300:
53
0
    return OCL_C_30;
54
177k
  }
55
177k
}
Unexecuted instantiation: SemaModule.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaObjCProperty.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaOpenMP.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaOverload.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaPseudoObject.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaStmt.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaStmtAsm.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaSYCL.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaTemplate.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaTemplateDeduction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaTemplateInstantiate.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaTemplateInstantiateDecl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaTemplateVariadic.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SemaType.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangRename.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Refactoring.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangCheck.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RewriteModernObjC.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ModelInjector.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CStringSyntaxChecker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CallAndMessageChecker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CheckObjCDealloc.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CheckSecuritySyntaxOnly.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: MacOSXAPIChecker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: MallocChecker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ObjCContainersASTChecker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: UnixAPIChecker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PlistDiagnostics.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RegionStore.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SMTConstraintManager.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: TextDiagnostics.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CrossTranslationUnit.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: core_main.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: BackendUtil.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGAtomic.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGBlocks.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGBuiltin.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCUDANV.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCUDARuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCXXABI.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCall.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGClass.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCleanup.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGCoroutine.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGDebugInfo.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGDecl.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGDeclCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGException.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGExpr.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGExprAgg.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGExprCXX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGExprComplex.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGExprConstant.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGExprScalar.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGGPUBuiltin.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGNonTrivialStruct.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGObjC.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGObjCGNU.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGObjCMac.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGObjCRuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGOpenCLRuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGOpenMPRuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGOpenMPRuntimeAMDGCN.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGOpenMPRuntimeGPU.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGOpenMPRuntimeNVPTX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGRecordLayoutBuilder.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGStmt.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGStmtOpenMP.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGVTT.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CGVTables.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeGenFunction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeGenModule.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeGenPGO.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeGenTypes.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ConstantInitBuilder.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CoverageMappingGen.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ObjectFilePCHContainerOperations.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PatternInit.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SanitizerMetadata.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SwiftCallingConv.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: IndexingAction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: cc1_main.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeGenAction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ModuleBuilder.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTMerge.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: InterfaceStubFunctionsConsumer.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ExecuteCompilerInvocation.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ARCMT.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ARCMTActions.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ObjCMT.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Transforms.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AnalyzerHelpFlags.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangDiff.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: BlockPointer.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CxxStringTypes.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibCxx.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibCxxBitset.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibCxxList.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibCxxMap.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibCxxUnorderedMap.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibStdcpp.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ObjCLanguage.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CF.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Cocoa.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSArray.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSDictionary.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSError.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSException.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSIndexPath.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSSet.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NSString.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: TypeSystemClang.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleObjCRuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleObjCRuntimeV1.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleObjCRuntimeV2.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleObjCTrampolineHandler.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleObjCDeclVendor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleObjCTypeEncodingParser.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTResultSynthesizer.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTStructExtractor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ASTUtils.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangASTImporter.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangASTSource.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangDeclVendor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangExpressionDeclMap.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangExpressionParser.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangExternalASTSourceCallbacks.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangFunctionCaller.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangModulesDeclVendor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangPersistentVariables.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangUserExpression.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangUtil.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangUtilityFunction.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CxxModuleHandler.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: IRForTarget.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: NameSearchContext.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DWARFASTParserClang.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SymbolFileDWARF.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PDBASTParser.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SymbolFilePDB.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ObjCLanguageRuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RenderScriptExpressionOpts.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PdbAstBuilder.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SymbolFileNativePDB.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: UdtRecordCompleter.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: IncrementalParser.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Interpreter.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangSrcLocDump.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangScanDeps.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DependencyScanningWorker.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DependencyScanningTool.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ModuleDepCollector.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ClangExtDefMapGen.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Instrument.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: lldb-test.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ABISysV_ppc64.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DynamicLoaderMacOSXDYLD.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DynamicLoaderMacOS.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: DynamicLoaderDarwin.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: ItaniumABILanguageRuntime.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleGetItemInfoHandler.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleGetPendingItemsHandler.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleGetQueuesHandler.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AppleGetThreadItemInfoHandler.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: SystemRuntimeMacOSX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: PlatformPOSIX.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: clang-import-test.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CodeGenABITypes.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: AllTUsExecution.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Execution.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: RefactoringCallbacks.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: StandaloneExecution.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: handle_cxx.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CIndex.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CIndexCodeCompletion.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CIndexDiagnostic.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CIndexHigh.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CIndexInclusionStack.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CIndexUSRs.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXComment.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXCursor.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXIndexDataConsumer.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXSourceLocation.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXStoredDiagnostic.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXString.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: CXType.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Indexing.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: Rewrite.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
56
57
// Check if OpenCL C version is contained in a given encoded OpenCL C version
58
// mask.
59
static inline bool isOpenCLVersionContainedInMask(const LangOptions &LO,
60
1.94M
                                                  unsigned Mask) {
61
1.94M
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
1.94M
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
1.94M
  return Mask & Code;
64
1.94M
}
Unexecuted instantiation: ClangRefactor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTContext.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Decl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DeclBase.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Expr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ExprConstant.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: FormatString.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ByteCodeExprGen.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ByteCodeStmtGen.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Context.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Program.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ItaniumCXXABI.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ItaniumMangle.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Mangle.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: MicrosoftCXXABI.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: MicrosoftMangle.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: OpenMPClause.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PrintfFormatString.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RecordLayout.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RecordLayoutBuilder.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ScanfFormatString.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Stmt.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Type.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: VTableBuilder.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Attributes.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Builtins.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Module.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
OpenCLOptions.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Line
Count
Source
60
868k
                                                  unsigned Mask) {
61
868k
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
868k
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
868k
  return Mask & Code;
64
868k
}
Unexecuted instantiation: TargetInfo.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Targets.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Line
Count
Source
60
894k
                                                  unsigned Mask) {
61
894k
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
894k
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
894k
  return Mask & Code;
64
894k
}
Unexecuted instantiation: AArch64.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AMDGPU.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ARC.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ARM.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AVR.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: BPF.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Hexagon.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Lanai.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Le64.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: M68k.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: MSP430.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Mips.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NVPTX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: OSTargets.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PNaCl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PPC.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RISCV.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SPIR.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Sparc.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SystemZ.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: TCE.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: VE.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: WebAssembly.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: X86.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: XCore.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTUnit.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ChainedIncludesSource.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CompilerInstance.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CompilerInvocation.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DependencyFile.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: FrontendAction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: FrontendActions.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: InitPreprocessor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ModuleDependencyCollector.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PrecompiledPreamble.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: TestModuleFileExtension.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LiteralSupport.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ModuleMap.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PPExpressions.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PPMacroExpansion.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Preprocessor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTReader.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTReaderDecl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTReaderStmt.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTWriter.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTWriterDecl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTWriterStmt.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: GeneratePCH.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CommonOptionsParser.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CompilationDatabase.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: GuessTargetAndModeCompilationDatabase.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: JSONCompilationDatabase.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Tooling.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AtomicChange.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RefactoringActions.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RenamingAction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: USRFindingAction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseAST.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseCXXInlineMethods.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseDecl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseDeclCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseExpr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseExprCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseInit.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseObjc.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseOpenMP.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParsePragma.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseStmt.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseStmtAsm.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseTemplate.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParseTentative.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Parser.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeCompleteConsumer.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DeclSpec.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DelayedDiagnostic.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: JumpDiagnostics.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: MultiplexExternalSemaSource.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ParsedAttr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Sema.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaAccess.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaAttr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaAvailability.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaCXXScopeSpec.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaCast.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaChecking.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaCodeComplete.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaConcept.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaCoroutine.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaCUDA.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaDecl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaDeclAttr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaDeclCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaDeclObjC.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaExceptionSpec.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaExpr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaExprCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaExprMember.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaExprObjC.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaFixItUtils.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaInit.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaLambda.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
SemaLookup.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Line
Count
Source
60
177k
                                                  unsigned Mask) {
61
177k
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
177k
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
177k
  return Mask & Code;
64
177k
}
Unexecuted instantiation: SemaModule.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaObjCProperty.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaOpenMP.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaOverload.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaPseudoObject.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaStmt.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaStmtAsm.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaSYCL.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaTemplate.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaTemplateDeduction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaTemplateInstantiate.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaTemplateInstantiateDecl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaTemplateVariadic.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SemaType.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangRename.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Refactoring.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangCheck.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RewriteModernObjC.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ModelInjector.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CStringSyntaxChecker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CallAndMessageChecker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CheckObjCDealloc.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CheckSecuritySyntaxOnly.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: MacOSXAPIChecker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: MallocChecker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ObjCContainersASTChecker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: UnixAPIChecker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PlistDiagnostics.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RegionStore.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SMTConstraintManager.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: TextDiagnostics.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CrossTranslationUnit.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: core_main.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: BackendUtil.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGAtomic.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGBlocks.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGBuiltin.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCUDANV.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCUDARuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCXXABI.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCall.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGClass.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCleanup.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGCoroutine.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGDebugInfo.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGDecl.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGDeclCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGException.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGExpr.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGExprAgg.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGExprCXX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGExprComplex.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGExprConstant.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGExprScalar.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGGPUBuiltin.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGNonTrivialStruct.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGObjC.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGObjCGNU.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGObjCMac.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGObjCRuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGOpenCLRuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGOpenMPRuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGOpenMPRuntimeAMDGCN.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGOpenMPRuntimeGPU.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGOpenMPRuntimeNVPTX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGRecordLayoutBuilder.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGStmt.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGStmtOpenMP.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGVTT.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CGVTables.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeGenFunction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeGenModule.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeGenPGO.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeGenTypes.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ConstantInitBuilder.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CoverageMappingGen.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ObjectFilePCHContainerOperations.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PatternInit.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SanitizerMetadata.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SwiftCallingConv.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: IndexingAction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: cc1_main.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeGenAction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ModuleBuilder.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTMerge.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: InterfaceStubFunctionsConsumer.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ExecuteCompilerInvocation.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ARCMT.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ARCMTActions.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ObjCMT.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Transforms.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AnalyzerHelpFlags.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangDiff.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: BlockPointer.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CxxStringTypes.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LibCxx.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LibCxxBitset.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LibCxxList.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LibCxxMap.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LibCxxUnorderedMap.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: LibStdcpp.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ObjCLanguage.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CF.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Cocoa.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSArray.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSDictionary.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSError.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSException.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSIndexPath.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSSet.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NSString.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: TypeSystemClang.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleObjCRuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleObjCRuntimeV1.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleObjCRuntimeV2.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleObjCTrampolineHandler.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleObjCDeclVendor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleObjCTypeEncodingParser.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTResultSynthesizer.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTStructExtractor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ASTUtils.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangASTImporter.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangASTSource.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangDeclVendor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangExpressionDeclMap.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangExpressionParser.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangExternalASTSourceCallbacks.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangFunctionCaller.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangModulesDeclVendor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangPersistentVariables.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangUserExpression.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangUtil.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangUtilityFunction.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CxxModuleHandler.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: IRForTarget.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: NameSearchContext.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DWARFASTParserClang.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SymbolFileDWARF.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PDBASTParser.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SymbolFilePDB.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ObjCLanguageRuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RenderScriptExpressionOpts.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PdbAstBuilder.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SymbolFileNativePDB.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: UdtRecordCompleter.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: IncrementalParser.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Interpreter.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangSrcLocDump.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangScanDeps.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DependencyScanningWorker.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DependencyScanningTool.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ModuleDepCollector.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ClangExtDefMapGen.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Instrument.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: lldb-test.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ABISysV_ppc64.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DynamicLoaderMacOSXDYLD.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DynamicLoaderMacOS.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: DynamicLoaderDarwin.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: ItaniumABILanguageRuntime.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleGetItemInfoHandler.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleGetPendingItemsHandler.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleGetQueuesHandler.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AppleGetThreadItemInfoHandler.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: SystemRuntimeMacOSX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: PlatformPOSIX.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: clang-import-test.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CodeGenABITypes.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: AllTUsExecution.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Execution.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: RefactoringCallbacks.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: StandaloneExecution.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: handle_cxx.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CIndex.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CIndexCodeCompletion.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CIndexDiagnostic.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CIndexHigh.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CIndexInclusionStack.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CIndexUSRs.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXComment.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXCursor.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXIndexDataConsumer.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXSourceLocation.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXStoredDiagnostic.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXString.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: CXType.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Indexing.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: Rewrite.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
65
66
} // end anonymous namespace
67
68
/// OpenCL supported extensions and optional core features
69
class OpenCLOptions {
70
71
public:
72
  // OpenCL C v1.2 s6.5 - All program scope variables must be declared in the
73
  // __constant address space.
74
  // OpenCL C v2.0 s6.5.1 - Variables defined at program scope and static
75
  // variables inside a function can also be declared in the global
76
  // address space.
77
  // OpenCL C v3.0 s6.7.1 - Variables at program scope or static or extern
78
  // variables inside functions can be declared in global address space if
79
  // the __opencl_c_program_scope_global_variables feature is supported
80
  // C++ for OpenCL inherits rule from OpenCL C v2.0.
81
377k
  bool areProgramScopeVariablesSupported(const LangOptions &Opts) const {
82
377k
    return Opts.getOpenCLCompatibleVersion() == 200 ||
83
377k
           
(173k
Opts.getOpenCLCompatibleVersion() == 300173k
&&
84
173k
            
isSupported("__opencl_c_program_scope_global_variables", Opts)42.5k
);
85
377k
  }
86
87
  struct OpenCLOptionInfo {
88
    // Does this option have pragma.
89
    bool WithPragma = false;
90
91
    // Option starts to be available in this OpenCL version
92
    unsigned Avail = 100U;
93
94
    // Option becomes core feature in this OpenCL versions
95
    unsigned Core = 0U;
96
97
    // Option becomes optional core feature in this OpenCL versions
98
    unsigned Opt = 0U;
99
100
    // Is this option supported
101
    bool Supported = false;
102
103
    // Is this option enabled
104
    bool Enabled = false;
105
106
28
    OpenCLOptionInfo() = default;
107
    OpenCLOptionInfo(bool Pragma, unsigned AvailV, unsigned CoreV,
108
                     unsigned OptV)
109
4.65M
        : WithPragma(Pragma), Avail(AvailV), Core(CoreV), Opt(OptV) {}
110
111
0
    bool isCore() const { return Core != 0U; }
112
113
0
    bool isOptionalCore() const { return Opt != 0U; }
114
115
    // Is option available in OpenCL version \p LO.
116
1.90M
    bool isAvailableIn(const LangOptions &LO) const {
117
      // In C++ mode all extensions should work at least as in v2.0.
118
1.90M
      return LO.getOpenCLCompatibleVersion() >= Avail;
119
1.90M
    }
120
121
    // Is core option in OpenCL version \p LO.
122
905k
    bool isCoreIn(const LangOptions &LO) const {
123
905k
      return isAvailableIn(LO) && 
isOpenCLVersionContainedInMask(LO, Core)894k
;
124
905k
    }
125
126
    // Is optional core option in OpenCL version \p LO.
127
868k
    bool isOptionalCoreIn(const LangOptions &LO) const {
128
868k
      return isAvailableIn(LO) && 
isOpenCLVersionContainedInMask(LO, Opt)868k
;
129
868k
    }
130
  };
131
132
  bool isKnown(llvm::StringRef Ext) const;
133
134
  // For core or optional core feature check that it is supported
135
  // by a target, for any other option (extension) check that it is
136
  // enabled via pragma
137
  bool isAvailableOption(llvm::StringRef Ext, const LangOptions &LO) const;
138
139
  bool isWithPragma(llvm::StringRef Ext) const;
140
141
  // Is supported as either an extension or an (optional) core feature for
142
  // OpenCL version \p LO.
143
  bool isSupported(llvm::StringRef Ext, const LangOptions &LO) const;
144
145
  // Is supported OpenCL core feature for OpenCL version \p LO.
146
  // For supported extension, return false.
147
  bool isSupportedCore(llvm::StringRef Ext, const LangOptions &LO) const;
148
149
  // Is supported optional core OpenCL feature for OpenCL version \p LO.
150
  // For supported extension, return false.
151
  bool isSupportedOptionalCore(llvm::StringRef Ext,
152
                               const LangOptions &LO) const;
153
154
  // Is supported optional core or core OpenCL feature for OpenCL version \p
155
  // LO. For supported extension, return false.
156
  bool isSupportedCoreOrOptionalCore(llvm::StringRef Ext,
157
                                     const LangOptions &LO) const;
158
159
  // Is supported OpenCL extension for OpenCL version \p LO.
160
  // For supported core or optional core feature, return false.
161
  bool isSupportedExtension(llvm::StringRef Ext, const LangOptions &LO) const;
162
163
  // FIXME: Whether extension should accept pragma should not
164
  // be reset dynamically. But it currently required when
165
  // registering new extensions via pragmas.
166
  void acceptsPragma(llvm::StringRef Ext, bool V = true);
167
168
  void enable(llvm::StringRef Ext, bool V = true);
169
170
  /// Enable or disable support for OpenCL extensions
171
  /// \param Ext name of the extension (not prefixed with '+' or '-')
172
  /// \param V value to set for a extension
173
  void support(llvm::StringRef Ext, bool V = true);
174
175
  OpenCLOptions();
176
177
  // Set supported options based on target settings and language version
178
  void addSupport(const llvm::StringMap<bool> &FeaturesMap,
179
                  const LangOptions &Opts);
180
181
  // Disable all extensions
182
  void disableAll();
183
184
  friend class ASTWriter;
185
  friend class ASTReader;
186
187
  using OpenCLOptionInfoMap = llvm::StringMap<OpenCLOptionInfo>;
188
189
  template <typename... Args>
190
36.8k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
36.8k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
36.8k
  }
Targets.cpp:bool clang::OpenCLOptions::isOpenCLOptionCoreIn<bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, unsigned int&>(clang::LangOptions const&, bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, unsigned int&)
Line
Count
Source
190
4.39k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
4.39k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
4.39k
  }
Targets.cpp:bool clang::OpenCLOptions::isOpenCLOptionCoreIn<bool&, int&, unsigned int&, clang::(anonymous namespace)::OpenCLVersionID&>(clang::LangOptions const&, bool&, int&, unsigned int&, clang::(anonymous namespace)::OpenCLVersionID&)
Line
Count
Source
190
10.5k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
10.5k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
10.5k
  }
bool clang::OpenCLOptions::isOpenCLOptionCoreIn<bool&, int&, unsigned int&, unsigned int&>(clang::LangOptions const&, bool&, int&, unsigned int&, unsigned int&)
Line
Count
Source
190
21.0k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
21.0k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
21.0k
  }
Targets.cpp:bool clang::OpenCLOptions::isOpenCLOptionCoreIn<bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, clang::(anonymous namespace)::OpenCLVersionID&>(clang::LangOptions const&, bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, clang::(anonymous namespace)::OpenCLVersionID&)
Line
Count
Source
190
878
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
878
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
878
  }
193
194
  template <typename... Args>
195
  static bool isOpenCLOptionAvailableIn(const LangOptions &LO,
196
28.7k
                                        Args &&... args) {
197
28.7k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
28.7k
  }
InitPreprocessor.cpp:bool clang::OpenCLOptions::isOpenCLOptionAvailableIn<bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, unsigned int&>(clang::LangOptions const&, bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, unsigned int&)
Line
Count
Source
196
4.15k
                                        Args &&... args) {
197
4.15k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
4.15k
  }
InitPreprocessor.cpp:bool clang::OpenCLOptions::isOpenCLOptionAvailableIn<bool&, int&, unsigned int&, clang::(anonymous namespace)::OpenCLVersionID&>(clang::LangOptions const&, bool&, int&, unsigned int&, clang::(anonymous namespace)::OpenCLVersionID&)
Line
Count
Source
196
7.38k
                                        Args &&... args) {
197
7.38k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
7.38k
  }
bool clang::OpenCLOptions::isOpenCLOptionAvailableIn<bool&, int&, unsigned int&, unsigned int&>(clang::LangOptions const&, bool&, int&, unsigned int&, unsigned int&)
Line
Count
Source
196
16.4k
                                        Args &&... args) {
197
16.4k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
16.4k
  }
InitPreprocessor.cpp:bool clang::OpenCLOptions::isOpenCLOptionAvailableIn<bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, clang::(anonymous namespace)::OpenCLVersionID&>(clang::LangOptions const&, bool&, int&, clang::(anonymous namespace)::OpenCLVersionID&, clang::(anonymous namespace)::OpenCLVersionID&)
Line
Count
Source
196
777
                                        Args &&... args) {
197
777
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
777
  }
199
200
  // Diagnose feature dependencies for OpenCL C 3.0. Return false if target
201
  // doesn't follow these requirements.
202
  static bool diagnoseUnsupportedFeatureDependencies(const TargetInfo &TI,
203
                                                     DiagnosticsEngine &Diags);
204
205
  // Diagnose that features and equivalent extension are set to same values.
206
  // Return false if target doesn't follow these requirements.
207
  static bool diagnoseFeatureExtensionDifferences(const TargetInfo &TI,
208
                                                  DiagnosticsEngine &Diags);
209
210
private:
211
  // Option is enabled via pragma
212
  bool isEnabled(llvm::StringRef Ext) const;
213
214
  OpenCLOptionInfoMap OptMap;
215
};
216
217
} // end namespace clang
218
219
#endif