Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h227 for (auto eltType : coerceToType->elements()) { in getCoerceAndExpand() local
228 if (isPaddingForCoerceAndExpand(eltType)) continue; in getCoerceAndExpand()
230 assert(unpaddedStruct->getElementType(unpaddedIndex) == eltType); in getCoerceAndExpand()
232 assert(unpaddedIndex == 0 && unpaddedCoerceToType == eltType); in getCoerceAndExpand()
251 static bool isPaddingForCoerceAndExpand(llvm::Type *eltType) { in isPaddingForCoerceAndExpand() argument
252 if (eltType->isArrayTy()) { in isPaddingForCoerceAndExpand()
253 assert(eltType->getArrayElementType()->isIntegerTy(8)); in isPaddingForCoerceAndExpand()
/freebsd-12.1/contrib/llvm/tools/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.cpp1924 QualType eltType; in emitArrayLength() local
1935 eltType = arrayType->getElementType(); in emitArrayLength()
1951 eltType = arrayType->getElementType(); in emitArrayLength()
1952 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
1955 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
1964 baseType = eltType; in emitArrayLength()
H A DCGCXXABI.h83 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
H A DCGExpr.cpp3319 QualType eltType; in getFixedSizeElementType() local
3321 eltType = vla->getElementType(); in getFixedSizeElementType()
3322 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3323 return eltType; in getFixedSizeElementType()
3328 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
3340 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
3341 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
3345 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
H A DCGExprComplex.cpp337 QualType eltType = complexType->castAs<ComplexType>()->getElementType(); in emitAddrOfImagComponent() local
338 CharUnits offset = getContext().getTypeSizeInChars(eltType); in emitAddrOfImagComponent()
H A DCGCall.cpp2538 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
2539 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
4154 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
4155 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
4449 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
4450 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp870 Type *eltType; in fold_pow() local
876 eltType = opr0->getType(); in fold_pow()
882 eltType = VTy->getElementType(); in fold_pow()
900 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
924 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
973 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
991 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1024 cnval = ConstantFP::get(eltType, V); in fold_pow()
1119 Type* nTyS = eltType->isDoubleTy() ? B.getInt64Ty() : B.getInt32Ty(); in fold_pow()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp6194 QualType &eltType) { in breakDownVectorType() argument
6198 eltType = vecType->getElementType(); in breakDownVectorType()
6199 assert(eltType->isScalarType()); in breakDownVectorType()
6208 eltType = type; in breakDownVectorType()
H A DSemaChecking.cpp5708 QualType eltType = LHSType->getAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() local
5709 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()