/src/keystone/llvm/lib/Target/Hexagon/TargetInfo/HexagonTargetInfo.cpp
Line | Count | Source |
1 | | //===-- HexagonTargetInfo.cpp - Hexagon Target Implementation ------------------===// |
2 | | // |
3 | | // The LLVM Compiler Infrastructure |
4 | | // |
5 | | // This file is distributed under the University of Illinois Open Source |
6 | | // License. See LICENSE.TXT for details. |
7 | | // |
8 | | //===----------------------------------------------------------------------===// |
9 | | |
10 | | #include "Hexagon.h" |
11 | | #include "llvm/Support/TargetRegistry.h" |
12 | | using namespace llvm_ks; |
13 | | |
14 | | Target llvm_ks::TheHexagonTarget; |
15 | | |
16 | 26 | extern "C" void LLVMInitializeHexagonTargetInfo() { |
17 | 26 | RegisterTarget<Triple::hexagon> X(TheHexagonTarget, "hexagon", "Hexagon"); |
18 | 26 | } |