Home
last modified time | relevance | path

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

/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h201 for (auto eltType : coerceToType->elements()) { in getCoerceAndExpand() local
202 if (isPaddingForCoerceAndExpand(eltType)) continue; in getCoerceAndExpand()
204 assert(unpaddedStruct->getElementType(unpaddedIndex) == eltType); in getCoerceAndExpand()
206 assert(unpaddedIndex == 0 && unpaddedCoerceToType == eltType); in getCoerceAndExpand()
225 static bool isPaddingForCoerceAndExpand(llvm::Type *eltType) { in isPaddingForCoerceAndExpand() argument
226 if (eltType->isArrayTy()) { in isPaddingForCoerceAndExpand()
227 assert(eltType->getArrayElementType()->isIntegerTy(8)); in isPaddingForCoerceAndExpand()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp74 QualType eltType = arrayType->getElementType(); in addTypedData() local
75 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
77 addTypedData(eltType, begin + i * eltSize); in addTypedData()
82 auto eltType = complexType->getElementType(); in addTypedData() local
83 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
84 auto eltLLVMType = CGM.getTypes().ConvertType(eltType); in addTypedData()
DCodeGenFunction.cpp1464 QualType eltType; in EmitNullInitialization() local
1466 std::tie(numElts, eltType) = getVLASize(vlaType); in EmitNullInitialization()
1469 CharUnits eltSize = getContext().getTypeSizeInChars(eltType); in EmitNullInitialization()
1581 QualType eltType; in emitArrayLength() local
1592 eltType = arrayType->getElementType(); in emitArrayLength()
1608 eltType = arrayType->getElementType(); in emitArrayLength()
1609 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
1612 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
1621 baseType = eltType; in emitArrayLength()
DCGCXXABI.h81 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
DCGExpr.cpp2835 QualType eltType; in getFixedSizeElementType() local
2837 eltType = vla->getElementType(); in getFixedSizeElementType()
2838 } while ((vla = ctx.getAsVariableArrayType(eltType))); in getFixedSizeElementType()
2839 return eltType; in getFixedSizeElementType()
2844 QualType eltType, bool inbounds, in emitArraySubscriptGEP() argument
2855 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP()
2856 eltType = getFixedSizeElementType(CGF.getContext(), vla); in emitArraySubscriptGEP()
2860 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP()
DCGCall.cpp2392 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog() local
2393 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) in EmitFunctionProlog()
3806 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
3807 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
4031 llvm::Type *eltType = coercionType->getElementType(i); in EmitCall() local
4032 if (ABIArgInfo::isPaddingForCoerceAndExpand(eltType)) continue; in EmitCall()
DCGExprComplex.cpp311 QualType eltType = complexType->castAs<ComplexType>()->getElementType(); in emitAddrOfImagComponent() local
312 CharUnits offset = getContext().getTypeSizeInChars(eltType); in emitAddrOfImagComponent()
DCGExprScalar.cpp2009 QualType eltType; in VisitUnaryExprOrTypeTraitExpr() local
2011 std::tie(numElts, eltType) = CGF.getVLASize(VAT); in VisitUnaryExprOrTypeTraitExpr()
2016 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in VisitUnaryExprOrTypeTraitExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
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()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DPathProfiling.cpp1390 Type *eltType = ftArrayType->getTypeAtIndex((unsigned)0); in runOnModule() local
1392 PointerType::getUnqual(eltType)); in runOnModule()
/external/clang/lib/Sema/
DSemaExpr.cpp5788 QualType &eltType) { in breakDownVectorType() argument
5792 eltType = vecType->getElementType(); in breakDownVectorType()
5793 assert(eltType->isScalarType()); in breakDownVectorType()
5802 eltType = type; in breakDownVectorType()
DSemaChecking.cpp3422 QualType eltType = LHSType->getAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() local
3423 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()