Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / lib / Target / BPF / BPF.h
blob6c75fff9c7aa7163cf77ba6d7ae353c5f40196b3
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_BPF_BPF_H
10 #define LLVM_LIB_TARGET_BPF_BPF_H
12 #include "MCTargetDesc/BPFMCTargetDesc.h"
13 #include "llvm/Target/TargetMachine.h"
15 namespace llvm {
16 class BPFTargetMachine;
18 FunctionPass *createBPFISelDag(BPFTargetMachine &TM);
19 FunctionPass *createBPFMIPeepholePass();
20 FunctionPass *createBPFMIPreEmitPeepholePass();
21 FunctionPass *createBPFMIPreEmitCheckingPass();
23 void initializeBPFMIPeepholePass(PassRegistry&);
24 void initializeBPFMIPreEmitPeepholePass(PassRegistry&);
25 void initializeBPFMIPreEmitCheckingPass(PassRegistry&);
28 #endif