summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
blob: 377b533be898780eaae716de4c5cf7afd9aa9447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===-- AArch64TargetInfo.cpp - AArch64 Target Implementation -------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the key registration step for the architecture.
//
//===----------------------------------------------------------------------===//

#include "AArch64.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/TargetRegistry.h"
using namespace llvm;

Target llvm::TheAArch64Target;

extern "C" void LLVMInitializeAArch64TargetInfo() {
    RegisterTarget<Triple::aarch64, /*HasJIT=*/true>
    X(TheAArch64Target, "aarch64", "AArch64 (ARM 64-bit target)");
}
OpenPOWER on IntegriCloud