/third_party/skia/third_party/externals/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()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLConstructor.cpp | 29 SkASSERT(type.isVector() || type.isMatrix()); in convert_compound_constructor() 35 if (type.isVector() && argument->type().isVector() && in convert_compound_constructor() 70 } else if (argument->type().isVector()) { in convert_compound_constructor() 73 if (type.isVector() && argument->type().columns() == type.columns()) { in convert_compound_constructor() 97 if (type.isVector() && type.columns() == 4 && argument->type().slotCount() == 4) { in convert_compound_constructor() 117 if (!arg->type().isScalar() && !arg->type().isVector()) { in convert_compound_constructor() 162 if (type.isVector() || type.isMatrix()) { in Convert()
|
D | SkSLConstructorCompoundCast.cpp | 73 SkASSERT(type.isVector() || type.isMatrix()); in Make() 75 SkASSERT(arg->type().isVector() == type.isVector()); in Make()
|
D | SkSLIndexExpression.cpp | 68 if (!baseType.isArray() && !baseType.isMatrix() && !baseType.isVector()) { in Convert() 94 SkASSERT(baseType.isArray() || baseType.isMatrix() || baseType.isVector()); in Make() 101 if (baseType.isVector()) { in Make()
|
D | SkSLConstructorCompound.cpp | 31 SkASSERT(type.isVector() || type.isMatrix()); in Make() 34 return (argType.isScalar() || argType.isVector() || argType.isMatrix()) && in Make()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | ConvertUnsupportedConstructorsToFunctionCalls.cpp | 45 else if (type.isVector()) in AppendScalarFromNonScalarArguments() 92 else if (parameter->isVector()) in AppendValuesFromMultipleArguments() 195 if (!type.isScalar() && !type.isVector() && !type.isMatrix()) in visitAggregatePost() 224 const bool isSingleVectorCast = arguments.size() == 1 && type.isVector() && in visitAggregatePost() 225 arg0Type.isVector() && in visitAggregatePost() 269 else if (type.isVector()) in visitAggregatePost()
|
/third_party/skia/third_party/externals/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 …]
|
D | LegalizerInfo.cpp | 131 if (!OldTy.isVector()) in mutationIsSane() 136 const unsigned OldElts = OldTy.isVector() ? OldTy.getNumElements() : 1; in mutationIsSane() 137 if (NewTy.isVector()) { in mutationIsSane() 154 if (OldTy.isVector()) { in mutationIsSane() 156 if (!NewTy.isVector() || OldTy.getNumElements() != NewTy.getNumElements()) in mutationIsSane() 160 if (NewTy.isVector()) in mutationIsSane() 309 else if (Type.isVector()) in computeTables() 387 assert(Aspect.Type.isVector()); in getAspectAction() 651 assert(Aspect.Type.isVector()); in findVectorLegalAction()
|
D | LegalizerHelper.cpp | 53 if (NarrowTy.isVector()) { in getNarrowTypeBreakDown() 149 if (MainTy.isVector()) { in extractParts() 176 if (OrigTy.isVector() && TargetTy.isVector()) { in getGCDType() 183 if (OrigTy.isVector() && !TargetTy.isVector()) { in getGCDType() 188 assert(!OrigTy.isVector() && !TargetTy.isVector()); in getGCDType() 203 if (!ResultTy.isVector()) { in insertParts() 208 if (PartTy.isVector()) in insertParts() 621 if(MRI.getType(DstReg).isVector()) in narrowScalar() 747 if(MRI.getType(DstReg).isVector()) in narrowScalar() 797 if (DstTy.isVector()) in narrowScalar() [all …]
|
D | LegalityPredicates.cpp | 74 LegalityPredicate LegalityPredicates::isVector(unsigned TypeIdx) { in isVector() function in LegalityPredicates 76 return Query.Types[TypeIdx].isVector(); in isVector() 157 return QueryTy.isVector() && !isPowerOf2_32(QueryTy.getNumElements()); in numElementsNotPow2()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | AddExplicitTypeCasts.cpp | 41 if (argType.isVector()) in visitAggregatePost() 47 else if (retType.isVector()) in visitAggregatePost() 54 if (argType.isVector()) in visitAggregatePost()
|
D | AstHelpers.cpp | 249 ASSERT(type.isArray() || type.isVector() || type.isMatrix()); in AccessIndex() 269 ASSERT(vectorNode.getType().isVector()); in SubVector() 294 if (!type.isVector()) in IsVectorBasicType() 368 ASSERT(type.isRank0() || type.isVector()); in SetVectorDim() 419 if (toBasicType == TBasicType::EbtBool && fromNode.isVector() && needsExplicitBoolCast) in CoerceSimple() 472 if (toBasicType == TBasicType::EbtBool && fromNode.isVector() && needsExplicitBoolCast) in CoerceSimple()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 367 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath() 408 child->isVector()), in addUnaryMath() 1416 } else if (type.isVector()) { in addShapeConversion() 1423 if (sourceType.isVector()) { in addShapeConversion() 1425 if (type.isVector()) in addShapeConversion() 1440 if ((node->getType().isScalarOrVec1() && type.isVector()) || in addShapeConversion() 1441 (node->getType().isVector() && type.isScalar()) || in addShapeConversion() 1442 (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize())) in addShapeConversion() 2700 … (binary->getLeft()->getType().isVector() || binary->getLeft()->getType().isScalar()) && in findLValueBase() 3425 if (left->isVector()) in promoteBinary() [all …]
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | Intermediate.cpp | 341 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath() 348 if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath() 488 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath() 498 if (!child->getType().isScalar() && !child->getType().isVector() && !child->getType().isMatrix()) in addUnaryMath() 1016 if (left->isVector()) in promote() 1028 if (right->isVector()) { in promote() 1040 if (left->isVector() && right->isVector()) { in promote() 1042 } else if (left->isVector() || right->isVector()) { in promote() 1059 if (left->isVector()) in promote() 1065 if (right->isVector()) { in promote() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | LowLevelType.cpp | 19 if (VT.isVector()) { in LLT() 37 if (isVector()) in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LowLevelType.cpp | 46 if (!Ty.isVector()) in getMVTForLLT() 55 if (!Ty.isVector()) in getLLTForMVT()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallLowering.cpp | 209 if (OrigTy.isVector()) { in getMultipleType() 231 if (SrcTy.isVector() && !PartTy.isVector() && in unpackRegsToOrigType() 494 if (!LLTy.isVector() && !PartLLT.isVector()) { in packSplitRegsToOrigType() 499 if (LLTy.isVector() && PartLLT.isVector()) { in packSplitRegsToOrigType() 521 assert(LLTy.isVector() && !PartLLT.isVector()); in packSplitRegsToOrigType()
|
/third_party/skia/src/sksl/ |
D | SkSLOperators.cpp | 238 return right.isMatrix() || right.isVector(); in isMatrixMultiply() 240 return left.isVector() && right.isMatrix(); in isMatrixMultiply() 321 if (right.isVector()) { in determineBinaryType() 339 bool leftIsVectorOrMatrix = left.isVector() || left.isMatrix(); in determineBinaryType() 356 bool rightIsVectorOrMatrix = right.isVector() || right.isMatrix(); in determineBinaryType()
|
D | SkSLConstantFolder.cpp | 90 SkASSERT(left.type().isVector()); in simplify_vector() 408 if ((leftType.isScalar() || leftType.isVector()) && in Simplify() 409 (rightType.isScalar() || rightType.isVector())) { in Simplify() 504 if (leftType.isVector() && leftType == rightType) { in Simplify() 518 if (leftType.isVector() && leftType.componentType() == rightType) { in Simplify() 533 if (rightType.isVector() && rightType.componentType() == leftType) { in Simplify()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | VectorizeVectorScalarArithmetic.cpp | 105 if (left->isScalar() && right->isVector()) in visitBinary() 117 else if (left->isVector() && right->isScalar()) in visitBinary() 219 if (!node->isConstructor() || !node->isVector() || node->getSequence()->size() != 1) in visitAggregate()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 39 if (node && node->isVector()) in ContainsVectorNode() 145 if (node->getType().isVector() && ContainsMatrixNode(*(node->getSequence()))) in match()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 813 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifySDNode() 826 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifySDNode() 1170 assert(!VT.isVector() && in getZeroExtendInReg() 1246 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) == in getConstant() 1258 else if (NewNodesMustHaveLegalTypes && VT.isVector() && in getConstant() 1309 if (!VT.isVector()) in getConstant() 1322 else if (VT.isVector()) in getConstant() 1360 if (!VT.isVector()) in getConstantFP() 1370 if (VT.isVector()) in getConstantFP() 1929 if (OpTy == ShTy || OpTy.isVector()) return Op; in getShiftAmountOperand() [all …]
|