Coverage Report

Created: 2022-01-18 06:27

/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.92M
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
1.92M
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
7.03k
  case 100:
45
7.03k
    return OCL_C_10;
46
3.69k
  case 110:
47
3.69k
    return OCL_C_11;
48
55.4k
  case 120:
49
55.4k
    return OCL_C_12;
50
1.83M
  case 200:
51
1.83M
    return OCL_C_20;
52
24.6k
  case 300:
53
24.6k
    return OCL_C_30;
54
1.92M
  }
55
1.92M
}
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
863k
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
863k
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
2.57k
  case 100:
45
2.57k
    return OCL_C_10;
46
1.69k
  case 110:
47
1.69k
    return OCL_C_11;
48
23.7k
  case 120:
49
23.7k
    return OCL_C_12;
50
825k
  case 200:
51
825k
    return OCL_C_20;
52
9.72k
  case 300:
53
9.72k
    return OCL_C_30;
54
863k
  }
55
863k
}
Unexecuted instantiation: TargetInfo.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Targets.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Line
Count
Source
40
883k
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
883k
  switch (OpenCLVersion) {
42
0
  default:
43
0
    llvm_unreachable("Unknown OpenCL version code");
44
3.01k
  case 100:
45
3.01k
    return OCL_C_10;
46
2.00k
  case 110:
47
2.00k
    return OCL_C_11;
48
30.1k
  case 120:
49
30.1k
    return OCL_C_12;
50
833k
  case 200:
51
833k
    return OCL_C_20;
52
14.9k
  case 300:
53
14.9k
    return OCL_C_30;
54
883k
  }
55
883k
}
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
180k
static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) {
41
180k
  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
177k
  case 200:
51
177k
    return OCL_C_20;
52
0
  case 300:
53
0
    return OCL_C_30;
54
180k
  }
55
180k
}
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: CGOpenMPRuntimeGPU.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: GenericBitset.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: GenericOptional.cpp:clang::(anonymous namespace)::encodeOpenCLVersion(unsigned int)
Unexecuted instantiation: LibCxx.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: 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: lldb-test.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: PlatformWindows.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.92M
                                                  unsigned Mask) {
61
1.92M
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
1.92M
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
1.92M
  return Mask & Code;
64
1.92M
}
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
863k
                                                  unsigned Mask) {
61
863k
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
863k
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
863k
  return Mask & Code;
64
863k
}
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
883k
                                                  unsigned Mask) {
61
883k
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
883k
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
883k
  return Mask & Code;
64
883k
}
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
180k
                                                  unsigned Mask) {
61
180k
  auto CLVer = LO.getOpenCLCompatibleVersion();
62
180k
  OpenCLVersionID Code = encodeOpenCLVersion(CLVer);
63
180k
  return Mask & Code;
64
180k
}
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: CGOpenMPRuntimeGPU.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: GenericBitset.cpp:clang::(anonymous namespace)::isOpenCLVersionContainedInMask(clang::LangOptions const&, unsigned int)
Unexecuted instantiation: GenericOptional.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: 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: 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: lldb-test.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: PlatformWindows.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
395k
  bool areProgramScopeVariablesSupported(const LangOptions &Opts) const {
82
395k
    return Opts.getOpenCLCompatibleVersion() == 200 ||
83
395k
           
(191k
Opts.getOpenCLCompatibleVersion() == 300191k
&&
84
191k
            
isSupported("__opencl_c_program_scope_global_variables", Opts)42.9k
);
85
395k
  }
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
29
    OpenCLOptionInfo() = default;
107
    OpenCLOptionInfo(bool Pragma, unsigned AvailV, unsigned CoreV,
108
                     unsigned OptV)
109
4.21M
        : 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.88M
    bool isAvailableIn(const LangOptions &LO) const {
117
      // In C++ mode all extensions should work at least as in v2.0.
118
1.88M
      return LO.getOpenCLCompatibleVersion() >= Avail;
119
1.88M
    }
120
121
    // Is core option in OpenCL version \p LO.
122
891k
    bool isCoreIn(const LangOptions &LO) const {
123
891k
      return isAvailableIn(LO) && 
isOpenCLVersionContainedInMask(LO, Core)883k
;
124
891k
    }
125
126
    // Is optional core option in OpenCL version \p LO.
127
863k
    bool isOptionalCoreIn(const LangOptions &LO) const {
128
863k
      return isAvailableIn(LO) && 
isOpenCLVersionContainedInMask(LO, Opt)863k
;
129
863k
    }
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
27.4k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
27.4k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
27.4k
  }
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
3.26k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
3.26k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
3.26k
  }
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
7.83k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
7.83k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
7.83k
  }
bool clang::OpenCLOptions::isOpenCLOptionCoreIn<bool&, int&, unsigned int&, unsigned int&>(clang::LangOptions const&, bool&, int&, unsigned int&, unsigned int&)
Line
Count
Source
190
15.6k
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
15.6k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
15.6k
  }
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
653
  static bool isOpenCLOptionCoreIn(const LangOptions &LO, Args &&... args) {
191
653
    return OpenCLOptionInfo(std::forward<Args>(args)...).isCoreIn(LO);
192
653
  }
193
194
  template <typename... Args>
195
  static bool isOpenCLOptionAvailableIn(const LangOptions &LO,
196
24.5k
                                        Args &&... args) {
197
24.5k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
24.5k
  }
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
3.10k
                                        Args &&... args) {
197
3.10k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
3.10k
  }
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
6.75k
                                        Args &&... args) {
197
6.75k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
6.75k
  }
bool clang::OpenCLOptions::isOpenCLOptionAvailableIn<bool&, int&, unsigned int&, unsigned int&>(clang::LangOptions const&, bool&, int&, unsigned int&, unsigned int&)
Line
Count
Source
196
14.0k
                                        Args &&... args) {
197
14.0k
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
14.0k
  }
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
610
                                        Args &&... args) {
197
610
    return OpenCLOptionInfo(std::forward<Args>(args)...).isAvailableIn(LO);
198
610
  }
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