LLVM  8.0.0svn
BPF.h
Go to the documentation of this file.
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 
15 
16 namespace llvm {
17 class BPFTargetMachine;
18 
19 FunctionPass *createBPFISelDag(BPFTargetMachine &TM);
20 FunctionPass *createBPFMIPeepholePass();
21 FunctionPass *createBPFMIPreEmitPeepholePass();
22 FunctionPass *createBPFMIPreEmitCheckingPass();
23 
24 void initializeBPFMIPeepholePass(PassRegistry&);
25 void initializeBPFMIPreEmitPeepholePass(PassRegistry&);
26 void initializeBPFMIPreEmitCheckingPass(PassRegistry&);
27 }
28 
29 #endif
void initializeBPFMIPeepholePass(PassRegistry &)
This class represents lattice values for constants.
Definition: AllocatorList.h:24
FunctionPass * createBPFMIPreEmitPeepholePass()
void initializeBPFMIPreEmitPeepholePass(PassRegistry &)
FunctionPass * createBPFMIPreEmitCheckingPass()
void initializeBPFMIPreEmitCheckingPass(PassRegistry &)
FunctionPass * createBPFMIPeepholePass()
FunctionPass * createBPFISelDag(BPFTargetMachine &TM)