Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp35 CurrentType = nullptr; in createElement()
64 return CurrentType; in createElement()
69 return CurrentType; in createElement()
72 return CurrentType; in createElement()
76 return CurrentType; in createElement()
80 return CurrentType; in createElement()
85 return CurrentType; in createElement()
90 return CurrentType; in createElement()
95 return CurrentType; in createElement()
100 return CurrentType; in createElement()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVELFReader.h46 LVType *CurrentType = nullptr; variable
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp2946 QualType CurrentType = E->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
2959 CurrentType = in VisitOffsetOfExpr()
2960 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()
2964 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()
2973 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2993 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
3006 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
3010 CurrentType = ON.getBase()->getType(); in VisitOffsetOfExpr()
3013 auto *BaseRT = CurrentType->castAs<RecordType>(); in VisitOffsetOfExpr()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp307 Type *CurrentType = IV->getType(); in getInsertIndex() local
309 if (const auto *ST = dyn_cast<StructType>(CurrentType)) { in getInsertIndex()
311 CurrentType = ST->getElementType(I); in getInsertIndex()
312 } else if (const auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getInsertIndex()
314 CurrentType = AT->getElementType(); in getInsertIndex()
12990 Type *CurrentType = IV->getType(); in getAggregateSize() local
12992 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getAggregateSize()
12997 CurrentType = ST->getElementType(0); in getAggregateSize()
12998 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getAggregateSize()
13000 CurrentType = AT->getElementType(); in getAggregateSize()
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp16232 QualType CurrentType = ArgTy; in BuildBuiltinOffsetOf() local
16238 if (!CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
16242 << CurrentType); in BuildBuiltinOffsetOf()
16243 CurrentType = AT->getElementType(); in BuildBuiltinOffsetOf()
16245 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
16267 if (CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
16271 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
16276 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
16281 const RecordType *RC = CurrentType->getAs<RecordType>(); in BuildBuiltinOffsetOf()
16284 << CurrentType); in BuildBuiltinOffsetOf()
[all …]
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp13420 QualType CurrentType = OOE->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
13429 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
13432 CurrentType = AT->getElementType(); in VisitOffsetOfExpr()
13433 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()
13440 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
13449 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
13462 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
13470 CurrentType = BaseSpec->getType(); in VisitOffsetOfExpr()
13471 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()