Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h274 for (auto eltType : coerceToType->elements()) { in getCoerceAndExpand() local
275 if (isPaddingForCoerceAndExpand(eltType)) in getCoerceAndExpand()
294 static bool isPaddingForCoerceAndExpand(llvm::Type *eltType) { in isPaddingForCoerceAndExpand() argument
295 return eltType->isArrayTy() && in isPaddingForCoerceAndExpand()
296 eltType->getArrayElementType()->isIntegerTy(8); in isPaddingForCoerceAndExpand()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp78 QualType eltType = arrayType->getElementType(); in addTypedData() local
79 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
81 addTypedData(eltType, begin + i * eltSize); in addTypedData()
86 auto eltType = complexType->getElementType(); in addTypedData() local
87 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
88 auto eltLLVMType = CGM.getTypes().ConvertType(eltType); in addTypedData()
H A DCodeGenFunction.cpp2360 QualType eltType; in emitArrayLength() local
2371 eltType = arrayType->getElementType(); in emitArrayLength()
2386 eltType = arrayType->getElementType(); in emitArrayLength()
2387 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
2390 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
2397 ConvertTypeForMem(eltType), addr.getAlignment()); in emitArrayLength()
2400 baseType = eltType; in emitArrayLength()
H A DCGCXXABI.h95 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
H A DCGExpr.cpp4213 QualType eltType; in getFixedSizeElementType() local
4215 eltType = vla->getElementType(); in getFixedSizeElementType()
4216 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
4217 return eltType; in getFixedSizeElementType()
4285 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
4299 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
4300 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
4304 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
4316 CGF.ConvertTypeForMem(eltType), inbounds, in emitArraySubscriptGEP()
4330 return Address(eltPtr, CGF.ConvertTypeForMem(eltType), eltAlign); in emitArraySubscriptGEP()
H A DCGCall.cpp3446 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
3447 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
3457 if (auto *VecTyTo = dyn_cast<llvm::FixedVectorType>(eltType)) { in EmitFunctionProlog()
5655 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5656 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitCall()
6076 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
6077 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitCall()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp733 QualType eltType; in getFixedSizeElementType() local
735 eltType = vla->getElementType(); in getFixedSizeElementType()
736 } while ((vla = astContext.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
737 return eltType; in getFixedSizeElementType()
756 QualType eltType, mlir::Value idx, in emitArraySubscriptPtr() argument
762 cgf.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptPtr()
763 eltType = getFixedSizeElementType(cgf.getContext(), vla); in emitArraySubscriptPtr()
767 const CharUnits eltSize = cgf.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptPtr()
775 const mlir::Type elementType = cgf.convertTypeForMem(eltType); in emitArraySubscriptPtr()
1373 QualType eltType = e->getType()->castAsArrayTypeUnsafe()->getElementType(); in emitArrayToPointerDecay() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp908 Type *eltType = FPOp->getType()->getScalarType(); in fold_pow() local
923 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
947 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
996 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1014 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1028 const bool ShouldUseIntrinsic = eltType->isFloatTy() || eltType->isHalfTy(); in fold_pow()
1056 cnval = ConstantFP::get(eltType, V); in fold_pow()
1128 Type* nTyS = B.getIntNTy(eltType->getPrimitiveSizeInBits()); in fold_pow()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp326 } else if (auto eltType = type.getArrayElementType()) { in validateType() local
327 validateType(eltType, context); in validateType()
475 } else if (auto eltType = type.getArrayElementType()) { in emitBasicReaderWriterMethodSuffix() local
481 eltType.emitCXXValueTypeName(isForRead, out); in emitBasicReaderWriterMethodSuffix()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp7582 QualType &eltType) { in breakDownVectorType() argument
7586 eltType = vecType->getElementType(); in breakDownVectorType()
7587 assert(eltType->isScalarType() || eltType->isMFloat8Type()); in breakDownVectorType()
7596 eltType = type; in breakDownVectorType()
H A DSemaChecking.cpp5491 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in BuiltinShuffleVector() local
5493 Context.getVectorType(eltType, numResElements, VectorKind::Generic); in BuiltinShuffleVector()