| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 50 Kind = BTF::BTF_KIND_PTR; in BTFTypeDerived() 53 Kind = BTF::BTF_KIND_CONST; in BTFTypeDerived() 74 Kind = BTF::BTF_KIND_PTR; in BTFTypeDerived() 92 assert((Kind == BTF::BTF_KIND_PTR || Kind == BTF::BTF_KIND_CONST || in completeType() 109 Kind = BTF::BTF_KIND_FWD; in BTFTypeFwd() 145 Kind = BTF::BTF_KIND_INT; in BTFTypeInt() 167 Kind = BTF::BTF_KIND_ENUM; in BTFTypeEnum() 280 Kind = IsStruct ? BTF::BTF_KIND_STRUCT : BTF::BTF_KIND_UNION; in BTFTypeStruct() 390 Kind = BTF::BTF_KIND_VAR; in BTFKindVar() 561 if (VLen > BTF::MAX_VLEN) in visitSubroutineType() [all …]
|
| H A D | BPFAsmPrinter.cpp | 41 : AsmPrinter(TM, std::move(Streamer)), BTF(nullptr) {} in BPFAsmPrinter() 54 BTFDebug *BTF; member in __anon6600c2da0111::BPFAsmPrinter 63 BTF = new BTFDebug(this); in doInitialization() 64 Handlers.push_back(HandlerInfo(std::unique_ptr<BTFDebug>(BTF), "emit", in doInitialization() 146 if (!BTF || !BTF->InstLower(MI, TmpInst)) { in emitInstruction()
|
| H A D | BTFDebug.h | 44 struct BTF::CommonType BTFType; 53 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() 103 std::vector<struct BTF::BTFEnum> EnumValues; 108 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize() 116 struct BTF::BTFArray ArrayInfo; 129 std::vector<struct BTF::BTFMember> Members; 135 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize() 146 std::vector<struct BTF::BTFParam> Parameters; 152 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize() 190 return BTFTypeBase::getSize() + BTF::BTFDataSecVarSize * Vars.size(); in getSize() [all …]
|
| H A D | BTF.def | 1 //===- BTF.def - BTF definitions --------------------------------*- C++ -*-===// 9 // Macros for BTF.
|
| H A D | BTF.h | 54 namespace BTF {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/BTF/ |
| H A D | binary-format.ll | 1 ; RUN: llc -march=bpfel -filetype=obj -o - %s | llvm-readelf -x ".BTF" -x ".BTF.ext" - | FileCheck … 2 ; RUN: llc -march=bpfeb -filetype=obj -o - %s | llvm-readelf -x ".BTF" -x ".BTF.ext" - | FileCheck … 16 ; CHECK: '.BTF' 30 ; CHECK: '.BTF.ext'
|
| H A D | char-no-debuginfo.ll | 18 ; CHECK-NOT: .section .BTF 19 ; CHECK-NOT: .section .BTF.ext
|
| H A D | align.ll | 14 ; CHECK: .BTF PROGBITS 0000000000000000 {{[0-9a-f]+}} {{[0-9a-f]+}} 00 0… 15 ; CHECK: .BTF.ext PROGBITS 0000000000000000 {{[0-9a-f]+}} {{[0-9a-f]+}} 00 0…
|
| H A D | func-void.ll | 14 ; CHECK: .section .BTF,"",@progbits 36 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | filename.ll | 14 ; CHECK: .section .BTF,"",@progbits 42 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | empty-btf.ll | 14 ; CHECK-NOT: BTF
|
| H A D | func-source.ll | 18 ; CHECK: .section .BTF,"",@progbits 42 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | func-unused-arg.ll | 15 ; CHECK: .section .BTF,"",@progbits 47 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | func-non-void.ll | 15 ; CHECK: .section .BTF,"",@progbits 47 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | func-typedef.ll | 18 ; CHECK: .section .BTF,"",@progbits 60 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | ptr-void.ll | 15 ; CHECK: .section .BTF,"",@progbits
|
| H A D | func-func-ptr.ll | 23 ; CHECK: .section .BTF,"",@progbits 73 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
|
| H A D | char.ll | 15 ; CHECK: .section .BTF,"",@progbits
|
| H A D | uchar.ll | 15 ; CHECK: .section .BTF,"",@progbits
|
| H A D | ulonglong.ll | 15 ; CHECK: .section .BTF,"",@progbits
|
| H A D | uint.ll | 15 ; CHECK: .section .BTF,"",@progbits
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/ |
| H A D | reloc-btf-2.ll | 25 ; CHECK-RELOC: RELOCATION RECORDS FOR [.BTF]: 28 ; CHECK-RELOC: RELOCATION RECORDS FOR [.BTF.ext]:
|
| /llvm-project-15.0.7/llvm/test/ExecutionEngine/RuntimeDyld/BPF/ |
| H A D | nodyld32-64-relocations.s | 30 .section .BTF,"",@progbits
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | BuiltinsBPF.def | 23 // Get BTF type id.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/CORE/ |
| H A D | offset-reloc-access-str.ll | 33 ; CHECK: .section .BTF,"",@progbits 38 ; CHECK: .section .BTF.ext,"",@progbits
|