Lines Matching refs:STy
223 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct,
225 : STy(STy), HasBitField(HasBitField) {
227 BTFType.Size = roundupToBytes(STy->getSizeInBits());
236 BTFType.NameOff = BDebug.addString(STy->getName());
239 const DINodeArray Elements = STy->getElements();
267 std::string BTFTypeStruct::getName() { return std::string(STy->getName()); }
275 const DISubroutineType *STy, uint32_t VLen,
277 : STy(STy), FuncArgNames(FuncArgNames) {
287 DITypeRefArray Elements = STy->getTypeArray();
428 const DISubroutineType *STy, bool ForSubprog,
431 DITypeRefArray Elements = STy->getTypeArray();
440 auto TypeEntry = std::make_unique<BTFTypeFuncProto>(STy, VLen, FuncArgNames);
444 TypeId = addType(std::move(TypeEntry), STy); // For func ptr
645 else if (const auto *STy = dyn_cast<DISubroutineType>(Ty))
646 visitSubroutineType(STy, false, std::unordered_map<uint32_t, StringRef>(),