Searched refs:RD (Results 1 - 7 of 7) sorted by relevance

/frameworks/compile/slang/
H A Dslang_rs_export_type.cpp293 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); local
294 slangAssert(RD);
295 RD = RD->getDefinition();
296 if (RD == nullptr) {
303 TopLevelRecord = RD;
305 if (RD->getName().empty()) {
306 ReportTypeError(Context, nullptr, RD,
312 if (RD->hasFlexibleArrayMember() || RD
526 clang::RecordDecl *RD = nullptr; local
766 clang::RecordDecl *RD; local
1044 const clang::RecordDecl *RD = RT->getDecl(); local
1364 const clang::RecordDecl* RD = RT->getDecl(); local
1490 const clang::RecordDecl *RD = RT->getDecl(); local
[all...]
H A Dslang_rs_export_func.cpp71 clang::RecordDecl *RD = local
90 RD,
99 RD->addDecl(FD);
102 RD->completeDefinition();
104 clang::QualType T = Ctx.getTagDeclType(RD);
H A Dslang_backend.cpp386 void Backend::PadStruct(clang::RecordDecl* RD) { argument
398 // We collect all of RD's fields in a vector FieldsInfo. We
407 for (clang::Decl* D : RD->decls()) {
420 // 1. ASSUME that record layout has not yet been computed for RD.
422 // 2. Create a temporary clone of RD, and compute its layout.
423 // ASSUME that we know how to clone RD in a way that copies all the
427 // transform RD.
435 // while we're manipulating RD, the associated RecordType
436 // still recognizes RD as its RecordDecl. ASSUME that we
438 // the RecordType to be followed to RD whil
[all...]
H A Dslang_rs_export_foreach.cpp347 clang::RecordDecl *RD = local
356 RD,
365 RD->addDecl(FD);
366 RD->completeDefinition();
369 clang::QualType T = Ctx.getTagDeclType(RD);
H A Dslang_rs_object_ref_count.cpp518 clang::RecordDecl *RD = T->getAsUnionType()->getDecl(); local
519 RD = RD->getDefinition();
520 for (clang::RecordDecl::field_iterator FI = RD->field_begin(),
521 FE = RD->field_end();
537 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); local
538 RD = RD->getDefinition();
539 for (clang::RecordDecl::field_iterator FI = RD->field_begin(),
540 FE = RD
578 clang::RecordDecl *RD = BaseType->getAsStructureType()->getDecl(); local
915 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); local
[all...]
H A Dslang.cpp494 ReflectedDefinitionListTy::const_iterator RD = local
497 if (RD != ReflectedDefinitions.end()) {
498 const RSExportRecordType *Reflected = RD->getValue().first;
508 << RD->getValue().second;
H A Dslang_backend.h138 void PadStruct(clang::RecordDecl* RD);

Completed in 79 milliseconds