/external/llvm-project/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 68 assert(!ScalarTy.isVector() && "invalid vector element type"); in vector() 82 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, in LLT() argument 84 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace); in LLT() 96 bool isVector() const { return isValid() && IsVector; } in isVector() function 122 return isVector() ? getElementType() : *this; in getScalarType() 128 return isVector() ? LLT::vector(getNumElements(), NewEltTy) : NewEltTy; in changeElementType() 137 return isVector() ? LLT::vector(getNumElements(), NewEltSize) in changeElementSize() 152 if (isVector()) { in divide() 189 assert(isVector() && "cannot get element type of scalar/aggregate"); in getElementType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 67 assert(!ScalarTy.isVector() && "invalid vector element type"); in vector() 81 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, in LLT() argument 83 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace); in LLT() 95 bool isVector() const { return isValid() && IsVector; } in isVector() function 121 return isVector() ? getElementType() : *this; in getScalarType() 127 return isVector() ? LLT::vector(getNumElements(), NewEltTy) : NewEltTy; in changeElementType() 136 return isVector() ? LLT::vector(getNumElements(), NewEltSize) in changeElementSize() 168 assert(isVector() && "cannot get element type of scalar/aggregate"); in getElementType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 116 if (isVector()) in changeTypeToInteger() 151 bool isVector() const { in isVector() function 152 return isSimple() ? V.isVector() : isExtendedVector(); in isVector() 263 return isVector() ? getVectorElementType() : *this; in getScalarType() 268 assert(isVector() && "Invalid vector type!"); in getVectorElementType() 276 assert(isVector() && "Invalid vector type!"); in getVectorNumElements() 284 assert((isVector()) && "Invalid vector type!"); in getVectorElementCount() 333 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType() 344 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 96 if (isVector()) in changeTypeToInteger() 133 bool isVector() const { in isVector() function 134 return isSimple() ? V.isVector() : isExtendedVector(); in isVector() 234 return isVector() ? getVectorElementType() : *this; in getScalarType() 240 assert(isVector() && "Invalid vector type!"); in getVectorElementType() 249 assert(isVector() && "Invalid vector type!"); in getVectorNumElements() 282 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType() 294 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 112 if (isVector()) in changeTypeToInteger() 146 bool isVector() const { in isVector() function 147 return isSimple() ? V.isVector() : isExtendedVector(); in isVector() 286 return isVector() ? getVectorElementType() : *this; in getScalarType() 291 assert(isVector() && "Invalid vector type!"); in getVectorElementType() 302 assert(isVector() && "Invalid vector type!"); in getVectorNumElements() 316 assert((isVector()) && "Invalid vector type!"); in getVectorElementCount() 374 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType() 385 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
|
/external/skia/src/sksl/ir/ |
D | SkSLConstructorCompoundCast.cpp | 55 SkASSERT(argType.isVector()); in cast_constant_composite() 72 SkASSERT(type.isVector() || type.isMatrix()); in Make() 73 SkASSERT(arg->type().isVector() == type.isVector()); in Make()
|
D | SkSLConstructor.cpp | 30 SkASSERT(type.isVector() || type.isMatrix()); in convert_compound_constructor() 47 } else if (argument->type().isVector()) { in convert_compound_constructor() 50 if (type.isVector() && argument->type().columns() == type.columns()) { in convert_compound_constructor() 78 if (!arg->type().isScalar() && !arg->type().isVector()) { in convert_compound_constructor() 123 if (type.isVector() || type.isMatrix()) { in Convert()
|
D | SkSLIndexExpression.cpp | 40 if (!baseType.isArray() && !baseType.isMatrix() && !baseType.isVector()) { in Convert() 71 SkASSERT(baseType.isArray() || baseType.isMatrix() || baseType.isVector()); in Make() 78 if (indexExpr->is<IntLiteral>() && baseType.isVector()) { in Make()
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | same_shape_propagation.cc | 126 bool isVector() const { return is_vector; } in isVector() function 134 return shape.isVector() ? hash_value(shape.vector()) in hash_value() 139 if (lhs.isVector()) { in operator ==() 140 return rhs.isVector() && lhs.vector() == rhs.vector(); in operator ==() 142 return !rhs.isVector() && lhs.scalars() == rhs.scalars(); in operator ==() 148 if (shape.isVector()) { in operator <<() 283 if (!shape.isVector()) { in tryEvaluateShapeToRoot()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | AddExplicitTypeCasts.cpp | 38 if (argType.isVector()) in visitAggregatePost() 44 else if (retType.isVector()) in visitAggregatePost() 50 if (argType.isVector()) in visitAggregatePost()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64LegalizerInfo.cpp | 86 return Query.Types[0].isVector() && in AArch64LegalizerInfo() 125 return !SrcTy.isVector() && SrcTy.getSizeInBits() == 32 && in AArch64LegalizerInfo() 187 return Ty.isVector() && Ty.getElementType() == s16 && in AArch64LegalizerInfo() 266 if (!ValTy.isVector()) in AArch64LegalizerInfo() 357 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo() 374 if (DstSize == 128 && !Query.Types[0].isVector()) in AArch64LegalizerInfo() 403 [=](const LegalityQuery &Query) { return Query.Types[0].isVector(); }, in AArch64LegalizerInfo() 447 .minScalarEltSameAsIf(all(isVector(0), isVector(1)), 1, 0) in AArch64LegalizerInfo() 448 .lowerIf(isVector(0)); in AArch64LegalizerInfo() 512 if (Ty.isVector()) { in AArch64LegalizerInfo() [all …]
|
D | AArch64RegisterBankInfo.cpp | 439 bool IsFPR = Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping() 459 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping() 624 bool DstIsGPR = !DstTy.isVector() && DstTy.getSizeInBits() <= 64; in getInstrMapping() 625 bool SrcIsGPR = !SrcTy.isVector() && SrcTy.getSizeInBits() <= 64; in getInstrMapping() 655 if (Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc) || in getInstrMapping() 678 if (!SrcTy.isVector() && SrcTy.getSizeInBits() == 128) in getInstrMapping() 684 if (MRI.getType(MI.getOperand(0).getReg()).isVector()) in getInstrMapping() 690 if (MRI.getType(MI.getOperand(0).getReg()).isVector()) in getInstrMapping() 751 if (SrcTy.isVector()) { in getInstrMapping() 808 if (SrcTy.isVector() || SrcTy == LLT::scalar(128) || in getInstrMapping()
|
/external/llvm-project/llvm/unittests/CodeGen/ |
D | LowLevelTypeTest.cpp | 32 ASSERT_FALSE(Ty.isVector()); in TEST() 68 ASSERT_TRUE(VTy.isVector()); in TEST() 203 ASSERT_FALSE(Ty.isVector()); in TEST() 206 ASSERT_TRUE(VTy.isVector()); in TEST() 238 ASSERT_FALSE(Ty.isVector()); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 204 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateBinaryOp() 210 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateShiftOp() 285 if (Ty.isVector()) { in buildConstant() 317 if (Ty.isVector()) { in buildFConstant() 439 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP); in buildBoolExt() 450 Res.getLLTTy(*getMRI()).isVector()); in buildExtOrTrunc() 913 if (DstTy.isVector()) { in validateTruncExt() 914 assert(SrcTy.isVector() && "mismatched cast between vector and non-vector"); in validateTruncExt() 932 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp() 939 (TstTy.isVector() && in validateSelectOp() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | LegalityPredicates.cpp | 74 LegalityPredicate LegalityPredicates::isVector(unsigned TypeIdx) { in isVector() function in LegalityPredicates 76 return Query.Types[TypeIdx].isVector(); in isVector() 98 return QueryTy.isVector() && QueryTy.getElementType() == EltTy; in elementTypeIs() 187 return QueryTy.isVector() && !isPowerOf2_32(QueryTy.getNumElements()); in numElementsNotPow2()
|
D | MachineIRBuilder.cpp | 166 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateUnaryOp() 172 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateBinaryOp() 178 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateShiftOp() 250 if (Ty.isVector()) { in buildConstant() 283 if (Ty.isVector()) { in buildFConstant() 434 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP); in buildBoolExt() 445 Res.getLLTTy(*getMRI()).isVector()); in buildExtOrTrunc() 942 if (DstTy.isVector()) { in validateTruncExt() 943 assert(SrcTy.isVector() && "mismatched cast between vector and non-vector"); in validateTruncExt() 961 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64RegisterBankInfo.cpp | 431 bool IsFPR = Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping() 451 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping() 597 bool DstIsGPR = !DstTy.isVector() && DstTy.getSizeInBits() <= 64; in getInstrMapping() 598 bool SrcIsGPR = !SrcTy.isVector() && SrcTy.getSizeInBits() <= 64; in getInstrMapping() 628 if (Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc) || in getInstrMapping() 641 if (!SrcTy.isVector() && SrcTy.getSizeInBits() == 128) in getInstrMapping() 647 if (MRI.getType(MI.getOperand(0).getReg()).isVector()) in getInstrMapping() 653 if (MRI.getType(MI.getOperand(0).getReg()).isVector()) in getInstrMapping() 714 if (SrcTy.isVector()) { in getInstrMapping() 772 if (SrcTy.isVector() || SrcTy == LLT::scalar(128) || in getInstrMapping()
|
D | AArch64LegalizerInfo.cpp | 67 return Query.Types[0].isVector() && in AArch64LegalizerInfo() 124 return !SrcTy.isVector() && SrcTy.getSizeInBits() == 32 && in AArch64LegalizerInfo() 162 return Ty.isVector() && Ty.getElementType() == s16 && in AArch64LegalizerInfo() 241 if (!ValTy.isVector()) in AArch64LegalizerInfo() 327 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo() 349 if (DstSize == 128 && !Query.Types[0].isVector()) in AArch64LegalizerInfo() 472 if (Ty.isVector()) { in AArch64LegalizerInfo() 531 if (BigTy.isVector() && BigTy.getSizeInBits() < 32) in AArch64LegalizerInfo() 533 if (LitTy.isVector() && LitTy.getSizeInBits() < 32) in AArch64LegalizerInfo() 599 return !Query.Types[1].isVector(); in AArch64LegalizerInfo() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | LowLevelType.cpp | 19 if (VT.isVector()) { in LLT() 37 if (isVector()) in print()
|
/external/llvm-project/llvm/lib/Support/ |
D | LowLevelType.cpp | 19 if (VT.isVector()) { in LLT() 37 if (isVector()) in print()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | Intermediate.cpp | 367 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath() 408 child->isVector()), in addUnaryMath() 1412 } else if (type.isVector()) { in addShapeConversion() 1419 if (sourceType.isVector()) { in addShapeConversion() 1421 if (type.isVector()) in addShapeConversion() 1436 if ((node->getType().isScalarOrVec1() && type.isVector()) || in addShapeConversion() 1437 (node->getType().isVector() && type.isScalar()) || in addShapeConversion() 1438 (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize())) in addShapeConversion() 2692 … (binary->getLeft()->getType().isVector() || binary->getLeft()->getType().isScalar()) && in findLValueBase() 3415 if (left->isVector()) in promoteBinary() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 367 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath() 408 child->isVector()), in addUnaryMath() 1412 } else if (type.isVector()) { in addShapeConversion() 1419 if (sourceType.isVector()) { in addShapeConversion() 1421 if (type.isVector()) in addShapeConversion() 1436 if ((node->getType().isScalarOrVec1() && type.isVector()) || in addShapeConversion() 1437 (node->getType().isVector() && type.isScalar()) || in addShapeConversion() 1438 (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize())) in addShapeConversion() 2692 … (binary->getLeft()->getType().isVector() || binary->getLeft()->getType().isScalar()) && in findLValueBase() 3415 if (left->isVector()) in promoteBinary() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LowLevelType.cpp | 46 if (!Ty.isVector()) in getMVTForLLT() 55 if (!Ty.isVector()) in getLLTForMVT()
|
/external/llvm/utils/TableGen/ |
D | DAGISelEmitter.cpp | 88 if (LHSVT.isVector() != RHSVT.isVector()) in operator ()() 89 return RHSVT.isVector(); in operator ()()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | DAGISelEmitter.cpp | 88 if (LHSVT.isVector() != RHSVT.isVector()) in operator ()() 89 return RHSVT.isVector(); in operator ()()
|