Home
last modified time | relevance | path

Searched refs:BPF (Results 1 – 25 of 34) sorted by relevance

12

/NextBSD/contrib/llvm/lib/Target/BPF/
HDBPFInstrInfo.cpp32 : BPFGenInstrInfo(BPF::ADJCALLSTACKDOWN, BPF::ADJCALLSTACKUP) {} in BPFInstrInfo()
38 if (BPF::GPRRegClass.contains(DestReg, SrcReg)) in copyPhysReg()
39 BuildMI(MBB, I, DL, get(BPF::MOV_rr), DestReg) in copyPhysReg()
54 if (RC == &BPF::GPRRegClass) in storeRegToStackSlot()
55 BuildMI(MBB, I, DL, get(BPF::STD)) in storeRegToStackSlot()
72 if (RC == &BPF::GPRRegClass) in loadRegFromStackSlot()
73 BuildMI(MBB, I, DL, get(BPF::LDD), DestReg).addFrameIndex(FI).addImm(0); in loadRegFromStackSlot()
102 if (I->getOpcode() == BPF::JMP) { in AnalyzeBranch()
144 BuildMI(&MBB, DL, get(BPF::JMP)).addMBB(TBB); in InsertBranch()
159 if (I->getOpcode() != BPF::JMP) in RemoveBranch()
HDBPFRegisterInfo.cpp30 : BPFGenRegisterInfo(BPF::R0) {} in BPFRegisterInfo()
39 Reserved.set(BPF::R10); // R10 is read only frame pointer in getReservedRegs()
40 Reserved.set(BPF::R11); // R11 is pseudo stack pointer in getReservedRegs()
64 if (MI.getOpcode() == BPF::MOV_rr) { in eliminateFrameIndex()
69 BuildMI(MBB, ++II, DL, TII.get(BPF::ADD_ri), reg) in eliminateFrameIndex()
81 if (MI.getOpcode() == BPF::FI_ri) { in eliminateFrameIndex()
87 BuildMI(MBB, ++II, DL, TII.get(BPF::MOV_rr), reg) in eliminateFrameIndex()
89 BuildMI(MBB, II, DL, TII.get(BPF::ADD_ri), reg) in eliminateFrameIndex()
102 return BPF::R10; in getFrameRegister()
HDBPFFrameLowering.cpp36 SavedRegs.reset(BPF::R6); in determineCalleeSaves()
37 SavedRegs.reset(BPF::R7); in determineCalleeSaves()
38 SavedRegs.reset(BPF::R8); in determineCalleeSaves()
39 SavedRegs.reset(BPF::R9); in determineCalleeSaves()
HDBPFCallingConv.td1 //===-- BPFCallingConv.td - Calling Conventions BPF --------*- tablegen -*-===//
10 // This describes the calling conventions for the BPF architecture.
14 // BPF 64-bit C return-value convention.
17 // BPF 64-bit C Calling convention.
HDBPFRegisterInfo.td1 //===-- BPFRegisterInfo.td - BPF Register defs -------------*- tablegen -*-===//
11 // Declarations that describe the BPF register file
17 let Namespace = "BPF";
36 def GPR : RegisterClass<"BPF", [i64], 64, (add R1, R2, R3, R4, R5,
HDBPF.td1 //===-- BPF.td - Describe the BPF Target Machine -----------*- tablegen -*-===//
28 def BPF : Target {
HDBPFInstrFormats.td1 //===-- BPFInstrFormats.td - BPF Instruction Formats -------*- tablegen -*-===//
16 let Namespace = "BPF";
17 let DecoderNamespace = "BPF";
HDBPFISelLowering.cpp96 addRegisterClass(MVT::i64, &BPF::GPRRegClass); in BPFTargetLowering()
101 setStackPointerRegisterToSaveRestore(BPF::R11); in BPFTargetLowering()
219 unsigned VReg = RegInfo.createVirtualRegister(&BPF::GPRRegClass); in LowerFormalArguments()
543 assert(MI->getOpcode() == BPF::Select && "Unexpected instr type to insert"); in EmitInstrWithCustomInserter()
580 BuildMI(BB, DL, TII.get(BPF::JSGT_rr)) in EmitInstrWithCustomInserter()
586 BuildMI(BB, DL, TII.get(BPF::JUGT_rr)) in EmitInstrWithCustomInserter()
592 BuildMI(BB, DL, TII.get(BPF::JSGE_rr)) in EmitInstrWithCustomInserter()
598 BuildMI(BB, DL, TII.get(BPF::JUGE_rr)) in EmitInstrWithCustomInserter()
604 BuildMI(BB, DL, TII.get(BPF::JEQ_rr)) in EmitInstrWithCustomInserter()
610 BuildMI(BB, DL, TII.get(BPF::JNE_rr)) in EmitInstrWithCustomInserter()
[all …]
HDBPFISelDAGToDAG.cpp145 SDValue R6Reg = CurDAG->getRegister(BPF::R6, MVT::i64); in Select()
158 unsigned Opc = BPF::MOV_rr; in Select()
/NextBSD/contrib/libpcap/
HDREADME37 architecture in the BSD packet filter. BPF is described in the 1993
57 libpcap utilizes in-kernel filtering only for the BPF interface.
58 On systems that don't have BPF, all packets are read into user-space
59 and the BPF filters are evaluated in the libpcap library, incurring
61 would translate BPF filters into a filter program that is compatible
64 BPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, OpenBSD, DragonFly
67 packetfilter interface but has been extended to accept BPF filters
68 (which libpcap utilizes). Also, you can add BPF filter support to
74 mechanism that accepts BPF filters; see the README.linux file for
HDINSTALL.txt313 bpf_dump.c - BPF program printing routines
315 bpf_image.c - BPF disassembly routine
331 filtertest.c - test program for BPF compiler
333 gencode.c - BPF code generation routines
334 gencode.h - BPF code generation definitions
347 optimize.c - BPF optimization routines
350 pcap/bpf.h - BPF definitions
HDCHANGES72 compile (perhaps systems with libdlpi also have BPF and use
209 Fix BPF driver-loading error handling on AIX
213 Add support for BPF and libdlpi in OpenSolaris (and SXCE)
219 Note that poll() works on BPF devices is Snow Leopard
222 For BPF, raise the default capture buffer size to from 32k to 512k
272 Support for zerocopy BPF on platforms that support it
410 Don't decrease the size of the BPF buffer from the default.
495 expression into a BPF program without having an open live capture or
659 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
HDTODO28 "select()" and "poll()" don't work on BPF devices on most BSDs, and
HDconfigure.in99 dnl Even if <net/bpf.h> were, on all OSes that support BPF, fixed to
307 # Cloning BPF device.
310 AC_DEFINE(HAVE_CLONING_BPF,1,[define if you have a cloning BPF device])
327 # On AIX, the BPF devices might not yet be present - they're
524 AC_MSG_CHECKING(whether the system supports zerocopy BPF)
534 [define if the system supports zerocopy BPF])
1099 # If we're using BPF, we need "-lodm" and "-lcfg", as
1100 # we use them to load the BPF module.
1170 # Rosetta, and Rosetta doesn't support BPF
HDconfig.h.in6 /* define if you have a cloning BPF device */
208 /* define if the system supports zerocopy BPF */
/NextBSD/contrib/llvm/lib/Target/BPF/MCTargetDesc/
HDBPFMCCodeEmitter.cpp90 if (MI.getOpcode() == BPF::JAL) in getMachineOpValue()
93 else if (MI.getOpcode() == BPF::LD_imm64) in getMachineOpValue()
114 if (Opcode == BPF::LD_imm64 || Opcode == BPF::LD_pseudo) { in encodeInstruction()
HDBPFMCTargetDesc.cpp45 InitBPFMCRegisterInfo(X, BPF::R11 /* RAReg doesn't exist */); in createBPFMCRegisterInfo()
/NextBSD/contrib/llvm/include/llvm/IR/
HDIntrinsicsBPF.td1 //===- IntrinsicsBPF.td - Defines BPF intrinsics -----------*- tablegen -*-===//
10 // This file defines all of the BPF-specific intrinsics.
/NextBSD/contrib/llvm/
HDFREEBSD-Xlist174 lib/Target/BPF/CMakeLists.txt
175 lib/Target/BPF/InstPrinter/CMakeLists.txt
176 lib/Target/BPF/InstPrinter/LLVMBuild.txt
177 lib/Target/BPF/InstPrinter/Makefile
178 lib/Target/BPF/LLVMBuild.txt
179 lib/Target/BPF/MCTargetDesc/CMakeLists.txt
180 lib/Target/BPF/MCTargetDesc/LLVMBuild.txt
181 lib/Target/BPF/MCTargetDesc/Makefile
182 lib/Target/BPF/Makefile
183 lib/Target/BPF/TargetInfo/CMakeLists.txt
[all …]
/NextBSD/contrib/ipfilter/ipsd/
HDMakefile10 BPF=sbpf.o macro
/NextBSD/sys/conf/
HDoptions.amd6461 # BPF just-in-time compiler
HDoptions.pc98103 # BPF just-in-time compiler
HDoptions.i386121 # BPF just-in-time compiler
/NextBSD/lib/libnetgraph/
HDdebug.c138 COOKIE(BPF),
/NextBSD/contrib/ipfilter/ipsend/
HDMakefile10 BPF=sbpf.o macro

12