Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp2825 QualType CurrentType = E->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
2838 CurrentType = in VisitOffsetOfExpr()
2839 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()
2843 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()
2852 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2872 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
2885 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2889 CurrentType = ON.getBase()->getType(); in VisitOffsetOfExpr()
2892 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp568 Type *CurrentType = IV->getType(); in getInsertIndex() local
570 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getInsertIndex()
572 CurrentType = ST->getElementType(I); in getInsertIndex()
573 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getInsertIndex()
575 CurrentType = AT->getElementType(); in getInsertIndex()
8039 Type *CurrentType = IV->getType(); in getAggregateSize() local
8041 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getAggregateSize()
8046 CurrentType = ST->getElementType(0); in getAggregateSize()
8047 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getAggregateSize()
8049 CurrentType = AT->getElementType(); in getAggregateSize()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp15196 QualType CurrentType = ArgTy; in BuildBuiltinOffsetOf() local
15202 if (!CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
15206 << CurrentType); in BuildBuiltinOffsetOf()
15207 CurrentType = AT->getElementType(); in BuildBuiltinOffsetOf()
15209 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
15231 if (CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
15235 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
15240 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
15245 const RecordType *RC = CurrentType->getAs<RecordType>(); in BuildBuiltinOffsetOf()
15248 << CurrentType); in BuildBuiltinOffsetOf()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp13072 QualType CurrentType = OOE->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
13081 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
13084 CurrentType = AT->getElementType(); in VisitOffsetOfExpr()
13085 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()
13092 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
13101 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
13114 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
13122 CurrentType = BaseSpec->getType(); in VisitOffsetOfExpr()
13123 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()