Searched refs:eltType (Results 1 – 11 of 11) sorted by relevance
201 for (auto eltType : coerceToType->elements()) { in getCoerceAndExpand() local202 if (isPaddingForCoerceAndExpand(eltType)) continue; in getCoerceAndExpand()204 assert(unpaddedStruct->getElementType(unpaddedIndex) == eltType); in getCoerceAndExpand()206 assert(unpaddedIndex == 0 && unpaddedCoerceToType == eltType); in getCoerceAndExpand()225 static bool isPaddingForCoerceAndExpand(llvm::Type *eltType) { in isPaddingForCoerceAndExpand() argument226 if (eltType->isArrayTy()) { in isPaddingForCoerceAndExpand()227 assert(eltType->getArrayElementType()->isIntegerTy(8)); in isPaddingForCoerceAndExpand()
74 QualType eltType = arrayType->getElementType(); in addTypedData() local75 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()77 addTypedData(eltType, begin + i * eltSize); in addTypedData()82 auto eltType = complexType->getElementType(); in addTypedData() local83 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()84 auto eltLLVMType = CGM.getTypes().ConvertType(eltType); in addTypedData()
1464 QualType eltType; in EmitNullInitialization() local1466 std::tie(numElts, eltType) = getVLASize(vlaType); in EmitNullInitialization()1469 CharUnits eltSize = getContext().getTypeSizeInChars(eltType); in EmitNullInitialization()1581 QualType eltType; in emitArrayLength() local1592 eltType = arrayType->getElementType(); in emitArrayLength()1608 eltType = arrayType->getElementType(); in emitArrayLength()1609 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()1612 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()1621 baseType = eltType; in emitArrayLength()
81 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
2835 QualType eltType; in getFixedSizeElementType() local2837 eltType = vla->getElementType(); in getFixedSizeElementType()2838 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()2839 return eltType; in getFixedSizeElementType()2844 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument2855 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()2856 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()2860 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
2392 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local2393 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()3806 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local3807 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()4031 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local4032 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
311 QualType eltType = complexType->castAs<ComplexType>()->getElementType(); in emitAddrOfImagComponent() local312 CharUnits offset = getContext().getTypeSizeInChars(eltType); in emitAddrOfImagComponent()
2009 QualType eltType; in VisitUnaryExprOrTypeTraitExpr() local2011 std::tie(numElts, eltType) = CGF.getVLASize(VAT); in VisitUnaryExprOrTypeTraitExpr()2016 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in VisitUnaryExprOrTypeTraitExpr()
1390 Type *eltType = ftArrayType->getTypeAtIndex((unsigned)0); in runOnModule() local1392 PointerType::getUnqual(eltType)); in runOnModule()
5788 QualType &eltType) { in breakDownVectorType() argument5792 eltType = vecType->getElementType(); in breakDownVectorType()5793 assert(eltType->isScalarType()); in breakDownVectorType()5802 eltType = type; in breakDownVectorType()
3422 QualType eltType = LHSType->getAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() local3423 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()