Home
last modified time | relevance | path

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

/external/llvm/lib/Target/
DTargetData.cpp638 Type *ElemType = GV->getType()->getElementType(); in getPreferredAlignment() local
639 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
644 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
651 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp163 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
166 T = ElemType; in compatibleWithArrayType()
/external/clang/lib/Sema/
DSemaInit.cpp195 InitListExpr *IList, QualType ElemType,
729 QualType ElemType, in CheckSubElementType() argument
735 if (!ElemType->isRecordType() || ElemType->isAggregateType()) { in CheckSubElementType()
739 = getStructuredSubobjectInit(IList, Index, ElemType, in CheckSubElementType()
742 CheckExplicitInitList(Entity, SubInitList, ElemType, newIndex, in CheckSubElementType()
753 if (ElemType->isScalarType()) { in CheckSubElementType()
754 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
756 } else if (ElemType->isReferenceType()) { in CheckSubElementType()
757 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
761 if (const ArrayType *arrayType = SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
[all …]
DSemaType.cpp4471 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local
4472 RequireCompleteType(Loc, ElemType, 0); in RequireLiteralType()
4485 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType()
4495 RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T); in RequireLiteralType()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1705 QualType ElemType = VT->getElementType(); in BindVector() local
1716 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in BindVector()
1718 if (ElemType->isArrayType()) in BindVector()
1720 else if (ElemType->isStructureOrClassType()) in BindVector()
/external/clang/lib/CodeGen/
DCGExpr.cpp1905 const Type* ElemType = E->getType()->getArrayElementTypeNoTypeQual(); in EmitPredefinedLValue() local
1907 if (ElemType->isWideCharType()) { in EmitPredefinedLValue()
1910 getContext().getTypeSizeInChars(ElemType).getQuantity(), in EmitPredefinedLValue()
/external/clang/lib/Serialization/
DASTReader.cpp3758 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
3759 return Context.getComplexType(ElemType); in readTypeRecord()