Lines Matching defs:STy
289 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct,
291 : STy(STy), HasBitField(HasBitField) {
293 BTFType.Size = roundupToBytes(STy->getSizeInBits());
302 BTFType.NameOff = BDebug.addString(STy->getName());
305 const DINodeArray Elements = STy->getElements();
333 std::string BTFTypeStruct::getName() { return std::string(STy->getName()); }
341 const DISubroutineType *STy, uint32_t VLen,
343 : STy(STy), FuncArgNames(FuncArgNames) {
353 DITypeRefArray Elements = STy->getTypeArray();
568 const DISubroutineType *STy, bool ForSubprog,
571 DITypeRefArray Elements = STy->getTypeArray();
580 auto TypeEntry = std::make_unique<BTFTypeFuncProto>(STy, VLen, FuncArgNames);
584 TypeId = addType(std::move(TypeEntry), STy); // For func ptr
937 else if (const auto *STy = dyn_cast<DISubroutineType>(Ty))
938 visitSubroutineType(STy, false, std::unordered_map<uint32_t, StringRef>(),