]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/BPF/BPF.h
Merge clang 7.0.1 and several follow-up changes
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / BPF / BPF.h
1 //===-- BPF.h - Top-level interface for BPF representation ------*- C++ -*-===//
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 #ifndef LLVM_LIB_TARGET_BPF_BPF_H
11 #define LLVM_LIB_TARGET_BPF_BPF_H
12
13 #include "MCTargetDesc/BPFMCTargetDesc.h"
14 #include "llvm/Target/TargetMachine.h"
15
16 namespace llvm {
17 class BPFTargetMachine;
18
19 FunctionPass *createBPFISelDag(BPFTargetMachine &TM);
20 FunctionPass *createBPFMIPeepholePass();
21 FunctionPass *createBPFMIPreEmitPeepholePass();
22
23 void initializeBPFMIPeepholePass(PassRegistry&);
24 void initializeBPFMIPreEmitPeepholePass(PassRegistry&);
25 }
26
27 #endif