| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 78 } else if (const auto *RecordDecl = dyn_cast<CXXRecordDecl>(FoundDecl)) { in Find() local 79 handleCXXRecordDecl(RecordDecl); in Find() 116 void handleCXXRecordDecl(const CXXRecordDecl *RecordDecl) { in handleCXXRecordDecl() argument 117 if (!RecordDecl->getDefinition()) { in handleCXXRecordDecl() 118 USRSet.insert(getUSRForDecl(RecordDecl)); in handleCXXRecordDecl() 121 RecordDecl = RecordDecl->getDefinition(); in handleCXXRecordDecl() 123 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl)) in handleCXXRecordDecl() 125 addUSRsOfCtorDtors(RecordDecl); in handleCXXRecordDecl() 159 const auto* RecordDecl = RD->getDefinition(); in addUSRsOfCtorDtors() local 162 if (!RecordDecl) { in addUSRsOfCtorDtors() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | Record.h | 34 const RecordDecl *Decl; 49 const RecordDecl *getDecl() const { return Decl; } in getDecl() 59 const Base *getBase(const RecordDecl *FD) const; 61 const Base *getVirtualBase(const RecordDecl *RD) const; 89 Record(const RecordDecl *, BaseList &&Bases, FieldList &&Fields, 97 const RecordDecl *Decl; 106 llvm::DenseMap<const RecordDecl *, Base *> BaseMap; 110 llvm::DenseMap<const RecordDecl *, Base *> VirtualBaseMap;
|
| H A D | Record.cpp | 14 Record::Record(const RecordDecl *Decl, BaseList &&SrcBases, in Record() 36 const Record::Base *Record::getBase(const RecordDecl *FD) const { in getBase() 42 const Record::Base *Record::getVirtualBase(const RecordDecl *FD) const { in getVirtualBase()
|
| H A D | Program.h | 29 class RecordDecl; variable 98 Record *getOrCreateRecord(const RecordDecl *RD); 182 llvm::DenseMap<const RecordDecl *, Record *> Records;
|
| H A D | Program.cpp | 207 Record *Program::getOrCreateRecord(const RecordDecl *RD) { in getOrCreateRecord() 225 auto GetBaseDesc = [this](const RecordDecl *BD, Record *BR) -> Descriptor * { in getOrCreateRecord() 241 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl(); in getOrCreateRecord() 253 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl(); in getOrCreateRecord()
|
| H A D | Descriptor.h | 123 const RecordDecl *asRecordDecl() const { in asRecordDecl() 124 return dyn_cast_or_null<RecordDecl>(asDecl()); in asRecordDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.h | 43 class RecordDecl; variable 98 SmallVector<const RecordDecl *, 8> DeferredRecords; 160 const CGRecordLayout &getCGRecordLayout(const RecordDecl*); 275 std::unique_ptr<CGRecordLayout> ComputeRecordLayout(const RecordDecl *D, 280 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 286 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD); 303 bool isZeroInitializable(const RecordDecl *RD);
|
| H A D | CGRecordLayoutBuilder.cpp | 95 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, bool Packed); 170 bool isZeroInitializable(const RecordDecl *RD) { in isZeroInitializable() 187 void accumulateBitFields(RecordDecl::field_iterator Field, 188 RecordDecl::field_iterator FieldEnd); 209 const RecordDecl *D; 230 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, in CGRecordLowering() 373 for (RecordDecl::field_iterator Field = D->field_begin(), in accumulateFields() 377 RecordDecl::field_iterator Start = Field; in accumulateFields() 393 CGRecordLowering::accumulateBitFields(RecordDecl::field_iterator Field, in accumulateBitFields() 394 RecordDecl::field_iterator FieldEnd) { in accumulateBitFields() [all …]
|
| H A D | CodeGenTypes.cpp | 48 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, in addRecordTypeName() 121 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked); 128 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, in isSafeToConvert() 129 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) { in isSafeToConvert() argument 170 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) { in isSafeToConvert() argument 193 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) { in isSafeToConvert() 197 llvm::SmallPtrSet<const RecordDecl*, 16> AlreadyChecked; in isSafeToConvert() 276 const RecordDecl *RD = cast<RecordDecl>(TD); in UpdateCompletedType() 810 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { in ConvertRecordDeclType() 874 CodeGenTypes::getCGRecordLayout(const RecordDecl *RD) { in getCGRecordLayout() [all …]
|
| H A D | CGDebugInfo.h | 299 const RecordDecl *RD = nullptr); 305 const RecordDecl *RD = nullptr) { 313 const RecordDecl *RD); 322 const RecordDecl *RD); 326 llvm::DIType *RecordTy, const RecordDecl *RD); 329 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile *F, 528 void completeType(const RecordDecl *RD); 529 void completeRequiredType(const RecordDecl *RD); 530 void completeClassData(const RecordDecl *RD); 531 void completeClass(const RecordDecl *RD); [all …]
|
| H A D | CGOpenMPRuntimeGPU.h | 463 const RecordDecl *GlobalRecord = nullptr; 464 llvm::Optional<const RecordDecl *> SecondaryGlobalRecord = llvm::None; 482 llvm::SmallVector<const RecordDecl *, 2> Records; 491 llvm::SmallVector<const RecordDecl *, 4> TeamsReductions;
|
| H A D | CodeGenTBAA.cpp | 101 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isValidBaseType() 284 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields() 296 for (RecordDecl::field_iterator i = RD->field_begin(), in CollectFields() 336 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getBaseTypeInfoHelper()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | NoUncountedMembersChecker.cpp | 58 bool VisitRecordDecl(const RecordDecl *RD) { in checkASTDecl() 68 void visitRecordDecl(const RecordDecl *RD) const { in visitRecordDecl() 88 bool shouldSkipDecl(const RecordDecl *RD) const { in shouldSkipDecl() 124 const RecordDecl *ClassCXXRD) const { in reportBug()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 53 bool VisitRecordDecl(const RecordDecl *RD) { in checkASTDecl() 72 void visitRecord(const RecordDecl *RD, uint64_t PadMultiplier = 1) const { in visitRecord() 131 bool shouldSkipDecl(const RecordDecl *RD) const { in shouldSkipDecl() 190 static CharUnits calculateBaselinePad(const RecordDecl *RD, in calculateBaselinePad() 227 calculateOptimalPad(const RecordDecl *RD, const ASTContext &ASTContext, in calculateOptimalPad() 306 const RecordDecl *RD, CharUnits BaselinePad, CharUnits OptimalPad, in reportRecord()
|
| H A D | LLVMConventionsChecker.cpp | 65 static bool IsClangType(const RecordDecl *RD) { in IsClangType() 69 static bool IsClangDecl(const RecordDecl *RD) { in IsClangDecl() 73 static bool IsClangStmt(const RecordDecl *RD) { in IsClangStmt() 77 static bool IsClangAttr(const RecordDecl *RD) { in IsClangAttr() 250 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
|
| H A D | SmartPtrModeling.cpp | 93 const auto *RecordDecl = MethodDecl->getParent(); in isStdSmartPtrCall() local 94 if (!RecordDecl || !RecordDecl->getDeclContext()->isStdNamespace()) in isStdSmartPtrCall() 97 if (RecordDecl->getDeclName().isIdentifier()) { in isStdSmartPtrCall() 98 StringRef Name = RecordDecl->getName(); in isStdSmartPtrCall() 145 const auto *RecordDecl = MethodDecl->getParent(); in getInnerPointerType() local 146 if (!RecordDecl || !RecordDecl->isInStdNamespace()) in getInnerPointerType() 149 const auto *TSD = dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl); in getInnerPointerType()
|
| H A D | CastSizeChecker.cpp | 56 const RecordDecl *RD = RT->getDecl(); in evenFlexibleArraySize() 57 RecordDecl::field_iterator Iter(RD->field_begin()); in evenFlexibleArraySize() 58 RecordDecl::field_iterator End(RD->field_end()); in evenFlexibleArraySize()
|
| /netbsd-src/external/mit/isl/dist/interface/ |
| H A D | generator.h | 84 RecordDecl *type; 151 generator(SourceManager &SM, set<RecordDecl *> &exported_types, 159 void add_subclass(RecordDecl *decl, const string &name, 161 void add_class(RecordDecl *decl);
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/ |
| H A D | SwiftCallingConv.h | 64 void addTypedData(const RecordDecl *record, CharUnits begin); 65 void addTypedData(const RecordDecl *record, CharUnits begin, 165 bool mustPassRecordIndirectly(CodeGenModule &CGM, const RecordDecl *record);
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CXType.cpp | 183 if (const auto *RecordDecl = Type->getAsCXXRecordDecl()) { in GetTemplateArguments() local 185 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl); in GetTemplateArguments() 966 static long long visitRecordForValidation(const RecordDecl *RD) { in visitRecordForValidation() 975 if (const RecordDecl *Child = ChildType->getDecl()) { in visitRecordForValidation() 989 const RecordDecl *RD = in validateFieldParentType() 990 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC)); in validateFieldParentType() 1024 const RecordDecl *RD = in clang_Type_getOffsetOf() 1025 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC)); in clang_Type_getOffsetOf() 1028 RecordDecl::lookup_result Res = RD->lookup(FieldName); in clang_Type_getOffsetOf() 1234 const RecordDecl *RD = in clang_Type_visitFields() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | RecordLayoutBuilder.cpp | 710 void Layout(const RecordDecl *D); 714 void LayoutFields(const RecordDecl *D); 1314 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) { in InitializeLayout() 1353 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) in InitializeLayout() 1372 void ItaniumRecordLayoutBuilder::Layout(const RecordDecl *D) { in Layout() 1444 void ItaniumRecordLayoutBuilder::LayoutFields(const RecordDecl *D) { in LayoutFields() 1985 const RecordDecl *RD = RT->getDecl(); in LayoutField() 2130 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) { in FinishLayout() 2489 void layout(const RecordDecl *RD); 2492 void initializeLayout(const RecordDecl *RD); [all …]
|
| H A D | Decl.cpp | 961 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember() 1665 } else if (const auto *RD = dyn_cast<RecordDecl>(DC)) { in printNestedNameSpecifier() 4186 const RecordDecl *RD = RT->getDecl()->getDefinition(); in isZeroSize() 4213 const RecordDecl *RD = getParent()->getDefinition(); in getFieldIndex() 4497 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C, in RecordDecl() function in RecordDecl 4500 RecordDecl *PrevDecl) in RecordDecl() 4518 RecordDecl *RecordDecl::Create(const ASTContext &C, TagKind TK, DeclContext *DC, in Create() 4520 IdentifierInfo *Id, RecordDecl* PrevDecl) { in Create() 4521 RecordDecl *R = new (C, DC) RecordDecl(Record, TK, C, DC, in Create() 4529 RecordDecl *RecordDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTStructuralEquivalence.h | 30 class RecordDecl; variable 118 findUntaggedStructOrUnionIndex(RecordDecl *Anon);
|
| H A D | ASTMutationListener.h | 36 class RecordDecl; variable 148 const RecordDecl *Record) {} in AddedAttributeToRecord()
|
| H A D | Decl.h | 69 class RecordDecl; variable 2988 const RecordDecl *getParent() const { in getParent() 2989 return dyn_cast<RecordDecl>(getDeclContext()); in getParent() 2992 RecordDecl *getParent() { in getParent() 2993 return dyn_cast<RecordDecl>(getDeclContext()); in getParent() 3820 class RecordDecl : public TagDecl { 3849 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, 3851 IdentifierInfo *Id, RecordDecl *PrevDecl); 3854 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC, 3856 IdentifierInfo *Id, RecordDecl* PrevDecl = nullptr); [all …]
|