LLVM  9.0.0svn
BPF.h
Go to the documentation of this file.
1 //===-- BPF.h - Top-level interface for BPF representation ------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIB_TARGET_BPF_BPF_H
10 #define LLVM_LIB_TARGET_BPF_BPF_H
11 
14 
15 namespace llvm {
16 class BPFTargetMachine;
17 
18 FunctionPass *createBPFISelDag(BPFTargetMachine &TM);
19 FunctionPass *createBPFMIPeepholePass();
20 FunctionPass *createBPFMIPreEmitPeepholePass();
21 FunctionPass *createBPFMIPreEmitCheckingPass();
22 
23 void initializeBPFMIPeepholePass(PassRegistry&);
24 void initializeBPFMIPreEmitPeepholePass(PassRegistry&);
25 void initializeBPFMIPreEmitCheckingPass(PassRegistry&);
26 }
27 
28 #endif
void initializeBPFMIPeepholePass(PassRegistry &)
This class represents lattice values for constants.
Definition: AllocatorList.h:23
FunctionPass * createBPFMIPreEmitPeepholePass()
void initializeBPFMIPreEmitPeepholePass(PassRegistry &)
FunctionPass * createBPFMIPreEmitCheckingPass()
void initializeBPFMIPreEmitCheckingPass(PassRegistry &)
FunctionPass * createBPFMIPeepholePass()
FunctionPass * createBPFISelDag(BPFTargetMachine &TM)