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

Lines Matching defs:TypeId

334 BTFKindVar::BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo)
338 BTFType.Type = TypeId;
410 void BTFDebug::visitBasicType(const DIBasicType *BTy, uint32_t &TypeId) {
423 TypeId = addType(std::move(TypeEntry), BTy);
430 uint32_t &TypeId) {
442 TypeId = addType(std::move(TypeEntry)); // For subprogram
444 TypeId = addType(std::move(TypeEntry), STy); // For func ptr
454 uint32_t &TypeId) {
473 TypeId = addType(std::move(TypeEntry), CTy);
480 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) {
507 // The array TypeId is the type id of the outermost dimension.
508 TypeId = ElemTypeId;
519 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) {
526 TypeId = addType(std::move(TypeEntry), CTy);
532 uint32_t &TypeId) {
534 TypeId = addType(std::move(TypeEntry), CTy);
539 uint32_t &TypeId) {
544 visitFwdDeclType(CTy, Tag == dwarf::DW_TAG_union_type, TypeId);
546 visitStructType(CTy, Tag == dwarf::DW_TAG_structure_type, TypeId);
548 visitArrayType(CTy, TypeId);
550 visitEnumType(CTy, TypeId);
554 void BTFDebug::visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
579 TypeId = addType(std::move(TypeEntry), DTy);
590 TypeId = addType(std::move(TypeEntry), DTy);
604 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId,
607 TypeId = DIToIdMap[Ty];
644 visitBasicType(BTy, TypeId);
647 TypeId);
649 visitCompositeType(CTy, TypeId);
651 visitDerivedType(DTy, TypeId, CheckPointer, SeenPointer);
657 uint32_t TypeId;
658 visitTypeEntry(Ty, TypeId, false, false);
661 void BTFDebug::visitMapDefType(const DIType *Ty, uint32_t &TypeId) {
663 TypeId = DIToIdMap[Ty];
694 visitTypeEntry(OrigTy, TypeId, false, false);
841 OS.emitInt32(FuncInfo.TypeId);
948 FuncInfo.TypeId = FuncTypeId;