Lines Matching defs:STy
280 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct,
282 : STy(STy), HasBitField(HasBitField) {
284 BTFType.Size = roundupToBytes(STy->getSizeInBits());
293 BTFType.NameOff = BDebug.addString(STy->getName());
296 const DINodeArray Elements = STy->getElements();
324 std::string BTFTypeStruct::getName() { return std::string(STy->getName()); }
332 const DISubroutineType *STy, uint32_t VLen,
334 : STy(STy), FuncArgNames(FuncArgNames) {
344 DITypeRefArray Elements = STy->getTypeArray();
559 const DISubroutineType *STy, bool ForSubprog,
562 DITypeRefArray Elements = STy->getTypeArray();
571 auto TypeEntry = std::make_unique<BTFTypeFuncProto>(STy, VLen, FuncArgNames);
575 TypeId = addType(std::move(TypeEntry), STy); // For func ptr
924 else if (const auto *STy = dyn_cast<DISubroutineType>(Ty))
925 visitSubroutineType(STy, false, std::unordered_map<uint32_t, StringRef>(),