Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp2112 QualType eltType; in emitArrayLength() local
2123 eltType = arrayType->getElementType(); in emitArrayLength()
2139 eltType = arrayType->getElementType(); in emitArrayLength()
2140 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
2143 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
2149 ConvertTypeForMem(eltType), in emitArrayLength()
2153 baseType = eltType; in emitArrayLength()
H A DCGCXXABI.h99 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
H A DCGExpr.cpp3681 QualType eltType; in getFixedSizeElementType() local
3683 eltType = vla->getElementType(); in getFixedSizeElementType()
3684 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
3685 return eltType; in getFixedSizeElementType()
3726 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
3740 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
3741 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
3745 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
3768 return Address(eltPtr, CGF.ConvertTypeForMem(eltType), eltAlign); in emitArraySubscriptGEP()
H A DCGCall.cpp3078 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
3079 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
5186 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5187 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
5574 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
5575 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp814 Type *eltType; in fold_pow() local
820 eltType = opr0->getType(); in fold_pow()
826 eltType = VTy->getElementType(); in fold_pow()
844 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
868 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
918 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
936 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
969 cnval = ConstantFP::get(eltType, V); in fold_pow()
1064 Type* nTyS = eltType->isDoubleTy() ? B.getInt64Ty() : B.getInt32Ty(); in fold_pow()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp7905 QualType &eltType) { in breakDownVectorType() argument
7909 eltType = vecType->getElementType(); in breakDownVectorType()
7910 assert(eltType->isScalarType()); in breakDownVectorType()
7919 eltType = type; in breakDownVectorType()
H A DSemaChecking.cpp7687 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() local
7688 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()