Searched refs:RecordType (Results 26 - 50 of 145) sorted by relevance

123456

/openbsd-current/gnu/llvm/clang/lib/AST/
H A DDeclarationName.cpp119 if (const RecordType *ClassRec = ClassType->getAs<RecordType>()) {
188 if (const RecordType *Rec = Type->getAs<RecordType>()) {
H A DType.cpp79 ND = ty->castAs<RecordType>()->getDecl();
562 if (const auto *RT = getAs<RecordType>())
568 if (const auto *RT = getAs<RecordType>())
574 if (const auto *RT = getAs<RecordType>())
580 if (const auto *RT = getAs<RecordType>())
586 if (const auto *RT = getAs<RecordType>()) {
600 if (const auto *RT = getAs<RecordType>())
645 const RecordType *Type::getAsStructureType() const {
647 if (const auto *RT = dyn_cast<RecordType>(this)) {
653 if (const auto *RT = dyn_cast<RecordType>(CanonicalTyp
[all...]
H A DItaniumCXXABI.cpp46 const RecordType *RT = VD.getType()->getAs<RecordType>();
47 assert(RT && "type of VarDecl is expected to be RecordType.");
48 assert(RT->getDecl()->isUnion() && "RecordType is expected to be a union.");
H A DASTImporterLookupTable.cpp30 if (const auto *RTy = dyn_cast<RecordType>(Ty)) {
59 if (const auto *RTy = dyn_cast<RecordType>(Ty))
H A DQualTypeNames.cpp151 } else if (const auto *TSTRecord = dyn_cast<const RecordType>(TypePtr)) {
363 isa<const RecordType>(TypePtr)) {
465 isa<const RecordType>(QT.getTypePtr())) {
/openbsd-current/gnu/llvm/llvm/tools/llvm-xray/
H A Dxray-converter.cpp94 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId,
132 Writer.write(R.RecordType);
137 Writer.write(R.RecordType);
142 Writer.write(R.RecordType);
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DContinuationRecordBuilder.cpp77 template <typename RecordType>
78 void ContinuationRecordBuilder::writeMemberType(RecordType &Record) {
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaStmtAsm.cpp844 const RecordType *RT = nullptr;
846 RT = VD->getType()->getAs<RecordType>();
853 RT = QT->getAs<RecordType>();
855 RT = TD->getTypeForDecl()->getAs<RecordType>();
857 RT = TD->getType()->getAs<RecordType>();
904 const RecordType *RT = T->getAs<RecordType>();
H A DSemaAccess.cpp315 if (const RecordType *RT = T->getAs<RecordType>()) {
439 if (const RecordType *RT = Friend->getAs<RecordType>())
668 if (const RecordType *RT = T->getAs<RecordType>()) {
1774 const RecordType *RT = ObjectExpr->getType()->castAs<RecordType>();
1878 BaseD = cast<CXXRecordDecl>(Base->castAs<RecordType>()->getDecl());
1879 DerivedD = cast<CXXRecordDecl>(Derived->castAs<RecordType>()
[all...]
H A DSemaCXXScopeSpec.cpp33 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) {
131 } else if (const RecordType *RecordT = NNSType->getAs<RecordType>()) {
751 } else if (isa<RecordType>(T)) {
H A DSemaCUDA.cpp362 const RecordType *BaseType = B->getType()->getAs<RecordType>();
403 const RecordType *FieldType =
404 Context.getBaseElementType(F->getType())->getAs<RecordType>();
/openbsd-current/gnu/llvm/clang/lib/AST/Interp/
H A DProgram.cpp256 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl();
268 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl();
316 if (auto *RT = Ty->getAs<RecordType>()) {
/openbsd-current/gnu/llvm/llvm/lib/XRay/
H A DFDRTraceExpander.cpp76 CurrentRecord.RecordType = R.eventType();
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp123 const RecordType *RT = ArrTy->getElementType()->getAs<RecordType>();
H A DNonNullParamChecker.cpp149 const RecordType *UT = T->getAsUnionType();
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGExprAgg.cpp258 const RecordType *RecordTy = T->getAs<RecordType>();
418 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl();
1669 RecordDecl *record = ExprToVisit->getType()->castAs<RecordType>()->getDecl();
1941 if (const RecordType *RT = E->getType()->getAs<RecordType>()) {
1993 if (const RecordType *RT = CGF.getContext()
1994 .getBaseElementType(E->getType())->getAs<RecordType>()) {
2101 if (const RecordType *RT = Ty->getAs<RecordType>()) {
[all...]
H A DCGDebugInfo.h192 llvm::DIType *CreateType(const RecordType *Tyg);
193 llvm::DIType *CreateTypeDefinition(const RecordType *Ty);
194 llvm::DICompositeType *CreateLimitedType(const RecordType *Ty);
622 /// Create a forward decl for a RecordType in a given context.
623 llvm::DICompositeType *getOrCreateRecordFwdDecl(const RecordType *,
662 llvm::DICompositeType *getOrCreateLimitedType(const RecordType *Ty);
H A DItaniumCXXABI.cpp585 cast<CXXRecordDecl>(MPT->getClass()->castAs<RecordType>()->getDecl());
1214 cast<CXXRecordDecl>(ElementType->castAs<RecordType>()->getDecl());
1299 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) {
1419 cast<CXXRecordDecl>(SrcRecordTy->castAs<RecordType>()->getDecl());
1495 cast<CXXRecordDecl>(SrcRecordTy->castAs<RecordType>()->getDecl());
3379 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) {
3413 static bool IsIncompleteClassType(const RecordType *RecordTy) {
3429 if (const RecordType *RecordT
[all...]
H A DCGCXXABI.cpp50 cast<CXXRecordDecl>(MPT->getClass()->castAs<RecordType>()->getDecl());
163 if (T->getAs<RecordType>() && T->isIncompleteType())
H A DTargetInfo.cpp167 static CGCXXABI::RecordArgABI getRecordArgABI(const RecordType *RT,
180 const RecordType *RT = T->getAs<RecordType>();
190 if (const auto *RT = Ty->getAs<RecordType>())
203 if (const RecordType *UT = Ty->getAsUnionType()) {
575 const RecordType *RT = FT->getAs<RecordType>();
600 const RecordType *RT = T->getAs<RecordType>();
628 const RecordType *R
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp236 R.RecordType = RecordTypes::NORMAL;
285 R.RecordType = RecordTypes::ARG_PAYLOAD;
/openbsd-current/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp160 specifier->getType()->castAs<clang::RecordType>()->getDecl())) {
1820 base_class->getType()->getAs<RecordType>()->getDecl());
2683 return llvm::cast<clang::RecordType>(qual_type)->getDecl();
2862 if (const clang::RecordType *record_type =
2863 llvm::dyn_cast_or_null<clang::RecordType>(
3089 const clang::RecordType *record_type =
3090 llvm::cast<clang::RecordType>(qual_type.getTypePtr());
3555 const clang::RecordType *record_type =
3556 llvm::cast<clang::RecordType>(qual_type.getTypePtr());
4208 const clang::RecordType *record_typ
[all...]
/openbsd-current/gnu/llvm/clang/utils/ABITest/
H A DABITestGen.py219 elif isinstance(t, RecordType):
261 if isinstance(t, RecordType):
294 elif isinstance(t, RecordType):
324 elif isinstance(t, RecordType):
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DAbstractBasicReader.h197 if (elemTy->template getAs<RecordType>()) {
H A DAbstractBasicWriter.h180 if (elemTy->getAs<RecordType>()) {

Completed in 537 milliseconds

123456