Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp77 QualType eltType = arrayType->getElementType(); in addTypedData() local
78 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
80 addTypedData(eltType, begin + i * eltSize); in addTypedData()
85 auto eltType = complexType->getElementType(); in addTypedData() local
86 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
87 auto eltLLVMType = CGM.getTypes().ConvertType(eltType); in addTypedData()
H A DCodeGenFunction.cpp2015 QualType eltType; in emitArrayLength() local
2026 eltType = arrayType->getElementType(); in emitArrayLength()
2042 eltType = arrayType->getElementType(); in emitArrayLength()
2043 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
2046 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
2055 baseType = eltType; in emitArrayLength()
H A DCGCXXABI.h83 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
H A DCGExpr.cpp3616 QualType eltType; in getFixedSizeElementType() local
3618 eltType = vla->getElementType(); in getFixedSizeElementType()
3619 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3620 return eltType; in getFixedSizeElementType()
3661 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
3675 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
3676 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
3680 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
H A DCGCall.cpp2935 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
2936 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
5016 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5017 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
5393 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5394 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp332 } else if (auto eltType = type.getArrayElementType()) { in validateType() local
333 validateType(eltType, context); in validateType()
481 } else if (auto eltType = type.getArrayElementType()) { in emitBasicReaderWriterMethodSuffix() local
487 eltType.emitCXXValueTypeName(isForRead, out); in emitBasicReaderWriterMethodSuffix()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp861 Type *eltType; in fold_pow() local
867 eltType = opr0->getType(); in fold_pow()
873 eltType = VTy->getElementType(); in fold_pow()
891 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
915 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
965 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
983 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1016 cnval = ConstantFP::get(eltType, V); in fold_pow()
1111 Type* nTyS = eltType->isDoubleTy() ? B.getInt64Ty() : B.getInt32Ty(); in fold_pow()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp7305 QualType &eltType) { in breakDownVectorType() argument
7309 eltType = vecType->getElementType(); in breakDownVectorType()
7310 assert(eltType->isScalarType()); in breakDownVectorType()
7319 eltType = type; in breakDownVectorType()
H A DSemaChecking.cpp6322 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() local
6323 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()