• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/

Lines Matching defs:TypeEntry

394 uint32_t BTFDebug::addType(std::unique_ptr<BTFTypeBase> TypeEntry,
396 TypeEntry->setId(TypeEntries.size() + 1);
397 uint32_t Id = TypeEntry->getId();
399 TypeEntries.push_back(std::move(TypeEntry));
403 uint32_t BTFDebug::addType(std::unique_ptr<BTFTypeBase> TypeEntry) {
404 TypeEntry->setId(TypeEntries.size() + 1);
405 uint32_t Id = TypeEntry->getId();
406 TypeEntries.push_back(std::move(TypeEntry));
421 auto TypeEntry = std::make_unique<BTFTypeInt>(
423 TypeId = addType(std::move(TypeEntry), BTy);
440 auto TypeEntry = std::make_unique<BTFTypeFuncProto>(STy, VLen, FuncArgNames);
442 TypeId = addType(std::move(TypeEntry)); // For subprogram
444 TypeId = addType(std::move(TypeEntry), STy); // For func ptr
470 auto TypeEntry =
472 StructTypes.push_back(TypeEntry.get());
473 TypeId = addType(std::move(TypeEntry), CTy);
497 auto TypeEntry =
501 ElemTypeId = addType(std::move(TypeEntry), CTy);
503 ElemTypeId = addType(std::move(TypeEntry));
513 auto TypeEntry = std::make_unique<BTFTypeInt>(dwarf::DW_ATE_unsigned, 32,
515 ArrayIndexTypeId = addType(std::move(TypeEntry));
525 auto TypeEntry = std::make_unique<BTFTypeEnum>(CTy, VLen);
526 TypeId = addType(std::move(TypeEntry), CTy);
533 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion);
534 TypeId = addType(std::move(TypeEntry), CTy);
575 auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, true);
578 Fixup.second.push_back(TypeEntry.get());
579 TypeId = addType(std::move(TypeEntry), DTy);
589 auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, false);
590 TypeId = addType(std::move(TypeEntry), DTy);
767 for (const auto &TypeEntry : TypeEntries)
768 TypeLen += TypeEntry->getSize();
777 for (const auto &TypeEntry : TypeEntries)
778 TypeEntry->emitType(OS);
941 for (const auto &TypeEntry : TypeEntries)
942 TypeEntry->completeType(*this);
971 for (const auto &TypeEntry : TypeEntries)
972 TypeEntry->completeType(*this);
1294 for (const auto &TypeEntry : TypeEntries)
1295 TypeEntry->completeType(*this);