Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/tools/clang/lib/Basic/Targets/SPIR.cpp
Line
Count
Source (jump to first uncovered line)
1
//===--- SPIR.cpp - Implement SPIR target feature support -----------------===//
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
// This file implements SPIR TargetInfo objects.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "SPIR.h"
14
#include "Targets.h"
15
16
using namespace clang;
17
using namespace clang::targets;
18
19
void SPIRTargetInfo::getTargetDefines(const LangOptions &Opts,
20
0
                                      MacroBuilder &Builder) const {
21
0
  DefineStd(Builder, "SPIR", Opts);
22
0
}
23
24
void SPIR32TargetInfo::getTargetDefines(const LangOptions &Opts,
25
147
                                        MacroBuilder &Builder) const {
26
147
  DefineStd(Builder, "SPIR32", Opts);
27
147
}
28
29
void SPIR64TargetInfo::getTargetDefines(const LangOptions &Opts,
30
24
                                        MacroBuilder &Builder) const {
31
24
  DefineStd(Builder, "SPIR64", Opts);
32
24
}