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

1234567

/netbsd-current/external/apache2/llvm/dist/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());
H A DProgram.cpp207 Record *Program::getOrCreateRecord(const RecordDecl *RD) {
225 auto GetBaseDesc = [this](const RecordDecl *BD, Record *BR) -> Descriptor * {
241 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl();
253 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp78 } else if (const auto *RecordDecl = dyn_cast<CXXRecordDecl>(FoundDecl)) {
79 handleCXXRecordDecl(RecordDecl);
116 void handleCXXRecordDecl(const CXXRecordDecl *RecordDecl) { argument
117 if (!RecordDecl->getDefinition()) {
118 USRSet.insert(getUSRForDecl(RecordDecl));
121 RecordDecl = RecordDecl->getDefinition();
123 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl))
125 addUSRsOfCtorDtors(RecordDecl);
159 const auto* RecordDecl local
[all...]
/netbsd-current/external/mit/isl/dist/interface/
H A Dcpp_conversion.h10 set<RecordDecl *> &exported_types,
H A Dgenerator.h84 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-current/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DLayoutOverrideSource.h50 layoutRecordType(const RecordDecl *Record,
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp58 bool VisitRecordDecl(const RecordDecl *RD) {
68 void visitRecordDecl(const RecordDecl *RD) const {
88 bool shouldSkipDecl(const RecordDecl *RD) const {
124 const RecordDecl *ClassCXXRD) const {
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTStructuralEquivalence.h30 class RecordDecl;
118 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) {}
/netbsd-current/external/apache2/llvm/dist/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 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 DCGRecordLayoutBuilder.cpp95 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, bool Packed);
170 bool isZeroInitializable(const RecordDecl *RD) {
187 void accumulateBitFields(RecordDecl::field_iterator Field,
188 RecordDecl::field_iterator FieldEnd);
209 const RecordDecl *D;
230 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D,
373 for (RecordDecl::field_iterator Field = D->field_begin(),
377 RecordDecl::field_iterator Start = Field;
393 CGRecordLowering::accumulateBitFields(RecordDecl::field_iterator Field,
394 RecordDecl
[all...]
H A DCodeGenTypes.cpp48 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD,
121 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked);
128 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, argument
129 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
170 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
193 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) {
197 llvm::SmallPtrSet<const RecordDecl*, 16> AlreadyChecked;
274 // If we completed a RecordDecl that we previously used and converted to an
276 const RecordDecl *RD = cast<RecordDecl>(T
169 isSafeToConvert(QualType T, CodeGenTypes &CGT, llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) argument
[all...]
H A DCGOpenMPRuntimeGPU.h463 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 DCGDebugInfo.h299 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 *R
[all...]
H A DCodeGenTBAA.cpp101 const RecordDecl *RD = TTy->getDecl()->getDefinition();
284 const RecordDecl *RD = TTy->getDecl()->getDefinition();
296 for (RecordDecl::field_iterator i = RD->field_begin(),
336 const RecordDecl *RD = TTy->getDecl()->getDefinition();
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp56 const RecordDecl *RD = RT->getDecl();
57 RecordDecl::field_iterator Iter(RD->field_begin());
58 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,
306 const RecordDecl *RD, CharUnits BaselinePad, CharUnits OptimalPad,
H A DSmartPtrModeling.cpp93 const auto *RecordDecl = MethodDecl->getParent(); local
94 if (!RecordDecl || !RecordDecl->getDeclContext()->isStdNamespace())
97 if (RecordDecl->getDeclName().isIdentifier()) {
98 StringRef Name = RecordDecl->getName();
145 const auto *RecordDecl = MethodDecl->getParent(); local
146 if (!RecordDecl || !RecordDecl->isInStdNamespace())
149 const auto *TSD = dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl);
/netbsd-current/external/apache2/llvm/dist/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);
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DExternalASTSource.cpp64 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp183 if (const auto *RecordDecl = Type->getAsCXXRecordDecl()) {
185 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl);
966 static long long visitRecordForValidation(const RecordDecl *RD) {
975 if (const RecordDecl *Child = ChildType->getDecl()) {
989 const RecordDecl *RD =
990 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
1024 const RecordDecl *RD =
1025 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
1028 RecordDecl::lookup_result Res = RD->lookup(FieldName);
1234 const RecordDecl *R
[all...]

Completed in 406 milliseconds

1234567