Home
last modified time | relevance | path

Searched refs:RecordType (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DCXXInheritance.cpp159 const RecordType *Ty = I.getType()->getAs<RecordType>(); in forallBases()
227 DetectedVirtual = BaseType->getAs<RecordType>(); in lookupInBases()
370 if (const RecordType *Record = PE.Base->getType()->getAs<RecordType>()) in lookupInBases()
381 if (const RecordType *Record = in lookupInBases()
402 return Specifier->getType()->castAs<RecordType>()->getDecl() in FindBaseClass()
420 Specifier->getType()->castAs<RecordType>()->getDecl(); in FindTagMember()
450 Specifier->getType()->castAs<RecordType>()->getDecl(); in FindOrdinaryMember()
460 auto *RT = Specifier->getType()->getAs<RecordType>(); in FindOrdinaryMemberInDependentClasses()
479 Specifier->getType()->castAs<RecordType>()->getDecl(); in FindOMPReductionMember()
495 Specifier->getType()->castAs<RecordType>()->getDecl(); in FindNestedNameSpecifierMember()
[all …]
H A DVTTBuilder.cpp69 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); in LayoutSecondaryVTTs()
95 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); in LayoutSecondaryVirtualPointers()
159 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); in LayoutVirtualVTTs()
H A DType.cpp77 ND = ty->getAs<RecordType>()->getDecl(); in getBaseTypeIdentifier()
438 if (const auto *RT = getAs<RecordType>()) in isClassType()
444 if (const auto *RT = getAs<RecordType>()) in isStructureType()
450 if (const auto *RT = getAs<RecordType>()) in isObjCBoxableRecordType()
456 if (const auto *RT = getAs<RecordType>()) in isInterfaceType()
462 if (const auto *RT = getAs<RecordType>()) { in isStructureOrClassType()
476 if (const auto *RT = getAs<RecordType>()) in isUnionType()
521 const RecordType *Type::getAsStructureType() const { in getAsStructureType()
540 const RecordType *Type::getAsUnionType() const { in getAsUnionType()
3174 bool RecordType::hasConstFields() const { in hasConstFields()
[all …]
H A DDeclarationName.cpp125 if (const RecordType *ClassRec = ClassType->getAs<RecordType>()) { in printCXXConstructorDestructorName()
188 if (const RecordType *Rec = Type->getAs<RecordType>()) { in print()
H A DItaniumCXXABI.cpp44 const RecordType *RT = VD.getType()->getAs<RecordType>(); in findAnonymousUnionVarDeclName()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/DIA/
H A DDIADataStream.cpp28 llvm::Optional<DIADataStream::RecordType>
30 RecordType Record; in getItemAtIndex()
34 return llvm::Optional<RecordType>(); in getItemAtIndex()
38 return llvm::Optional<RecordType>(); in getItemAtIndex()
42 bool DIADataStream::getNext(RecordType &Record) { in getNext()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBDataStream.h26 using RecordType = SmallVector<uint8_t, 32>;
32 virtual Optional<RecordType> getItemAtIndex(uint32_t Index) const = 0;
33 virtual bool getNext(RecordType &Record) = 0;
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp139 if (!isSafeToConvert(I.getType()->getAs<RecordType>()->getDecl(), in isSafeToConvert()
165 if (const auto *RT = T->getAs<RecordType>()) in isSafeToConvert()
210 const RecordType *RT = dyn_cast<RecordType>(TT); in isFuncParamTypeConvertible()
325 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>()) in ConvertFunctionType()
329 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionType()
389 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) in ConvertType()
732 ConvertRecordDeclType(I.getType()->getAs<RecordType>()->getDecl()); in ConvertRecordDeclType()
797 if (const RecordType *RT = T->getAs<RecordType>()) { in isZeroInitializable()
H A DCodeGenTBAA.cpp100 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in isValidBaseType()
246 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in CollectFields()
296 if (auto *TTy = dyn_cast<RecordType>(Ty)) { in getBaseTypeInfoHelper()
H A DCGCXX.cpp84 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); in TryEmitBaseDestructorAsAlias()
295 const RecordType *RT = T->getAs<RecordType>(); in BuildAppleKextVirtualCall()
H A DCGExprAgg.cpp230 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection()
393 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl(); in VisitCXXStdInitializerListExpr()
1424 RecordDecl *record = E->getType()->castAs<RecordType>()->getDecl(); in VisitInitListExpr()
1689 if (const RecordType *RT = E->getType()->getAs<RecordType>()) { in GetNumNonZeroBytesInInit()
1691 RecordDecl *SD = E->getType()->getAs<RecordType>()->getDecl(); in GetNumNonZeroBytesInInit()
1741 if (const RecordType *RT = CGF.getContext() in CheckAggExprForMemSetUse()
1742 .getBaseElementType(E->getType())->getAs<RecordType>()) { in CheckAggExprForMemSetUse()
1832 if (const RecordType *RT = Ty->getAs<RecordType>()) { in EmitAggregateCopy()
1904 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy()
1913 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy()
H A DTargetInfo.cpp153 const RecordType *RT = T->getAs<RecordType>(); in getRecordArgABI()
491 const RecordType *RT = FT->getAs<RecordType>(); in isEmptyField()
509 const RecordType *RT = T->getAs<RecordType>(); in isEmptyRecord()
537 const RecordType *RT = T->getAs<RecordType>(); in isSingleElementStruct()
1261 const RecordType *RT = Ty->getAs<RecordType>(); in shouldReturnTypeInRegister()
1335 const RecordType *RT = Ty->getAs<RecordType>(); in canExpandIndirectArgument()
1463 const RecordType *RT = Ty->getAs<RecordType>(); in isRecordWithSSEVectorType()
1633 const RecordType *RT = Ty->getAs<RecordType>(); in classifyArgumentType()
3916 const RecordType *RT = Ty->getAs<RecordType>(); in classify()
5981 const RecordType *RT = Ty->getAs<RecordType>(); in isIntegerLikeType()
[all …]
H A DCGDebugInfo.h161 llvm::DIType *CreateType(const RecordType *Tyg);
162 llvm::DIType *CreateTypeDefinition(const RecordType *Ty);
163 llvm::DICompositeType *CreateLimitedType(const RecordType *Ty);
525 llvm::DICompositeType *getOrCreateRecordFwdDecl(const RecordType *,
565 llvm::DICompositeType *getOrCreateLimitedType(const RecordType *Ty,
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp31 const RecordType *RT = T->getAs<RecordType>(); in IsLLVMStringRef()
204 if (const RecordType *baseT = T->getAs<RecordType>()) { in IsPartOfAST()
250 if (const RecordType *RT = T->getAs<RecordType>()) { in Visit()
H A DCastSizeChecker.cpp51 const RecordType *RT = ToPointeeTy->getAs<RecordType>(); in evenFlexibleArraySize()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h95 template <typename RecordType>
96 Error visitKnownRecordImpl(CVType &CVR, RecordType &Record) { in visitKnownRecordImpl()
147 template <typename RecordType>
148 Error visitKnownMemberImpl(CVMemberRecord &CVR, RecordType &Record) { in visitKnownMemberImpl()
H A DContinuationRecordBuilder.h58 template <typename RecordType> void writeMemberType(RecordType &Record);
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIADataStream.h24 llvm::Optional<RecordType> getItemAtIndex(uint32_t Index) const override;
25 bool getNext(RecordType &Record) override;
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DTrace.cpp73 auto RecordType = Reader.getU16(&OffsetPtr); in loadNaiveFormatLog() local
79 switch (RecordType) { in loadNaiveFormatLog()
83 Record.RecordType = RecordType; in loadNaiveFormatLog()
198 "Unknown record type '%d' at offset %d.", RecordType, OffsetPtr); in loadNaiveFormatLog()
366 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog()
/freebsd-12.1/contrib/compiler-rt/include/xray/
H A Dxray_records.h77 uint16_t RecordType = RecordTypes::NORMAL; member
110 uint16_t RecordType = RecordTypes::ARG_PAYLOAD; member
/freebsd-12.1/contrib/llvm/include/llvm/XRay/
H A DYAMLXRayRecord.h33 uint16_t RecordType; member
79 IO.mapRequired("type", Record.RecordType);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmtAsm.cpp752 const RecordType *RT = nullptr; in LookupInlineAsmField()
754 RT = VD->getType()->getAs<RecordType>(); in LookupInlineAsmField()
761 RT = QT->getAs<RecordType>(); in LookupInlineAsmField()
763 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
765 RT = TD->getType()->getAs<RecordType>(); in LookupInlineAsmField()
812 const RecordType *RT = T->getAs<RecordType>(); in LookupInlineAsmVarDeclField()
H A DSemaAccess.cpp303 if (const RecordType *RT = T->getAs<RecordType>()) { in IsDerivedFromInclusive()
427 if (const RecordType *RT = Friend->getAs<RecordType>()) in MatchesFriend()
656 if (const RecordType *RT = T->getAs<RecordType>()) { in findFriendship()
1757 const RecordType *RT = ObjectExpr->getType()->castAs<RecordType>(); in CheckMemberOperatorAccess()
1839 BaseD = cast<CXXRecordDecl>(Base->getAs<RecordType>()->getDecl()); in CheckBaseClassAccess()
1840 DerivedD = cast<CXXRecordDecl>(Derived->getAs<RecordType>()->getDecl()); in CheckBaseClassAccess()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCXXInheritance.h147 const RecordType *DetectedVirtual = nullptr;
223 const RecordType* getDetectedVirtual() const { in getDetectedVirtual()
/freebsd-12.1/contrib/llvm/tools/llvm-xray/
H A Dxray-converter.cpp91 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId, in exportAsYAML()
129 Writer.write(R.RecordType); in exportAsRAWv1()
134 Writer.write(R.RecordType); in exportAsRAWv1()
139 Writer.write(R.RecordType); in exportAsRAWv1()

12345