• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
28