/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/ |
D | BPFDisassembler.cpp | 97 BPF::R0, BPF::R1, BPF::R2, BPF::R3, BPF::R4, BPF::R5, 98 BPF::R6, BPF::R7, BPF::R8, BPF::R9, BPF::R10, BPF::R11}; 112 BPF::W0, BPF::W1, BPF::W2, BPF::W3, BPF::W4, BPF::W5, 113 BPF::W6, BPF::W7, BPF::W8, BPF::W9, BPF::W10, BPF::W11}; 177 STI.getFeatureBits()[BPF::ALU32]) in getInstruction() 187 case BPF::LD_imm64: in getInstruction() 188 case BPF::LD_pseudo: { in getInstruction() 202 case BPF::LD_ABS_B: in getInstruction() 203 case BPF::LD_ABS_H: in getInstruction() 204 case BPF::LD_ABS_W: in getInstruction() [all …]
|
D | LLVMBuild.txt | 1 ;===- ./lib/Target/BPF/Disassembler/LLVMBuild.txt --------------*- Conf -*--===; 20 parent = BPF 22 add_to_library_groups = BPF
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFMISimplifyPatchable.cpp | 108 if (Opcode == BPF::LDB || Opcode == BPF::LDH || Opcode == BPF::LDW || in checkADDrr() 109 Opcode == BPF::LDD || Opcode == BPF::STB || Opcode == BPF::STH || in checkADDrr() 110 Opcode == BPF::STW || Opcode == BPF::STD) in checkADDrr() 111 COREOp = BPF::CORE_MEM; in checkADDrr() 112 else if (Opcode == BPF::LDB32 || Opcode == BPF::LDH32 || in checkADDrr() 113 Opcode == BPF::LDW32 || Opcode == BPF::STB32 || in checkADDrr() 114 Opcode == BPF::STH32 || Opcode == BPF::STW32) in checkADDrr() 115 COREOp = BPF::CORE_ALU32_MEM; in checkADDrr() 139 BuildMI(MBB, *Inst, Inst->getDebugLoc(), TII->get(BPF::CORE_SHIFT)) in checkShift() 148 if (MRI->getRegClass(DstReg) == &BPF::GPR32RegClass) { in processCandidate() [all …]
|
D | BPFInstrInfo.cpp | 29 : BPFGenInstrInfo(BPF::ADJCALLSTACKDOWN, BPF::ADJCALLSTACKUP) {} in BPFInstrInfo() 35 if (BPF::GPRRegClass.contains(DestReg, SrcReg)) in copyPhysReg() 36 BuildMI(MBB, I, DL, get(BPF::MOV_rr), DestReg) in copyPhysReg() 38 else if (BPF::GPR32RegClass.contains(DestReg, SrcReg)) in copyPhysReg() 39 BuildMI(MBB, I, DL, get(BPF::MOV_rr_32), DestReg) in copyPhysReg() 57 LdOpc = BPF::LDB; in expandMEMCPY() 58 StOpc = BPF::STB; in expandMEMCPY() 61 LdOpc = BPF::LDH; in expandMEMCPY() 62 StOpc = BPF::STH; in expandMEMCPY() 65 LdOpc = BPF::LDW; in expandMEMCPY() [all …]
|
D | BPFMIPeephole.cpp | 97 if (MRI->getRegClass(Reg) == &BPF::GPRRegClass) in isCopyFrom32Def() 125 if (PhiDef->getOpcode() == BPF::COPY && !isCopyFrom32Def(PhiDef)) in isPhiFrom32Def() 144 } else if (DefInsn->getOpcode() == BPF::COPY) { in isInsnFrom32Def() 185 if (MI.getOpcode() == BPF::SRL_ri && in eliminateZExtSeq() 196 SllMI->getOpcode() != BPF::SLL_ri || in eliminateZExtSeq() 206 MovMI->getOpcode() != BPF::MOV_32_64) in eliminateZExtSeq() 219 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), DstReg) in eliminateZExtSeq() 220 .addImm(0).addReg(SubReg).addImm(BPF::sub_32); in eliminateZExtSeq() 308 if (Opcode == BPF::MOV_32_64 || in eliminateRedundantMov() 309 Opcode == BPF::MOV_rr || Opcode == BPF::MOV_rr_32) { in eliminateRedundantMov() [all …]
|
D | BPFRegisterInfo.cpp | 30 : BPFGenRegisterInfo(BPF::R0) {} in BPFRegisterInfo() 39 markSuperRegs(Reserved, BPF::W10); // [W|R]10 is read only frame pointer in getReservedRegs() 40 markSuperRegs(Reserved, BPF::W11); // [W|R]11 is pseudo stack pointer in getReservedRegs() 84 if (MI.getOpcode() == BPF::MOV_rr) { in eliminateFrameIndex() 90 BuildMI(MBB, ++II, DL, TII.get(BPF::ADD_ri), reg) in eliminateFrameIndex() 104 if (MI.getOpcode() == BPF::FI_ri) { in eliminateFrameIndex() 110 BuildMI(MBB, ++II, DL, TII.get(BPF::MOV_rr), reg) in eliminateFrameIndex() 112 BuildMI(MBB, II, DL, TII.get(BPF::ADD_ri), reg) in eliminateFrameIndex() 125 return BPF::R10; in getFrameRegister()
|
D | BPFRegisterInfo.td | 1 //===-- BPFRegisterInfo.td - BPF Register defs -------------*- tablegen -*-===// 10 // Declarations that describe the BPF register file 13 let Namespace = "BPF" in { 19 let Namespace = "BPF"; 27 let Namespace = "BPF"; 39 def GPR32 : RegisterClass<"BPF", [i32], 32, (add 46 def GPR : RegisterClass<"BPF", [i64], 64, (add
|
D | BPFISelLowering.cpp | 62 addRegisterClass(MVT::i64, &BPF::GPRRegClass); in BPFTargetLowering() 64 addRegisterClass(MVT::i32, &BPF::GPR32RegClass); in BPFTargetLowering() 69 setStackPointerRegisterToSaveRestore(BPF::R11); in BPFTargetLowering() 182 return std::make_pair(0U, &BPF::GPRRegClass); in getRegForInlineAsmConstraint() 240 SimpleTy == MVT::i64 ? &BPF::GPRRegClass : &BPF::GPR32RegClass); in LowerFormalArguments() 568 int RShiftOp = isSigned ? BPF::SRA_ri : BPF::SRL_ri; in EmitSubregExt() 576 BuildMI(BB, DL, TII.get(BPF::MOV_32_64), PromotedReg0).addReg(Reg); in EmitSubregExt() 577 BuildMI(BB, DL, TII.get(BPF::SLL_ri), PromotedReg1) in EmitSubregExt() 609 ScratchReg = MRI.createVirtualRegister(&BPF::GPRRegClass); in EmitInstrWithCustomInserterMemcpy() 622 bool isSelectRROp = (Opc == BPF::Select || in EmitInstrWithCustomInserter() [all …]
|
D | BPFFrameLowering.cpp | 35 SavedRegs.reset(BPF::R6); in determineCalleeSaves() 36 SavedRegs.reset(BPF::R7); in determineCalleeSaves() 37 SavedRegs.reset(BPF::R8); in determineCalleeSaves() 38 SavedRegs.reset(BPF::R9); in determineCalleeSaves()
|
D | LLVMBuild.txt | 1 ;===- ./lib/Target/BPF/LLVMBuild.txt ---------------------------*- Conf -*--===; 22 name = BPF 30 parent = BPF 41 add_to_library_groups = BPF
|
D | BPF.td | 1 //===-- BPF.td - Describe the BPF Target Machine -----------*- tablegen -*-===// 46 string Name = "BPF"; 51 def BPF : Target {
|
D | BPFMIChecking.cpp | 108 &BPFMCRegisterClasses[BPF::GPRRegClassID]; in hasLiveDefs() 159 if (MI.getOpcode() != BPF::XADDW && in checkingIllegalXADD() 160 MI.getOpcode() != BPF::XADDD && in checkingIllegalXADD() 161 MI.getOpcode() != BPF::XADDW32) in checkingIllegalXADD()
|
D | BPFCallingConv.td | 1 //===-- BPFCallingConv.td - Calling Conventions BPF --------*- tablegen -*-===// 9 // This describes the calling conventions for the BPF architecture. 13 // BPF 64-bit C return-value convention. 16 // BPF 64-bit C Calling convention.
|
D | BPFInstrFormats.td | 1 //===-- BPFInstrFormats.td - BPF Instruction Formats -------*- tablegen -*-===// 97 let Namespace = "BPF"; 98 let DecoderNamespace = "BPF";
|
D | BTFDebug.cpp | 999 if (MI->getOpcode() == BPF::LD_imm64) { in beginInstruction() 1012 } else if (MI->getOpcode() == BPF::CORE_MEM || in beginInstruction() 1013 MI->getOpcode() == BPF::CORE_ALU32_MEM || in beginInstruction() 1014 MI->getOpcode() == BPF::CORE_SHIFT) { in beginInstruction() 1017 } else if (MI->getOpcode() == BPF::JAL) { in beginInstruction() 1136 if (MI->getOpcode() == BPF::LD_imm64) { in InstLower() 1144 OutMI.setOpcode(BPF::MOV_ri); in InstLower() 1150 } else if (MI->getOpcode() == BPF::CORE_MEM || in InstLower() 1151 MI->getOpcode() == BPF::CORE_ALU32_MEM || in InstLower() 1152 MI->getOpcode() == BPF::CORE_SHIFT) { in InstLower()
|
/third_party/libbpf/ |
D | README_zh.md | 5 # BPF/libbpf用法和问题 7 …bpf/libbpf-bootstrap)和配套得[博客文章](https://nakryiko.com/posts/libbpf-bootstrap/),使用libbpf构建BPF应用程序的示例。 11 另请参见[“BPF CO-RE参考指南”](https://nakryiko.com/posts/bpf-core-reference-guide/),涵盖构建BPF CO-RE应用程序的实际方面, 13 以及[“BPF CO-RE”](https://nakryiko.com/posts/bpf-portability-and-co-re/)对于BPF可移植性问题和BPF CO-RE起源的一般介绍。 15 所有一般BPF问题,包括内核功能、libbpf API以及申请,应发送邮件至[bpf@vger.kernel.org](mailto:bpf@vger.kernel.org)。 91 # BPF CO-RE(编译一次-到处运行) 93 libbpf支持构建支持BPF CO-RE的应用程序,这与[BCC](https://github.com/iovisor/bcc/)不同,不需要Clang/LLVM运行时部署到目标服务器并且不依赖… 121 要开发和构建BPF程序,您需要Clang/LLVM 10+。以下发行版默认情况下具有Clang/LLVM 10+包: 137 以下资源有助于理解什么是BPF CO-RE以及如何使用它: 139 * [BPF CO-RE参考指南](https://nakryiko.com/posts/bpf-core-reference-guide/) [all …]
|
D | README_OH.md | 34 # kprobe.bpf.c BPF程序 61 # 用bpftool生成BPF skeleton脚手架文件 65 # kprobe.c 将BPF程序加载进内核并附着到内核指定位置 70 /* 加载并验证BPF程序 */ 73 fprintf(stderr, "Failed to open BPF skeleton\n"); 76 /* 将BPF程序附加到跟踪点 */
|
D | README.md | 22 libbpf changes should be sent to [BPF mailing list](http://vger.kernel.org/vger-lists.html#bpf), 26 Libbpf and general BPF usage questions 34 the examples of building BPF applications with libbpf. 38 See also ["BPF CO-RE reference guide"](https://nakryiko.com/posts/bpf-core-reference-guide/) 39 for the coverage of practical aspects of building BPF CO-RE applications and 40 ["BPF CO-RE"](https://nakryiko.com/posts/bpf-portability-and-co-re/) for 41 general introduction into BPF portability issues and BPF CO-RE origins. 43 All general BPF questions, including kernel functionality, libbpf APIs and 88 BPF CO-RE (Compile Once – Run Everywhere) 91 Libbpf supports building BPF CO-RE-enabled applications, which, in contrast to [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/TargetInfo/ |
D | LLVMBuild.txt | 1 ;===- ./lib/Target/BPF/TargetInfo/LLVMBuild.txt ----------------*- Conf -*--===; 20 parent = BPF 22 add_to_library_groups = BPF
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
D | LLVMBuild.txt | 1 ;===- ./lib/Target/BPF/AsmParser/LLVMBuild.txt ---------------*- Conf -*--===; 20 parent = BPF 22 add_to_library_groups = BPF
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/ |
D | LLVMBuild.txt | 1 ;===- ./lib/Target/BPF/MCTargetDesc/LLVMBuild.txt --------------*- Conf -*--===; 20 parent = BPF 22 add_to_library_groups = BPF
|
D | BPFMCCodeEmitter.cpp | 101 if (MI.getOpcode() == BPF::JAL) in getMachineOpValue() 104 else if (MI.getOpcode() == BPF::LD_imm64) in getMachineOpValue() 128 if (Opcode == BPF::LD_imm64 || Opcode == BPF::LD_pseudo) { in encodeInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsBPF.td | 1 //===- IntrinsicsBPF.td - Defines BPF intrinsics -----------*- tablegen -*-===// 9 // This file defines all of the BPF-specific intrinsics.
|
/third_party/libbpf/ci/vmtest/configs/ |
D | DENYLIST-5.5.0 | 19 check_mtu # missing BPF helper (v5.12+) 33 get_stack_raw_tp # exercising BPF verifier bug causing infinite loop 88 tcp_hdr_options # v5.10+, new TCP header options feature in BPF 104 udp_limit # no cgroup/sock_release BPF program type (5.9+)
|
/third_party/libbpf/scripts/ |
D | sync-kernel.sh | 18 BPF_BASELINE_COMMIT=${BPF_BASELINE:-$(cat ${LIBBPF_REPO}/BPF-CHECKPOINT-COMMIT)} 300 echo ${BPF_TIP_COMMIT} > BPF-CHECKPOINT-COMMIT && \ 302 git add BPF-CHECKPOINT-COMMIT && \
|