Home
last modified time | relevance | path

Searched refs:isVectorType (Results 1 – 25 of 82) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/clang-tidy/portability/
DSIMDIntrinsicsCheck.cpp29 bool IsVector = Node.getReturnType()->isVectorType(); in AST_MATCHER()
34 if (Type->isVectorType()) in AST_MATCHER()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp214 if (isVectorType(Ty)) in applyStackAlignmentTy()
458 if (isVectorType(DestTy)) { in genTargetHelperCallFor()
699 if (!isVectorType(SrcTy)) { in genTargetHelperCallFor()
712 if (!isVectorType(DestTy)) { in genTargetHelperCallFor()
1304 assert(isVectorType(Ty)); in argInVFP()
3093 if (isVectorType(DestTy)) { in lowerArithmetic()
3212 assert(!isVectorType(DestTy)); in lowerArithmetic()
3224 assert(!isVectorType(DestTy)); in lowerArithmetic()
3237 if (isVectorType(DestTy)) { in lowerArithmetic()
3260 if (isVectorType(DestTy)) { in lowerArithmetic()
[all …]
DIceTargetLoweringX86BaseImpl.h649 if (isVectorType(Ty))
1240 if (isVectorType(Arg->getType())) {
1346 if (isVectorType(Ty)) {
1356 if (isVectorType(Arg->getType())) {
1603 if (isVectorType(Ty)) {
2128 if (isVectorType(Ty)) {
2697 if (isVectorType(Ty) &&
2717 if (isVectorType(Arg->getType())) {
2852 if (isVectorType(DestTy)) {
2901 if (isVectorType(DestTy)) {
[all …]
DIcePhiLoweringImpl.h55 } else if (isVectorType(DestTy) && in prelowerPhis32Bit()
DIceTargetLoweringMIPS32.cpp99 if (isVectorType(Ty)) in applyStackAlignmentTy()
242 if (PartialOnStack && isVectorType(Ty)) { in getCallStackArgumentsSizeBytes()
275 if (isVectorType(DestTy)) { in genTargetHelperCallFor()
304 if (isVectorType(DestTy)) { in genTargetHelperCallFor()
331 if (isVectorType(DestTy)) { in genTargetHelperCallFor()
361 if (isVectorType(DestTy)) { in genTargetHelperCallFor()
426 if (isVectorType(DestTy)) { in genTargetHelperCallFor()
559 if (!isVectorType(SrcTy)) { in genTargetHelperCallFor()
572 if (!isVectorType(DestTy)) { in genTargetHelperCallFor()
586 if (isVectorType(DestTy) && ID == Intrinsics::Fabs) { in genTargetHelperCallFor()
[all …]
DIceInstARM32.cpp356 if (isScalarFloatingType(Ty) || isVectorType(Ty)) in canHoldOffset()
830 if (isVectorType(Dest->getType())) { in emitIAS()
1680 assert(isVectorType(Src->getType())); in emitIAS()
1695 assert(isVectorType(Ty)); in insertionType()
1714 assert(isVectorType(DestTy)); in emit()
1747 assert(isVectorType(DestTy)); in emitIAS()
1960 return !isVectorType(DestTy) && !isVectorType(SrcTy) && in isMoveBetweenCoreAndVFPRegisters()
1982 const bool IsVector = isVectorType(Ty); in emitSingleDestSingleSource()
2129 if (isVectorType(SrcTy)) { in emitIAS()
2328 const bool IsVector = isVectorType(Ty); in emit()
[all …]
DIceTypes.h90 bool isVectorType(Type Ty);
DIceTypes.cpp178 bool isVectorType(Type Ty) { in isVectorType() function
DPNaClTranslator.cpp1692 (Alignment == 1 && !isVectorType(Ty)); in isAllowedAlignment()
1733 if (!Ice::isVectorType(VecType)) in validateVectorIndex()
1830 bool IsType1Vector = isVectorType(Type1); in simplifyOutCommonVectorType()
1831 bool IsType2Vector = isVectorType(Type2); in simplifyOutCommonVectorType()
1877 bool IsSourceVector = isVectorType(SourceType); in isFloatToIntCastValid()
1878 bool IsTargetVector = isVectorType(TargetType); in isFloatToIntCastValid()
1897 if (Ice::isVectorType(Ty)) in bitcastSizeInBits()
2275 if (isVectorType(CondType)) { in ProcessRecord()
2276 if (!isVectorType(ThenType) || in ProcessRecord()
DIceInstX86BaseImpl.h1036 assert(isVectorType(SrcTy)); in emit()
1066 assert(isVectorType(SrcTy)); in emitIAS()
2090 assert(isVectorType(this->getSrc(1)->getType())); in emit()
2130 isVectorType(this->getSrc(1)->getType())); in emit()
2170 isVectorType(this->getSrc(1)->getType())); in emit()
2222 Src0Var->asType(Func, isVectorType(Ty) ? IceType_i32 : Ty, RegNumT()) in emit()
2334 } else if (isVectorType(SrcTy)) { in emitIAS()
2385 assert(isVectorType(Dest->getType()) || in emitIAS()
2399 assert(isVectorType(SrcVar->getType()) || in emitIAS()
2442 assert(isVectorType(this->getDest()->getType())); in emitIAS()
[all …]
DIceInstX8664.cpp158 !isVectorType(MemType)) { in emit()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DTypeTraits.cpp127 if (CanonicalType->isScalarType() || CanonicalType->isVectorType()) in isTriviallyDefaultConstructible()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedObject.h327 T->isVectorType() || T->isScalarType(); in isPrimitiveType()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp1342 if (Ty->isVectorType()) { in shouldReturnTypeInRegister()
1747 if ((Ty->isVectorType() || Ty->isBuiltinType()) && in runVectorCallFirstPass()
1794 if (Ty->isBuiltinType() || Ty->isVectorType()) in classifyArgumentType()
2562 if (Arg.getType()->isVectorType() && in checkFunctionCallABI()
2580 if (Callee->getReturnType()->isVectorType() && in checkFunctionCallABI()
4162 if (!Ty->isBuiltinType() && !Ty->isVectorType() && in reclassifyHvaArgType()
4205 if (IsReturnType || Ty->isBuiltinType() || Ty->isVectorType()) in classify()
4212 (IsReturnType || Ty->isBuiltinType() || Ty->isVectorType())) { in classify()
4217 } else if (!Ty->isBuiltinType() && !Ty->isVectorType()) { in classify()
4516 if (RetTy->isVectorType()) in classifyReturnType()
[all …]
DCGExprScalar.cpp1308 if (DstType->isExtVectorType() && !SrcType->isVectorType()) { in EmitScalarConversion()
1606 assert(SrcType->isVectorType() && in VisitConvertVectorExpr()
1608 assert(DstType->isVectorType() && in VisitConvertVectorExpr()
1693 if (!E->getBase()->getType()->isVectorType()) in VisitArraySubscriptExpr()
2537 } else if (type->isVectorType()) { in EmitScalarPrePostIncDec()
2699 if (E->getType()->isVectorType() && in VisitUnaryLNot()
3922 if (LHSTy->isVectorType() && !E->getType()->isVectorType()) { in EmitCompare()
4029 if (LHSTy->isVectorType()) in EmitCompare()
4144 if (E->getType()->isVectorType()) { in VisitBinLAnd()
4230 if (E->getType()->isVectorType()) { in VisitBinLOr()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp3538 if (!(T->isArithmeticType() || T->isVoidType() || T->isVectorType())) { in CheckVecStepTraitOperandType()
5814 assert(destTy->isVectorType() || srcTy->isVectorType()); in areLaxCompatibleVectorTypes()
5841 assert(destTy->isVectorType() || srcTy->isVectorType()); in isLaxVectorConversion()
5850 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
5852 if (Ty->isVectorType() || Ty->isIntegralType(Context)) { in CheckVectorCast()
5855 Ty->isVectorType() ? in CheckVectorCast()
5911 if (SrcTy->isVectorType()) { in CheckExtVectorCast()
5969 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
5976 if (!E->getType()->isVectorType()) in ActOnCastExpr()
6032 assert(Ty->isVectorType() && "Expected vector type"); in BuildVectorLiteral()
[all …]
DSemaCast.cpp1995 bool destIsVector = DestType->isVectorType(); in TryReinterpretCast()
1996 bool srcIsVector = SrcType->isVectorType(); in TryReinterpretCast()
2395 if (!DestType->isScalarType() && !DestType->isVectorType()) { in CheckCStyleCast()
2455 if (!SrcType->isScalarType() && !SrcType->isVectorType()) { in CheckCStyleCast()
2479 if (SrcType->isVectorType()) { in CheckCStyleCast()
/external/clang/lib/CodeGen/
DTargetInfo.cpp1110 if (Ty->isVectorType()) { in shouldReturnTypeInRegister()
1503 if (Ty->isBuiltinType() || Ty->isVectorType()) in classifyArgumentType()
3592 if (IsReturnType || Ty->isBuiltinType() || Ty->isVectorType()) in classify()
3950 (T->isVectorType() && getContext().getTypeSize(T) == 128) || in computeInfo()
4036 } else if (Ty->isVectorType()) { in getParamTypeAlignment()
4046 if (IsQPXVectorTy(EltType) || (EltType->isVectorType() && in getParamTypeAlignment()
4066 return CharUnits::fromQuantity(AlignAsType->isVectorType() ? 16 : 8); in getParamTypeAlignment()
4175 if (Base->isVectorType() != TyPtr->isVectorType() || in isHomogeneousAggregate()
4203 Base->isVectorType() ? 1 : (getContext().getTypeSize(Base) + 63) / 64; in isHomogeneousAggregateSmallEnough()
4218 if (Ty->isVectorType() && !IsQPXVectorTy(Ty)) { in classifyArgumentType()
[all …]
DCGExprScalar.cpp813 if (DstType->isExtVectorType() && !SrcType->isVectorType()) { in EmitScalarConversion()
1050 assert(SrcType->isVectorType() && in VisitConvertVectorExpr()
1052 assert(DstType->isVectorType() && in VisitConvertVectorExpr()
1134 if (!E->getBase()->getType()->isVectorType()) in VisitArraySubscriptExpr()
1747 } else if (type->isVectorType()) { in EmitScalarPrePostIncDec()
2844 if (LHSTy->isVectorType() && !E->getType()->isVectorType()) { in EmitCompare()
2919 if (LHSTy->isVectorType()) in EmitCompare()
3030 if (E->getType()->isVectorType()) { in VisitBinLAnd()
3108 if (E->getType()->isVectorType()) { in VisitBinLOr()
3249 && condExpr->getType()->isVectorType()) { in VisitAbstractConditionalOperator()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp4003 if (!(T->isArithmeticType() || T->isVoidType() || T->isVectorType())) { in CheckVecStepTraitOperandType()
7272 assert(srcTy->isVectorType() || destTy->isVectorType()); in isValidSveBitcast()
7295 assert(destTy->isVectorType() || srcTy->isVectorType()); in areLaxCompatibleVectorTypes()
7322 assert(destTy->isVectorType() || srcTy->isVectorType()); in isLaxVectorConversion()
7351 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
7353 if (Ty->isVectorType() || Ty->isIntegralType(Context)) { in CheckVectorCast()
7356 Ty->isVectorType() ? in CheckVectorCast()
7412 if (SrcTy->isVectorType()) { in CheckExtVectorCast()
7470 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
7477 if (!E->isTypeDependent() && !E->getType()->isVectorType()) in ActOnCastExpr()
[all …]
DSemaCast.cpp2219 bool destIsVector = DestType->isVectorType(); in TryReinterpretCast()
2220 bool srcIsVector = SrcType->isVectorType(); in TryReinterpretCast()
2762 if ((SrcType->isVectorType() || DestType->isVectorType()) && in CheckCStyleCast()
2768 if (!DestType->isScalarType() && !DestType->isVectorType()) { in CheckCStyleCast()
2822 if (!SrcType->isScalarType() && !SrcType->isVectorType()) { in CheckCStyleCast()
2846 if (SrcType->isVectorType()) { in CheckCStyleCast()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp312 if (SubsExpr->getBase()->getType()->isVectorType()) in checkPreStmt()
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.h208 bool isVector(Id resultId) const { return isVectorType(getTypeId(resultId)); } in isVector()
225 bool isVectorType(Id typeId) const { return getTypeClass(typeId) == OpTypeVector; } in isVectorType() function
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.h208 bool isVector(Id resultId) const { return isVectorType(getTypeId(resultId)); } in isVector()
225 bool isVectorType(Id typeId) const { return getTypeClass(typeId) == OpTypeVector; } in isVectorType() function
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1419 if (RTy->isVectorType()) in getBinding()
1781 if (typedSuperR->getValueType()->isVectorType()) in getBindingForFieldOrElementCommon()
2001 if (Ty->isVectorType()) in bind()
2115 assert(T->isVectorType()); in bindVector()

1234