Searched refs:RecordDecl (Results 1 - 25 of 150) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.h34 const RecordDecl *Decl;
49 const RecordDecl *getDecl() const { return Decl; }
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 DRecord.cpp14 Record::Record(const RecordDecl *Decl, BaseList &&SrcBases,
36 const Record::Base *Record::getBase(const RecordDecl *FD) const {
42 const Record::Base *Record::getVirtualBase(const RecordDecl *FD) const {
H A DProgram.h29 class RecordDecl;
98 Record *getOrCreateRecord(const RecordDecl *RD);
182 llvm::DenseMap<const RecordDecl *, Record *> Records;
H A DDescriptor.h123 const RecordDecl *asRecordDecl() const {
124 return dyn_cast_or_null<RecordDecl>(asDecl());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp78 } else if (const auto *RecordDecl = dyn_cast<CXXRecordDecl>(FoundDecl)) {
79 handleCXXRecordDecl(RecordDecl);
106 void handleCXXRecordDecl(const CXXRecordDecl *RecordDecl) { argument
107 if (!RecordDecl->getDefinition()) {
108 USRSet.insert(getUSRForDecl(RecordDecl));
111 RecordDecl = RecordDecl->getDefinition();
113 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl))
115 addUSRsOfCtorDtors(RecordDecl);
129 void addUSRsOfCtorDtors(const CXXRecordDecl *RecordDecl) { argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DLayoutOverrideSource.h50 layoutRecordType(const RecordDecl *Record,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTStructuralEquivalence.h30 class RecordDecl;
111 findUntaggedStructOrUnionIndex(RecordDecl *Anon);
H A DASTMutationListener.h36 class RecordDecl;
142 /// An attribute was added to a RecordDecl
146 /// \param Record The RecordDecl that got a new attribute
148 const RecordDecl *Record) {}
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h43 class RecordDecl;
80 /// Contains the LLVM IR type for any converted RecordDecl.
98 SmallVector<const RecordDecl *, 8> DeferredRecords;
160 const CGRecordLayout &getCGRecordLayout(const RecordDecl*);
275 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 DCGRecordLayoutBuilder.cpp95 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, bool Packed);
157 bool isZeroInitializable(const RecordDecl *RD) {
174 void accumulateBitFields(RecordDecl::field_iterator Field,
175 RecordDecl::field_iterator FieldEnd);
195 const RecordDecl *D;
216 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D,
348 for (RecordDecl::field_iterator Field = D->field_begin(),
352 RecordDecl::field_iterator Start = Field;
368 CGRecordLowering::accumulateBitFields(RecordDecl::field_iterator Field,
369 RecordDecl
[all...]
H A DCodeGenTypes.cpp50 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD,
109 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked);
116 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, argument
117 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
158 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
181 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) {
185 llvm::SmallPtrSet<const RecordDecl*, 16> AlreadyChecked;
262 // If we completed a RecordDecl that we previously used and converted to an
264 const RecordDecl *RD = cast<RecordDecl>(T
157 isSafeToConvert(QualType T, CodeGenTypes &CGT, llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) argument
[all...]
H A DCodeGenABITypes.cpp83 const RecordDecl *RD,
H A DCGOpenMPRuntimeNVPTX.h461 const RecordDecl *GlobalRecord = nullptr;
462 llvm::Optional<const RecordDecl *> SecondaryGlobalRecord = llvm::None;
480 llvm::SmallVector<const RecordDecl *, 2> Records;
489 llvm::SmallVector<const RecordDecl *, 4> TeamsReductions;
H A DCGDebugInfo.h285 const RecordDecl *RD = nullptr);
291 const RecordDecl *RD = nullptr) {
299 const RecordDecl *RD);
308 const RecordDecl *RD);
312 llvm::DIType *RecordTy, const RecordDecl *RD);
315 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile *F,
513 void completeType(const RecordDecl *RD);
514 void completeRequiredType(const RecordDecl *RD);
515 void completeClassData(const RecordDecl *RD);
516 void completeClass(const RecordDecl *R
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp54 const RecordDecl *RD = RT->getDecl();
55 RecordDecl::field_iterator Iter(RD->field_begin());
56 RecordDecl::field_iterator End(RD->field_end());
H A DLLVMConventionsChecker.cpp65 static bool IsClangType(const RecordDecl *RD) {
69 static bool IsClangDecl(const RecordDecl *RD) {
73 static bool IsClangStmt(const RecordDecl *RD) {
77 static bool IsClangAttr(const RecordDecl *RD) {
250 const RecordDecl *RD = RT->getDecl()->getDefinition();
H A DPaddingChecker.cpp53 bool VisitRecordDecl(const RecordDecl *RD) {
72 void visitRecord(const RecordDecl *RD, uint64_t PadMultiplier = 1) const {
131 bool shouldSkipDecl(const RecordDecl *RD) const {
190 static CharUnits calculateBaselinePad(const RecordDecl *RD,
227 calculateOptimalPad(const RecordDecl *RD, const ASTContext &ASTContext,
305 const RecordDecl *RD, CharUnits BaselinePad, CharUnits OptimalPad,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp60 RecordDecl *struct_decl = nullptr;
73 RecordDecl *candidate_record_decl = dyn_cast<RecordDecl>(candidate_decl);
115 RecordDecl::decl_iterator decl_iterator;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DClangExternalASTSourceCallbacks.h33 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
H A DClangASTImporter.h59 /// Sets the layout for the given RecordDecl. The layout will later be
61 /// a RecordDecl will cause that Clang's codegen tries to layout the
64 /// \param decl The RecordDecl to set the layout for.
66 void SetRecordLayout(clang::RecordDecl *decl, const LayoutInfo &layout);
69 const clang::RecordDecl *record_decl, uint64_t &bit_size,
320 typedef llvm::DenseMap<const clang::RecordDecl *, LayoutInfo>
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h64 void addTypedData(const RecordDecl *record, CharUnits begin);
65 void addTypedData(const RecordDecl *record, CharUnits begin,
165 bool mustPassRecordIndirectly(CodeGenModule &CGM, const RecordDecl *record);
H A DCodeGenABITypes.h85 const RecordDecl *RD, const FieldDecl *FD);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangExternalASTSourceCallbacks.cpp26 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp692 void Layout(const RecordDecl *D);
696 void LayoutFields(const RecordDecl *D);
1257 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) {
1286 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D))
1304 void ItaniumRecordLayoutBuilder::Layout(const RecordDecl *D) {
1375 void ItaniumRecordLayoutBuilder::LayoutFields(const RecordDecl *D) {
1958 if (const RecordDecl *RD = dyn_cast<RecordDecl>(
[all...]
H A DCXXInheritance.cpp418 RecordDecl *BaseRecord =
431 static bool findOrdinaryMember(RecordDecl *BaseRecord, CXXBasePath &Path,
448 RecordDecl *BaseRecord =
477 RecordDecl *BaseRecord =
492 RecordDecl *BaseRecord =
508 RecordDecl *BaseRecord =

Completed in 309 milliseconds

123456