Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:RT

96 static CGCXXABI::RecordArgABI getRecordArgABI(const RecordType *RT,
98 const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(RT->getDecl());
106 const RecordType *RT = T->getAs<RecordType>();
107 if (!RT)
109 return getRecordArgABI(RT, CXXABI);
345 // This assumes the user is passing a library name like "rt" instead of a
372 const RecordType *RT = FT->getAs<RecordType>();
373 if (!RT)
380 if (isa<CXXRecordDecl>(RT->getDecl()))
390 const RecordType *RT = T->getAs<RecordType>();
391 if (!RT)
393 const RecordDecl *RD = RT->getDecl();
418 const RecordType *RT = T->getAs<RecordType>();
419 if (!RT)
422 const RecordDecl *RD = RT->getDecl();
511 const RecordType *RT = Ty->getAs<RecordType>();
512 if (!RT)
518 const RecordDecl *RD = RT->getDecl();
1056 const RecordType *RT = Ty->getAs<RecordType>();
1057 if (!RT) return false;
1063 for (const auto *FD : RT->getDecl()->fields()) {
1124 if (const RecordType *RT = RetTy->getAs<RecordType>()) {
1126 if (RT->getDecl()->hasFlexibleArrayMember())
1170 const RecordType *RT = Ty->getAs<RecordType>();
1171 if (!RT)
1173 const RecordDecl *RD = RT->getDecl();
1312 const RecordType *RT = Ty->getAs<RecordType>();
1313 if (RT) {
1314 CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI());
1339 if (RT) {
1345 if (RT->getDecl()->hasFlexibleArrayMember())
2313 if (const RecordType *RT = Ty->getAs<RecordType>()) {
2324 if (getRecordArgABI(RT, getCXXABI()))
2327 const RecordDecl *RD = RT->getDecl();
2575 if (const RecordType *RT = Ty->getAs<RecordType>()) {
2576 const RecordDecl *RD = RT->getDecl();
3352 const RecordType *RT = Ty->getAs<RecordType>();
3353 if (RT) {
3355 if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI()))
3359 if (RT->getDecl()->hasFlexibleArrayMember())
3387 if (RT || Ty->isAnyComplexType() || Ty->isMemberPointerType()) {
3866 } else if (const RecordType *RT = Ty->getAs<RecordType>()) {
3867 const RecordDecl *RD = RT->getDecl();
5131 const RecordType *RT = Ty->getAs<RecordType>();
5132 if (!RT) return false;
5135 const RecordDecl *RD = RT->getDecl();
5618 if (const RecordType *RT = Ty->getAsStructureType()) {
5619 const RecordDecl *RD = RT->getDecl();
5853 if (const RecordType *RT = Ty->getAs<RecordType>()) {
5856 const RecordDecl *RD = RT->getDecl();
6027 const RecordType *RT = Ty->getAs<RecordType>();
6030 if (!RT || !RT->isStructureOrClassType()) {
6035 const RecordDecl *RD = RT->getDecl();
6127 const RecordType *RT = RetTy->getAs<RecordType>();
6130 if (RT && RT->isStructureOrClassType()) {
6131 const RecordDecl *RD = RT->getDecl();
7153 static bool appendRecordType(SmallStringEnc &Enc, const RecordType *RT,
7165 Enc += (RT->isUnionType()? 'u' : 's');
7173 const RecordDecl *RD = RT->getDecl()->getDefinition();
7189 if (RT->isUnionType())
7411 if (const RecordType *RT = QT->getAsStructureType())
7412 return appendRecordType(Enc, RT, CGM, TSC, QT.getBaseTypeIdentifier());
7414 if (const RecordType *RT = QT->getAsUnionType())
7415 return appendRecordType(Enc, RT, CGM, TSC, QT.getBaseTypeIdentifier());