| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| BPFMIChecking.cpp | 17 #include "BPF.h" 26 #define DEBUG_TYPE "bpf-mi-checking" 62 LLVM_DEBUG(dbgs() << "*** BPF PreEmit checking pass ***\n\n"); 68 // NOTE: BPF backend hasn't enabled sub-register liveness track, so when the 74 // on BPF backend, then allDefsAreDead could work on GPR32 Def. This requires 75 // implementing TargetSubtargetInfo::enableSubRegLiveness on BPF. 83 // For BPF, each 64-bit register could only have one 32-bit sub-register. This 94 // Hence, for BPF, we enhance MachineInstr::allDefsAreDead. Given the solo 108 &BPFMCRegisterClasses[BPF::GPRRegClassID]; 157 if (MI.getOpcode() != BPF::XADDW & [all...] |
| BPFFrameLowering.cpp | 1 //===-- BPFFrameLowering.cpp - BPF Frame Information ----------------------===// 9 // This file contains the BPF implementation of TargetFrameLowering class. 35 SavedRegs.reset(BPF::R6); 36 SavedRegs.reset(BPF::R7); 37 SavedRegs.reset(BPF::R8); 38 SavedRegs.reset(BPF::R9);
|
| BPFMISimplifyPatchable.cpp | 15 // Such an access is subject to bpf load time patching. After this pass, the 21 // for ld_imm64 which should be replaced later by bpf loader: 30 #include "BPF.h" 40 #define DEBUG_TYPE "bpf-mi-simplify-patchable" 88 LLVM_DEBUG(dbgs() << "*** BPF simplify patchable insts pass ***\n\n"); 111 if (Opcode == BPF::LDB || Opcode == BPF::LDH || Opcode == BPF::LDW || 112 Opcode == BPF::LDD || Opcode == BPF::STB || Opcode == BPF::STH | [all...] |
| BPFInstrInfo.cpp | 1 //===-- BPFInstrInfo.cpp - BPF Instruction Information ----------*- C++ -*-===// 9 // This file contains the BPF implementation of the TargetInstrInfo class. 14 #include "BPF.h" 29 : BPFGenInstrInfo(BPF::ADJCALLSTACKDOWN, BPF::ADJCALLSTACKUP) {} 35 if (BPF::GPRRegClass.contains(DestReg, SrcReg)) 36 BuildMI(MBB, I, DL, get(BPF::MOV_rr), DestReg) 38 else if (BPF::GPR32RegClass.contains(DestReg, SrcReg)) 39 BuildMI(MBB, I, DL, get(BPF::MOV_rr_32), DestReg) 57 LdOpc = BPF::LDB [all...] |
| BPFRegisterInfo.cpp | 1 //===-- BPFRegisterInfo.cpp - BPF Register Information ----------*- C++ -*-===// 9 // This file contains the BPF implementation of the TargetRegisterInfo class. 14 #include "BPF.h" 30 : BPFGenRegisterInfo(BPF::R0) {} 39 markSuperRegs(Reserved, BPF::W10); // [W|R]10 is read only frame pointer 40 markSuperRegs(Reserved, BPF::W11); // [W|R]11 is pseudo stack pointer 49 "Looks like the BPF stack limit of 512 bytes is exceeded. " 50 "Please move large on stack variables into BPF per-cpu array map.\n", 84 if (MI.getOpcode() == BPF::MOV_rr) { 90 BuildMI(MBB, ++II, DL, TII.get(BPF::ADD_ri), reg [all...] |
| BPFMIPeephole.cpp | 23 #include "BPF.h" 34 #define DEBUG_TYPE "bpf-mi-zext-elim" 87 LLVM_DEBUG(dbgs() << "*** BPF MachineSSA ZEXT Elim peephole pass ***\n\n"); 104 if (MRI->getRegClass(Reg) == &BPF::GPRRegClass) 132 if (PhiDef->getOpcode() == BPF::COPY && !isCopyFrom32Def(PhiDef)) 151 } else if (DefInsn->getOpcode() == BPF::COPY) { 192 if (MI.getOpcode() == BPF::SRL_ri && 203 SllMI->getOpcode() != BPF::SLL_ri || 213 MovMI->getOpcode() != BPF::MOV_32_64) 226 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), DstReg [all...] |
| BPFISelLowering.cpp | 1 //===-- BPFISelLowering.cpp - BPF DAG Lowering Implementation ------------===// 9 // This file defines the interfaces that BPF uses to lower LLVM code into a 15 #include "BPF.h" 32 #define DEBUG_TYPE "bpf-lower" 34 static cl::opt<bool> BPFExpandMemcpyInOrder("bpf-expand-memcpy-in-order", 61 addRegisterClass(MVT::i64, &BPF::GPRRegClass); 63 addRegisterClass(MVT::i32, &BPF::GPR32RegClass); 68 setStackPointerRegisterToSaveRestore(BPF::R11); 163 // When -bpf-expand-memcpy-in-order specified, we want to defer the expand 245 return std::make_pair(0U, &BPF::GPRRegClass) [all...] |
| BTFDebug.cpp | 14 #include "BPF.h" 1078 if (MI->getOpcode() == BPF::LD_imm64) { 1094 } else if (MI->getOpcode() == BPF::CORE_MEM || 1095 MI->getOpcode() == BPF::CORE_ALU32_MEM || 1096 MI->getOpcode() == BPF::CORE_SHIFT) { 1099 } else if (MI->getOpcode() == BPF::JAL) { 1236 if (MI->getOpcode() == BPF::LD_imm64) { 1257 OutMI.setOpcode(BPF::LD_imm64); 1259 OutMI.setOpcode(BPF::MOV_ri); 1265 } else if (MI->getOpcode() == BPF::CORE_MEM | [all...] |
| BPFISelDAGToDAG.cpp | 1 //===-- BPFISelDAGToDAG.cpp - A dag to dag inst selector for BPF ----------===// 9 // This file defines a DAG pattern matching instruction selector for BPF, 10 // converting from a legalized dag to a BPF dag. 14 #include "BPF.h" 36 #define DEBUG_TYPE "bpf-isel" 52 return "BPF DAG->DAG Pattern Instruction Selection"; 99 // ComplexPattern used on BPF Load/Store instructions 135 // ComplexPattern used on BPF FI instruction 217 SDValue R6Reg = CurDAG->getRegister(BPF::R6, MVT::i64); 230 unsigned Opc = BPF::MOV_rr [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/Disassembler/ |
| BPFDisassembler.cpp | 1 //===- BPFDisassembler.cpp - Disassembler for BPF ---------------*- C++ -*-===// 9 // This file is part of the BPF Disassembler. 27 #define DEBUG_TYPE "bpf-disassembler" 33 /// A disassembler class for BPF. 97 BPF::R0, BPF::R1, BPF::R2, BPF::R3, BPF::R4, BPF::R5 [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/ |
| BPF.cpp | 1 //===--- BPF.cpp - Implement BPF target feature support -------------------===// 9 // This file implements BPF TargetInfo objects. 13 #include "BPF.h" 46 return llvm::makeArrayRef(BuiltinInfo, clang::BPF::LastTSBuiltin -
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/ |
| BPFMCCodeEmitter.cpp | 1 //===-- BPFMCCodeEmitter.cpp - Convert BPF code to machine code -----------===// 102 if (MI.getOpcode() == BPF::JAL) 105 else if (MI.getOpcode() == BPF::LD_imm64) 129 if (Opcode == BPF::LD_imm64 || Opcode == BPF::LD_pseudo) { 158 // Encode BPF Memory Operand 165 if (Opcode == BPF::CMPXCHGW32 || Opcode == BPF::CMPXCHGD)
|
| BPFMCTargetDesc.cpp | 1 //===-- BPFMCTargetDesc.cpp - BPF Target Descriptions ---------------------===// 9 // This file provides BPF specific target descriptions. 43 InitBPFMCRegisterInfo(X, BPF::R11 /* RAReg doesn't exist */);
|
| /src/external/apache2/llvm/lib/libclangBasic/ |
| Makefile | 54 BPF.cpp \
|
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| TargetBuiltins.h | 68 /// BPF builtins 69 namespace BPF { 324 {ARM::LastTSBuiltin, AArch64::LastTSBuiltin, BPF::LastTSBuiltin,
|
| /src/external/bsd/libpcap/dist/testprogs/ |
| visopts.py | 13 2. Run filtertest to compile BPF expression and produce the CFG as a 46 <title>BPF compiler optimization phases for $expr </title> 248 elif line.startswith("digraph BPF {"): 280 # BPF parser encounter error(s)
|
| /src/external/bsd/dhcpcd/dist/src/ |
| bpf.c | 3 * dhcpcd: BPF arp and bootp filtering 39 /* Special BPF snowflake. */ 43 #include <net/bpf.h> 54 #include "bpf.h" 59 /* BPF helper macros */ 66 /* Macros to update the BPF structure */ 143 /* Linux is a special snowflake for opening, attaching and reading BPF. 144 * See if-linux.c for the Linux specific BPF functions. */ 148 struct bpf * 150 int (*filter)(const struct bpf *, const struct in_addr *) 153 struct bpf *bpf; local [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaChecking.cpp | 2587 // to BPF backend to check whether the access is a 2683 assert((BuiltinID == BPF::BI__builtin_preserve_field_info || 2684 BuiltinID == BPF::BI__builtin_btf_type_id || 2685 BuiltinID == BPF::BI__builtin_preserve_type_info || 2686 BuiltinID == BPF::BI__builtin_preserve_enum_value) && 2687 "unexpected BPF builtin"); 2697 if (BuiltinID == BPF::BI__builtin_preserve_field_info) 2699 else if (BuiltinID == BPF::BI__builtin_btf_type_id) 2701 else if (BuiltinID == BPF::BI__builtin_preserve_type_info) 2713 if (BuiltinID == BPF::BI__builtin_preserve_field_info) [all...] |
| /src/external/bsd/ipf/dist/ |
| HISTORY | 326 supports loading rules comprised of BPF bytecode statements
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGBuiltin.cpp | 11547 assert((BuiltinID == BPF::BI__builtin_preserve_field_info || 11548 BuiltinID == BPF::BI__builtin_btf_type_id || 11549 BuiltinID == BPF::BI__builtin_preserve_type_info || 11550 BuiltinID == BPF::BI__builtin_preserve_enum_value) && 11551 "unexpected BPF builtin"); 11560 llvm_unreachable("Unexpected BPF builtin"); 11561 case BPF::BI__builtin_preserve_field_info: { 11588 case BPF::BI__builtin_btf_type_id: 11589 case BPF::BI__builtin_preserve_type_info: { 11604 if (BuiltinID == BPF::BI__builtin_btf_type_id [all...] |
| /src/external/bsd/nsd/dist/ |
| configure | 1552 BPF_CFLAGS The list of arguments passed to the BPF compiler 12065 for ac_lib in '' bpf
|