Home
last modified time | relevance | path

Searched refs:CurrentType (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp35 std::string CurrentType; in LayoutOverrideSource() local
48 if (!CurrentType.empty()) in LayoutOverrideSource()
49 Layouts[CurrentType] = CurrentLayout; in LayoutOverrideSource()
71 CurrentType = parseName(LineStr); in LayoutOverrideSource()
150 if (!CurrentType.empty()) in LayoutOverrideSource()
151 Layouts[CurrentType] = CurrentLayout; in LayoutOverrideSource()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp2888 QualType CurrentType = E->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
2901 CurrentType = in VisitOffsetOfExpr()
2902 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()
2906 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()
2915 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2935 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
2948 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2952 CurrentType = ON.getBase()->getType(); in VisitOffsetOfExpr()
2955 auto *BaseRT = CurrentType->castAs<RecordType>(); in VisitOffsetOfExpr()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp756 Type *CurrentType = IV->getType(); in getInsertIndex() local
758 if (const auto *ST = dyn_cast<StructType>(CurrentType)) { in getInsertIndex()
760 CurrentType = ST->getElementType(I); in getInsertIndex()
761 } else if (const auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getInsertIndex()
763 CurrentType = AT->getElementType(); in getInsertIndex()
11504 Type *CurrentType = IV->getType(); in getAggregateSize() local
11506 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getAggregateSize()
11511 CurrentType = ST->getElementType(0); in getAggregateSize()
11512 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getAggregateSize()
11514 CurrentType = AT->getElementType(); in getAggregateSize()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp15964 QualType CurrentType = ArgTy; in BuildBuiltinOffsetOf() local
15970 if (!CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
15974 << CurrentType); in BuildBuiltinOffsetOf()
15975 CurrentType = AT->getElementType(); in BuildBuiltinOffsetOf()
15977 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
15999 if (CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
16003 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
16008 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
16013 const RecordType *RC = CurrentType->getAs<RecordType>(); in BuildBuiltinOffsetOf()
16016 << CurrentType); in BuildBuiltinOffsetOf()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp13300 QualType CurrentType = OOE->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
13309 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
13312 CurrentType = AT->getElementType(); in VisitOffsetOfExpr()
13313 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()
13320 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
13329 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
13342 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
13350 CurrentType = BaseSpec->getType(); in VisitOffsetOfExpr()
13351 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()