Home
last modified time | relevance | path

Searched refs:eltType (Results 1 – 10 of 10) 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.cpp2176 QualType eltType; in emitArrayLength() local
2187 eltType = arrayType->getElementType(); in emitArrayLength()
2203 eltType = arrayType->getElementType(); in emitArrayLength()
2204 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
2207 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
2213 ConvertTypeForMem(eltType), in emitArrayLength()
2217 baseType = eltType; in emitArrayLength()
H A DCGCXXABI.h99 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
H A DCGExpr.cpp3944 QualType eltType; in getFixedSizeElementType() local
3946 eltType = vla->getElementType(); in getFixedSizeElementType()
3947 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3948 return eltType; in getFixedSizeElementType()
4016 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
4030 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
4031 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
4035 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
4061 return Address(eltPtr, CGF.ConvertTypeForMem(eltType), eltAlign); in emitArraySubscriptGEP()
H A DCGCall.cpp3311 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
3312 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
5416 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5417 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
5785 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5786 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp898 Type *eltType = FPOp->getType()->getScalarType(); in fold_pow() local
913 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
937 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
986 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1004 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1018 const bool ShouldUseIntrinsic = eltType->isFloatTy() || eltType->isHalfTy(); in fold_pow()
1045 cnval = ConstantFP::get(eltType, V); in fold_pow()
1120 Type* nTyS = B.getIntNTy(eltType->getPrimitiveSizeInBits()); in fold_pow()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp333 } else if (auto eltType = type.getArrayElementType()) { in validateType() local
334 validateType(eltType, context); in validateType()
482 } else if (auto eltType = type.getArrayElementType()) { in emitBasicReaderWriterMethodSuffix() local
488 eltType.emitCXXValueTypeName(isForRead, out); in emitBasicReaderWriterMethodSuffix()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp8233 QualType &eltType) { in breakDownVectorType() argument
8237 eltType = vecType->getElementType(); in breakDownVectorType()
8238 assert(eltType->isScalarType()); in breakDownVectorType()
8247 eltType = type; in breakDownVectorType()
H A DSemaChecking.cpp9436 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() local
9438 Context.getVectorType(eltType, numResElements, VectorKind::Generic); in SemaBuiltinShuffleVector()