Home
last modified time | relevance | path

Searched refs:FieldType (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBlocks.h172 QualType FieldType; variable
201 return FieldType; in fieldType()
205 makeIndex(unsigned index, CharUnits offset, QualType FieldType, in makeIndex() argument
212 v.FieldType = FieldType; in makeIndex()
H A DCGRecordLayoutBuilder.cpp324 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() local
325 if (LayoutSize < getSize(FieldType)) in lowerUnion()
326 FieldType = getByteArrayType(LayoutSize); in lowerUnion()
327 setBitFieldInfo(Field, CharUnits::Zero(), FieldType); in lowerUnion()
330 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() local
344 StorageType = FieldType; in lowerUnion()
353 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion()
354 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion()
355 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
356 StorageType = FieldType; in lowerUnion()
H A DCGClass.cpp640 QualType FieldType = Field->getType(); in EmitMemberInitializer() local
661 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
682 CGF.pushEHDestroy(dtorKind, LHS.getAddress(CGF), FieldType); in EmitMemberInitializer()
692 QualType FieldType = Field->getType(); in EmitInitializerForField() local
693 switch (getEvaluationKind(FieldType)) { in EmitInitializerForField()
719 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField()
721 pushEHDestroy(dtorKind, LHS.getAddress(*this), FieldType); in EmitInitializerForField()
1062 QualType FieldType = Field->getType(); in isMemberInitMemcpyable() local
1067 !(FieldType.isTriviallyCopyableType(CGF.getContext()) || in isMemberInitMemcpyable()
1068 FieldType->isReferenceType())) in isMemberInitMemcpyable()
[all …]
H A DCGExpr.cpp4421 QualType FieldType = field->getType(); in EmitLValueForField() local
4451 FieldTBAAInfo.AccessType = CGM.getTBAATypeInfo(FieldType); in EmitLValueForField()
4453 getContext().getTypeSizeInChars(FieldType).getQuantity(); in EmitLValueForField()
4473 hasAnyVptr(FieldType, getContext())) in EmitLValueForField()
4489 if (FieldType->isReferenceType()) in EmitLValueForField()
4503 if (FieldType->isReferenceType()) { in EmitLValueForField()
4512 FieldType = FieldType->getPointeeType(); in EmitLValueForField()
4538 QualType FieldType = Field->getType(); in EmitLValueForFieldInitialization() local
4540 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
4546 llvm::Type *llvmType = ConvertTypeForMem(FieldType); in EmitLValueForFieldInitialization()
[all …]
H A DCGBlocks.cpp330 QualType FieldType; member
341 FieldType(fieldType), CopyKind(CopyKind), DisposeKind(DisposeKind), in BlockLayoutChunk()
351 index, offset, FieldType, CopyKind, CopyFlags, DisposeKind, in setIndex()
H A DCGDebugInfo.cpp1504 llvm::DIType *FieldType = createFieldType( in CollectRecordLambdaFields() local
1507 elements.push_back(FieldType); in CollectRecordLambdaFields()
1566 llvm::DIType *FieldType; in CollectRecordNormalField() local
1568 FieldType = createBitFieldType(field, RecordTy, RD); in CollectRecordNormalField()
1572 FieldType = in CollectRecordNormalField()
1577 elements.push_back(FieldType); in CollectRecordNormalField()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAllDiagnostics.h30 template <size_t SizeOfStr, typename FieldType>
32 static_assert(SizeOfStr <= FieldType(~0U), "Field too small!");
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp499 QualType FieldType = Field->getType(); in createValueUnlessSelfReferential() local
500 if (Visited.contains(FieldType.getCanonicalType())) in createValueUnlessSelfReferential()
503 Visited.insert(FieldType.getCanonicalType()); in createValueUnlessSelfReferential()
505 FieldType, Visited, Depth + 1, CreatedValuesCount)) in createValueUnlessSelfReferential()
507 Visited.erase(FieldType.getCanonicalType()); in createValueUnlessSelfReferential()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp572 TBAAStructTypeNode FieldType) { in hasField() argument
575 if (T == FieldType || hasField(T, FieldType)) in hasField()
644 TBAAStructTypeNode FieldType(SubobjectTag.getBaseType()); in mayBeAccessToSubobjectOf() local
645 if (hasField(BaseType, FieldType)) { in mayBeAccessToSubobjectOf()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h239 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity() argument
240 : Kind(EK_LambdaCapture), Type(FieldType) { in InitializedEntity()
413 QualType FieldType, in InitializeLambdaCapture() argument
415 return InitializedEntity(VarID, FieldType, Loc); in InitializeLambdaCapture()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp68 ty.isa<ShiftType>() || ty.isa<SliceType>() || ty.isa<FieldType>() || in verifyRecordMemberType()
372 SliceType, FieldType, LenType, HeapType, PointerType, in cannotBePointerOrHeapElementType()
727 if (eleTy.isa<ShapeType, ShapeShiftType, SliceType, FieldType, LenType, in verify()
819 ShiftType, SliceType, FieldType, LenType, HeapType, PointerType, in verify()
892 ShiftType, SliceType, FieldType, LenType, ReferenceType, in verify()
974 FieldType, HeapType, fir::IntegerType, LenType, LogicalType, in registerTypes()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h1731 template <typename Class, typename FieldType>
1734 FieldMatcher(FieldType Class::*field,
1735 const Matcher<const FieldType&>& matcher)
1739 const Matcher<const FieldType&>& matcher)
1782 const FieldType Class::*field_;
1783 const Matcher<const FieldType&> matcher_;
3740 internal::FieldMatcher<Class, FieldType> > Field(
3741 FieldType Class::*field, const FieldMatcher& matcher) {
3743 internal::FieldMatcher<Class, FieldType>(
3744 field, MatcherCast<const FieldType&>(matcher)));
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCUDA.cpp404 const RecordType *FieldType = in inferCUDATargetForImplicitSpecialMember() local
406 if (!FieldType) { in inferCUDATargetForImplicitSpecialMember()
410 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(FieldType->getDecl()); in inferCUDATargetForImplicitSpecialMember()
H A DSemaLambda.cpp1703 QualType FieldType = Capture.getCaptureType(); in BuildCaptureField() local
1715 TSI = Context.getTrivialTypeSourceInfo(FieldType, Loc); in BuildCaptureField()
1720 /*Id=*/nullptr, FieldType, TSI, /*BW=*/nullptr, in BuildCaptureField()
1724 if (!FieldType->isDependentType()) { in BuildCaptureField()
1725 if (RequireCompleteSizedType(Loc, FieldType, in BuildCaptureField()
1731 FieldType->isIncompleteType(&Def); in BuildCaptureField()
H A DSemaDeclCXX.cpp5651 << FieldType); in MarkBaseAndMemberDestructorsReferenced()
7700 QualType FieldType = in visitSubobjects() local
9145 FieldDecl *FD, QualType FieldType) { in shouldDeleteForVariantObjCPtrMember() argument
9149 if (!FieldType.hasNonTrivialObjCLifetime()) in shouldDeleteForVariantObjCPtrMember()
9232 if (FieldType->isRValueReferenceType()) { in shouldDeleteForField()
9235 << MD->getParent() << FD << FieldType; in shouldDeleteForField()
9240 if (FieldType->isReferenceType()) { in shouldDeleteForField()
9726 if (FieldType.hasNonTrivialObjCLifetime()) { in checkTrivialClassMembers()
9729 << RD << FieldType.getObjCLifetime(); in checkTrivialClassMembers()
14600 if (FieldType->isIncompleteArrayType()) { in DefineImplicitCopyAssignment()
[all …]
H A DSemaDeclAttr.cpp4117 QualType FieldType = Field->getType(); in handleTransparentUnionAttr() local
4118 if (FieldType->isIncompleteType()) in handleTransparentUnionAttr()
4125 if (S.Context.getTypeSize(FieldType) != FirstSize || in handleTransparentUnionAttr()
4126 S.Context.getTypeAlign(FieldType) > FirstAlign) { in handleTransparentUnionAttr()
4128 bool isSize = S.Context.getTypeSize(FieldType) != FirstSize; in handleTransparentUnionAttr()
4129 unsigned FieldBits = isSize ? S.Context.getTypeSize(FieldType) in handleTransparentUnionAttr()
4130 : S.Context.getTypeAlign(FieldType); in handleTransparentUnionAttr()
/llvm-project-15.0.7/libc/spec/
H A Dspec.td9 Type FieldType = type;
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp2135 QualType FieldType = F->getType(); in findUntaggedStructOrUnionIndex() local
2137 while (const auto *ElabType = dyn_cast<ElaboratedType>(FieldType)) in findUntaggedStructOrUnionIndex()
2138 FieldType = ElabType->getNamedType(); in findUntaggedStructOrUnionIndex()
2140 if (const auto *RecType = dyn_cast<RecordType>(FieldType)) { in findUntaggedStructOrUnionIndex()
2143 if (Context.hasSameType(FieldType, AnonTy)) in findUntaggedStructOrUnionIndex()
H A DDeclCXX.cpp1063 if (CXXRecordDecl *FieldType = T->getAsCXXRecordDecl()) { in addedMember() local
1064 if (FieldType->hasDefinition() && !FieldType->allowConstDefaultInit()) in addedMember()
H A DRecordLayoutBuilder.cpp3627 const QualType &FieldType = C.getLangOpts().DumpRecordLayoutsCanonical in DumpRecordLayout() local
3630 OS << FieldType << ' ' << Field << '\n'; in DumpRecordLayout()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTypeConverter.h71 addConversion([&](fir::FieldType field) { in LLVMTypeConverter()
/llvm-project-15.0.7/flang/lib/Lower/
H A DVectorSubscripts.cpp115 mlir::Type fldTy = fir::FieldType::get(&converter.getMLIRContext()); in gen()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1184 Type *FieldType = S.first->getType(); in buildFrameType() local
1189 FieldType = A->getParamByValType(); in buildFrameType()
1191 B.addField(FieldType, None, false /*header*/, true /*IsSpillOfValue*/); in buildFrameType()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DMasmParser.cpp121 enum FieldType { enum
139 FieldInfo &addField(StringRef FieldName, FieldType FT,
185 FieldType FT;
206 FieldInitializer(FieldType FT) : FT(FT) { in FieldInitializer()
340 FieldInfo(FieldType FT) : Contents(FT) {} in FieldInfo()
343 FieldInfo &StructInfo::addField(StringRef FieldName, FieldType FT, in addField()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1015 auto fieldIndexType = fir::FieldType::get(lhsType.getContext()); in genComponentByComponentAssignment()

12