Home
last modified time | relevance | path

Searched refs:eltType (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h262 for (auto eltType : coerceToType->elements()) { in getCoerceAndExpand() local
263 if (isPaddingForCoerceAndExpand(eltType)) continue; in getCoerceAndExpand()
265 assert(unpaddedStruct->getElementType(unpaddedIndex) == eltType); in getCoerceAndExpand()
267 assert(unpaddedIndex == 0 && unpaddedCoerceToType == eltType); in getCoerceAndExpand()
286 static bool isPaddingForCoerceAndExpand(llvm::Type *eltType) { in isPaddingForCoerceAndExpand() argument
287 if (eltType->isArrayTy()) { in isPaddingForCoerceAndExpand()
288 assert(eltType->getArrayElementType()->isIntegerTy(8)); in isPaddingForCoerceAndExpand()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp79 QualType eltType = arrayType->getElementType(); in addTypedData() local
80 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
82 addTypedData(eltType, begin + i * eltSize); in addTypedData()
87 auto eltType = complexType->getElementType(); in addTypedData() local
88 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
89 auto eltLLVMType = CGM.getTypes().ConvertType(eltType); in addTypedData()
H A DCodeGenFunction.cpp2256 QualType eltType; in emitArrayLength() local
2267 eltType = arrayType->getElementType(); in emitArrayLength()
2282 eltType = arrayType->getElementType(); in emitArrayLength()
2283 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
2286 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
2293 ConvertTypeForMem(eltType), addr.getAlignment()); in emitArrayLength()
2296 baseType = eltType; in emitArrayLength()
H A DCGCXXABI.h95 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
H A DCGExpr.cpp3987 QualType eltType; in getFixedSizeElementType() local
3989 eltType = vla->getElementType(); in getFixedSizeElementType()
3990 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3991 return eltType; in getFixedSizeElementType()
4059 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
4073 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
4074 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
4078 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
4090 CGF.ConvertTypeForMem(eltType), inbounds, in emitArraySubscriptGEP()
4104 return Address(eltPtr, CGF.ConvertTypeForMem(eltType), eltAlign); in emitArraySubscriptGEP()
H A DCGCall.cpp3317 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
3318 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
5468 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5469 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
5883 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5884 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp911 Type *eltType = FPOp->getType()->getScalarType(); in fold_pow() local
926 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
950 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
999 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1017 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1031 const bool ShouldUseIntrinsic = eltType->isFloatTy() || eltType->isHalfTy(); in fold_pow()
1058 cnval = ConstantFP::get(eltType, V); in fold_pow()
1130 Type* nTyS = B.getIntNTy(eltType->getPrimitiveSizeInBits()); in fold_pow()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp7426 QualType &eltType) { in breakDownVectorType() argument
7430 eltType = vecType->getElementType(); in breakDownVectorType()
7431 assert(eltType->isScalarType()); in breakDownVectorType()
7440 eltType = type; in breakDownVectorType()
H A DSemaChecking.cpp5027 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in BuiltinShuffleVector() local
5029 Context.getVectorType(eltType, numResElements, VectorKind::Generic); in BuiltinShuffleVector()