Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp
Line
Count
Source
1
//===-- MSP430TargetInfo.cpp - MSP430 Target Implementation ---------------===//
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
#include "TargetInfo/MSP430TargetInfo.h"
10
#include "llvm/Support/TargetRegistry.h"
11
using namespace llvm;
12
13
577k
Target &llvm::getTheMSP430Target() {
14
577k
  static Target TheMSP430Target;
15
577k
  return TheMSP430Target;
16
577k
}
17
18
157k
extern "C" void LLVMInitializeMSP430TargetInfo() {
19
157k
  RegisterTarget<Triple::msp430> X(getTheMSP430Target(), "msp430",
20
157k
                                   "MSP430 [experimental]", "MSP430");
21
157k
}