forked from OSchip/llvm-project
28 lines
794 B
C++
28 lines
794 B
C++
//===-- BPF.h - Top-level interface for BPF representation ------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_BPF_BPF_H
|
|
#define LLVM_LIB_TARGET_BPF_BPF_H
|
|
|
|
#include "MCTargetDesc/BPFMCTargetDesc.h"
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
namespace llvm {
|
|
class BPFTargetMachine;
|
|
|
|
FunctionPass *createBPFISelDag(BPFTargetMachine &TM);
|
|
FunctionPass *createBPFMIPeepholePass();
|
|
FunctionPass *createBPFMIPreEmitPeepholePass();
|
|
|
|
void initializeBPFMIPeepholePass(PassRegistry&);
|
|
void initializeBPFMIPreEmitPeepholePass(PassRegistry&);
|
|
}
|
|
|
|
#endif
|