Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/BPF/
DBPFInstrInfo.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()
DBPFRegisterInfo.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()
DBPFFrameLowering.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()
DLLVMBuild.txt1 ;===- ./lib/Target/BPF/LLVMBuild.txt ---------------------------*- Conf -*--===;
23 name = BPF
30 parent = BPF
42 add_to_library_groups = BPF
DBPF.td1 //===-- BPF.td - Describe the BPF Target Machine -----------*- tablegen -*-===//
30 string Name = "BPF";
34 def BPF : Target {
DBPFCallingConv.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.
DBPFRegisterInfo.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,
DBPFInstrFormats.td1 //===-- BPFInstrFormats.td - BPF Instruction Formats -------*- tablegen -*-===//
16 let Namespace = "BPF";
17 let DecoderNamespace = "BPF";
DBPFISelLowering.cpp59 addRegisterClass(MVT::i64, &BPF::GPRRegClass); in BPFTargetLowering()
64 setStackPointerRegisterToSaveRestore(BPF::R11); in BPFTargetLowering()
182 unsigned VReg = RegInfo.createVirtualRegister(&BPF::GPRRegClass); in LowerFormalArguments()
501 assert(MI.getOpcode() == BPF::Select && "Unexpected instr type to insert"); in EmitInstrWithCustomInserter()
537 BuildMI(BB, DL, TII.get(BPF::JSGT_rr)) in EmitInstrWithCustomInserter()
543 BuildMI(BB, DL, TII.get(BPF::JUGT_rr)) in EmitInstrWithCustomInserter()
549 BuildMI(BB, DL, TII.get(BPF::JSGE_rr)) in EmitInstrWithCustomInserter()
555 BuildMI(BB, DL, TII.get(BPF::JUGE_rr)) in EmitInstrWithCustomInserter()
561 BuildMI(BB, DL, TII.get(BPF::JEQ_rr)) in EmitInstrWithCustomInserter()
567 BuildMI(BB, DL, TII.get(BPF::JNE_rr)) in EmitInstrWithCustomInserter()
[all …]
DBPFISelDAGToDAG.cpp157 SDValue R6Reg = CurDAG->getRegister(BPF::R6, MVT::i64); in Select()
170 unsigned Opc = BPF::MOV_rr; in Select()
/external/libpcap/
DREADME.macosx1 As with other systems using BPF, Mac OS X allows users with read access
2 to the BPF devices to capture packets with libpcap and allows users with
3 write access to the BPF devices to send packets with libpcap.
5 On some systems that use BPF, the BPF devices live on the root file
10 On newer versions of FreeBSD, the BPF devices live on devfs, and devfs
15 On Mac OS X, the BPF devices live on devfs, but the OS X version of
26 Both of them will change the ownership of the BPF devices so that the
27 "admin" group owns them, and will change the permission of the BPF
61 If you want to give a particular user permission to access the BPF
65 give a particular user permission to read and write the BPF devices and
[all …]
DREADME37 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
DREADME.aix1 Using BPF:
3 (1) AIX 4.x's version of BPF is undocumented and somewhat unstandard; the
4 current BPF support code includes changes that should work around
8 Note that the BPF driver and the "/dev/bpf" devices might not exist
12 system and choose BPF even if the devices aren't there.
15 doing the initial loading of the BPF driver if copied to AIX 5 and
20 BPF, or if the workarounds fail to make it work correctly, you
36 make libpcap use DLPI instead of BPF.
/external/scapy/test/
Dbpf.uts1 % Regression tests for Scapy BPF mode
26 + BPF related functions
28 = Get a BPF handler
34 = Attach a BPF filter
70 + BPF sockets
/external/llvm/lib/Target/BPF/TargetInfo/
DLLVMBuild.txt1 ;===- ./lib/Target/BPF/TargetInfo/LLVMBuild.txt ----------------*- Conf -*--===;
21 parent = BPF
23 add_to_library_groups = BPF
/external/llvm/lib/Target/BPF/InstPrinter/
DLLVMBuild.txt1 ;===- ./lib/Target/BPF/InstPrinter/LLVMBuild.txt ---------------*- Conf -*--===;
21 parent = BPF
23 add_to_library_groups = BPF
/external/llvm/lib/Target/BPF/MCTargetDesc/
DLLVMBuild.txt1 ;===- ./lib/Target/BPF/MCTargetDesc/LLVMBuild.txt --------------*- Conf -*--===;
21 parent = BPF
23 add_to_library_groups = BPF
DBPFMCCodeEmitter.cpp91 if (MI.getOpcode() == BPF::JAL) in getMachineOpValue()
94 else if (MI.getOpcode() == BPF::LD_imm64) in getMachineOpValue()
115 if (Opcode == BPF::LD_imm64 || Opcode == BPF::LD_pseudo) { in encodeInstruction()
/external/scapy/doc/scapy/
Dtroubleshooting.rst25 BPF filters do not work. I'm on a ppp link
28 …nown bug. BPF filters must compiled with different offsets on ppp links. It may work if you use li…
33 This is a known bug. See BPF filters do not work. I'm on a ppp link
/external/llvm/include/llvm/IR/
DIntrinsicsBPF.td1 //===- IntrinsicsBPF.td - Defines BPF intrinsics -----------*- tablegen -*-===//
10 // This file defines all of the BPF-specific intrinsics.
/external/iptables/extensions/
Dlibxt_bpf.man18 Pass the BPF byte code format as generated by the \fBnfbpf_compile\fP utility.
47 Or use tcpdump -ddd. In that case, generate BPF targeting a device with the
60 You may want to learn more about BPF from FreeBSD's bpf(4) manpage.
/external/python/cpython2/Lib/
Drandom.py62 BPF = 53 # Number of bits in a float variable
63 RECIP_BPF = 2**-BPF
175 def randrange(self, start, stop=None, step=1, _int=int, _maxwidth=1L<<BPF):
244 def _randbelow(self, n, _log=_log, _int=int, _maxwidth=1L<<BPF,
/external/libpcap/ChmodBPF/
DStartupParameters.plist2 Description = "Change BPF permissions";
/external/llvm/test/CodeGen/BPF/
Dlit.local.cfg1 if not 'BPF' in config.root.targets:
/external/seccomp-tests/
DREADME.md1 # Seccomp-BPF Kernel Self-Test Suite
3 This repository contains a mirror of the upstream Linux kernel test suite for the Seccomp-BPF

123