aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp
blob: 87716e6775cfd5708d21706d2a20a28d19b2924b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===-- BPFTargetInfo.cpp - BPF Target Implementation ---------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "BPF.h"
#include "llvm/Support/TargetRegistry.h"
using namespace llvm;

Target llvm::TheBPFTarget;

extern "C" void LLVMInitializeBPFTargetInfo() {
  RegisterTarget<Triple::bpf, /*HasJIT=*/true> X(TheBPFTarget, "bpf", "BPF");
}