Home
last modified time | relevance | path

Searched refs:BTF (Results 1 – 25 of 87) sorted by relevance

1234

/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTFDebug.cpp50 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 DBPFAsmPrinter.cpp41 : 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 DBTFDebug.h44 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 DBTF.def1 //===- BTF.def - BTF definitions --------------------------------*- C++ -*-===//
9 // Macros for BTF.
H A DBTF.h54 namespace BTF {
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/BTF/
H A Dbinary-format.ll1 ; 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 Dchar-no-debuginfo.ll18 ; CHECK-NOT: .section .BTF
19 ; CHECK-NOT: .section .BTF.ext
H A Dalign.ll14 ; 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 Dfunc-void.ll14 ; CHECK: .section .BTF,"",@progbits
36 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dfilename.ll14 ; CHECK: .section .BTF,"",@progbits
42 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dempty-btf.ll14 ; CHECK-NOT: BTF
H A Dfunc-source.ll18 ; CHECK: .section .BTF,"",@progbits
42 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dfunc-unused-arg.ll15 ; CHECK: .section .BTF,"",@progbits
47 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dfunc-non-void.ll15 ; CHECK: .section .BTF,"",@progbits
47 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dfunc-typedef.ll18 ; CHECK: .section .BTF,"",@progbits
60 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dptr-void.ll15 ; CHECK: .section .BTF,"",@progbits
H A Dfunc-func-ptr.ll23 ; CHECK: .section .BTF,"",@progbits
73 ; CHECK-NEXT: .section .BTF.ext,"",@progbits
H A Dchar.ll15 ; CHECK: .section .BTF,"",@progbits
H A Duchar.ll15 ; CHECK: .section .BTF,"",@progbits
H A Dulonglong.ll15 ; CHECK: .section .BTF,"",@progbits
H A Duint.ll15 ; CHECK: .section .BTF,"",@progbits
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/
H A Dreloc-btf-2.ll25 ; 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 Dnodyld32-64-relocations.s30 .section .BTF,"",@progbits
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DBuiltinsBPF.def23 // Get BTF type id.
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/CORE/
H A Doffset-reloc-access-str.ll33 ; CHECK: .section .BTF,"",@progbits
38 ; CHECK: .section .BTF.ext,"",@progbits

1234