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

Lines Matching defs:RT

154 static CGCXXABI::RecordArgABI getRecordArgABI(const RecordType *RT,
156 const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(RT->getDecl());
158 if (!RT->getDecl()->canPassInRegisters())
167 const RecordType *RT = T->getAs<RecordType>();
168 if (!RT)
170 return getRecordArgABI(RT, CXXABI);
177 if (const auto *RT = Ty->getAs<RecordType>())
178 if (!isa<CXXRecordDecl>(RT->getDecl()) &&
179 !RT->getDecl()->canPassInRegisters()) {
513 const RecordType *RT = FT->getAs<RecordType>();
514 if (!RT)
527 if (isa<CXXRecordDecl>(RT->getDecl()) &&
538 const RecordType *RT = T->getAs<RecordType>();
539 if (!RT)
541 const RecordDecl *RD = RT->getDecl();
566 const RecordType *RT = T->getAs<RecordType>();
567 if (!RT)
570 const RecordDecl *RD = RT->getDecl();
866 const RecordType *RT = Ty->getAs<RecordType>();
867 assert(RT);
869 for (auto *Field : RT->getDecl()->fields()) {
1358 const RecordType *RT = Ty->getAs<RecordType>();
1359 if (!RT) return false;
1365 for (const auto *FD : RT->getDecl()->fields()) {
1432 const RecordType *RT = Ty->getAs<RecordType>();
1433 if (!RT)
1435 const RecordDecl *RD = RT->getDecl();
1510 if (const RecordType *RT = RetTy->getAs<RecordType>()) {
1512 if (RT->getDecl()->hasFlexibleArrayMember())
1564 const RecordType *RT = Ty->getAs<RecordType>();
1565 if (!RT)
1567 const RecordDecl *RD = RT->getDecl();
1764 const RecordType *RT = Ty->getAs<RecordType>();
1765 if (RT) {
1766 CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI());
1799 if (RT && RT->getDecl()->hasFlexibleArrayMember())
3007 if (const RecordType *RT = Ty->getAs<RecordType>()) {
3018 if (getRecordArgABI(RT, getCXXABI()))
3021 const RecordDecl *RD = RT->getDecl();
3294 if (const RecordType *RT = Ty->getAs<RecordType>()) {
3295 const RecordDecl *RD = RT->getDecl();
3778 auto RT = Ty->getAs<RecordType>();
3779 assert(RT && "classifyRegCallStructType only valid with struct types");
3781 if (RT->getDecl()->hasFlexibleArrayMember())
3785 if (auto CXXRD = dyn_cast<CXXRecordDecl>(RT->getDecl())) {
3800 for (const auto *FD : RT->getDecl()->fields()) {
4173 const RecordType *RT = Ty->getAs<RecordType>();
4174 if (RT) {
4176 if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI()))
4180 if (RT->getDecl()->hasFlexibleArrayMember())
4221 if (RT || Ty->isAnyComplexType() || Ty->isMemberPointerType()) {
5100 } else if (const RecordType *RT = Ty->getAs<RecordType>()) {
5101 const RecordDecl *RD = RT->getDecl();
6513 const RecordType *RT = Ty->getAs<RecordType>();
6514 if (!RT) return false;
6517 const RecordDecl *RD = RT->getDecl();
6719 } else if (const RecordType *RT = Ty->getAs<RecordType>()) {
6720 const RecordDecl *RD = RT->getDecl();
6940 const auto *RT = T->getAs<RecordType>();
6941 if (!RT)
6943 const RecordDecl *RD = RT->getDecl();
7227 const RecordType *RT = Ty->getAs<RecordType>();
7229 if (RT && RT->isStructureOrClassType()) {
7230 const RecordDecl *RD = RT->getDecl();
7465 if (const RecordType *RT = Ty->getAs<RecordType>()) {
7468 const RecordDecl *RD = RT->getDecl();
7692 const RecordType *RT = Ty->getAs<RecordType>();
7695 if (!RT || !RT->isStructureOrClassType()) {
7700 const RecordDecl *RD = RT->getDecl();
7799 const RecordType *RT = RetTy->getAs<RecordType>();
7802 if (RT && RT->isStructureOrClassType()) {
7803 const RecordDecl *RD = RT->getDecl();
8559 const RecordType *RT = Ty->getAs<RecordType>();
8560 if (RT) {
8561 CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI());
8571 if (RT && RT->getDecl()->hasFlexibleArrayMember())
8716 if (const RecordType *RT = Ty->getAs<RecordType>()) {
8717 const RecordDecl *RD = RT->getDecl();
8765 if (const RecordType *RT = RetTy->getAs<RecordType>()) {
8766 const RecordDecl *RD = RT->getDecl();
8840 if (const RecordType *RT = Ty->getAs<RecordType>()) {
8841 const RecordDecl *RD = RT->getDecl();
9534 const RecordType *RT = Ty->getAs<RecordType>();
9535 if (RT) {
9536 CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI());
9552 if (RT && RT->getDecl()->hasFlexibleArrayMember())
9966 static bool appendRecordType(SmallStringEnc &Enc, const RecordType *RT,
9978 Enc += (RT->isUnionType()? 'u' : 's');
9986 const RecordDecl *RD = RT->getDecl()->getDefinition();
10002 if (RT->isUnionType())
10224 if (const RecordType *RT = QT->getAsStructureType())
10225 return appendRecordType(Enc, RT, CGM, TSC, QT.getBaseTypeIdentifier());
10227 if (const RecordType *RT = QT->getAsUnionType())
10228 return appendRecordType(Enc, RT, CGM, TSC, QT.getBaseTypeIdentifier());