BPFTargetInfo.cpp revision ebe69fe11e48d322045d5949c83283927a0d790b
1//===-- BPFTargetInfo.cpp - BPF 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 "BPF.h"
11#include "llvm/Support/TargetRegistry.h"
12using namespace llvm;
13
14Target llvm::TheBPFTarget;
15
16extern "C" void LLVMInitializeBPFTargetInfo() {
17  RegisterTarget<Triple::bpf> X(TheBPFTarget, "bpf", "BPF");
18}
19