/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | VectorizeVectorScalarArithmetic.cpp | 64 ASSERT(node->isScalar()); in Vectorize() 105 if (left->isScalar() && right->isVector()) in visitBinary() 117 else if (left->isVector() && right->isScalar()) in visitBinary() 141 ASSERT(left->isScalar() && right->isScalar()); in replaceMathInsideConstructor() 170 ASSERT(left->isScalar() && right->isScalar()); in replaceAssignInsideConstructor() 225 if (!argument->isScalar() || argument->getBasicType() != EbtFloat) in visitAggregate()
|
D | BreakVariableAliasingInInnerLoops.cpp | 56 if (!type.isScalar() && !type.isVector() && !type.isMatrix()) in visitBinary()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | ConvertUnsupportedConstructorsToFunctionCalls.cpp | 41 if (type.isScalar()) in AppendScalarFromNonScalarArguments() 87 if (parameter->isScalar()) in AppendValuesFromMultipleArguments() 195 if (!type.isScalar() && !type.isVector() && !type.isMatrix()) in visitAggregatePost() 223 arguments.size() == 1 && type.isScalar() && arg0Type.isScalar(); in visitAggregatePost() 265 if (type.isScalar()) in visitAggregatePost() 271 if (arguments.size() == 1 && arg0Type.isScalar()) in visitAggregatePost() 282 if (arguments.size() == 1 && arg0Type.isScalar()) in visitAggregatePost()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLConstructorScalarCast.cpp | 22 SkASSERT(type.isScalar()); in Convert() 32 if (!argType.isScalar()) { in Convert() 60 SkASSERT(type.isScalar()); in Make() 62 SkASSERT(arg->type().isScalar()); in Make()
|
D | SkSLConstructorSplat.cpp | 20 SkASSERT(arg->type().isScalar()); in Make() 23 if (type.isScalar()) { in Make()
|
D | SkSLConstructorCompound.cpp | 26 if (type.isScalar() && args.size() == 1 && args.front()->type() == type) { in Make() 34 return (argType.isScalar() || argType.isVector() || argType.isMatrix()) && in Make()
|
D | SkSLConstructor.cpp | 55 if (argument->type().isScalar()) { in convert_compound_constructor() 117 if (!arg->type().isScalar() && !arg->type().isVector()) { in convert_compound_constructor() 159 if (type.isScalar()) { in Convert()
|
D | SkSLSwizzle.cpp | 142 if (!argType.isScalar() && !argType.isVector()) { in optimize_constructor_swizzle() 187 if (baseArg.type().isScalar()) { in optimize_constructor_swizzle() 286 if (!baseType.isVector() && !baseType.isScalar()) { in Convert() 440 SkASSERTF(exprType.isVector() || exprType.isScalar(), in Make() 454 if (exprType.isScalar()) { in Make()
|
D | SkSLConstructorDiagonalMatrix.cpp | 22 SkASSERT(arg->type().isScalar()); in Make()
|
D | SkSLType.cpp | 126 bool isScalar() const override { in isScalar() function in SkSL::LiteralType 177 bool isScalar() const override { in isScalar() function in SkSL::ScalarType 584 SkASSERT(this->isScalar()); in toCompound() 763 if (this->isScalar()) { in coerceExpression() 838 SkASSERT(this->isScalar()); in checkForOutOfRangeLiteral()
|
D | SkSLConstructorArrayCast.cpp | 29 if (arg->type().isScalar()) { in cast_constant_array()
|
/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() 219 assert(Op1.getLLTTy(*getMRI()).isScalar() && "invalid offset type"); in buildPtrAdd() 228 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd() 355 assert(getMRI()->getType(Tst).isScalar() && "invalid operand type"); in buildBrCond() 449 assert(Res.getLLTTy(*getMRI()).isScalar() || in buildExtOrTrunc() 451 assert(Res.getLLTTy(*getMRI()).isScalar() == in buildExtOrTrunc() 452 Op.getLLTTy(*getMRI()).isScalar()); in buildExtOrTrunc() 490 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast() 492 else if (DstTy.isPointer() && SrcTy.isScalar()) in buildCast() [all …]
|
D | LegalityPredicates.cpp | 68 LegalityPredicate LegalityPredicates::isScalar(unsigned TypeIdx) { in isScalar() function in LegalityPredicates 70 return Query.Types[TypeIdx].isScalar(); in isScalar() 98 return QueryTy.isScalar() && QueryTy.getSizeInBits() < Size; in narrowerThan() 106 return QueryTy.isScalar() && QueryTy.getSizeInBits() > Size; in widerThan() 136 return QueryTy.isScalar() && !isPowerOf2_32(QueryTy.getSizeInBits()); in sizeNotPow2()
|
/third_party/mindspore/mindspore/core/ir/ |
D | tensor.cc | 267 void OutputFloatDataString(std::ostringstream &ss, bool isScalar, const T &value) const { in OutputFloatDataString() argument 268 if (isScalar) { in OutputFloatDataString() 280 void OutputBoolDataString(std::ostringstream &ss, bool isScalar, const T &value) const { in OutputBoolDataString() argument 281 if (isScalar) { in OutputBoolDataString() 289 …void OutputOtherDataString(std::ostringstream &ss, bool isScalar, const T &value, int *max_width) … in OutputOtherDataString() argument 290 if (isScalar) { in OutputOtherDataString() 310 const bool isScalar = ndim_ == 0 && end - start == 1; in OutputDataString() local 322 OutputFloatDataString(ss, isScalar, value); in OutputDataString() 324 OutputBoolDataString(ss, isScalar, value); in OutputDataString() 326 OutputOtherDataString(ss, isScalar, value, max_width); in OutputDataString() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | sparse_to_dense_fp32.c | 19 float *output, bool isScalar, int index_start, int index_end, int out_width) { in SparseToDense() argument 31 if (isScalar == true) { in SparseToDense()
|
D | sparse_to_dense_fp32.h | 25 float *output, bool isScalar, int index_start, int index_end, int out_width);
|
/third_party/skia/src/sksl/ |
D | SkSLOperators.cpp | 342 if (leftIsVectorOrMatrix && validMatrixOrVectorOp && right.isScalar()) { in determineBinaryType() 358 if (!isAssignment && rightIsVectorOrMatrix && validMatrixOrVectorOp && left.isScalar()) { in determineBinaryType() 376 if ((left.isScalar() && right.isScalar()) || (leftIsVectorOrMatrix && validMatrixOrVectorOp)) { in determineBinaryType()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Types.h | 223 bool isScalar() const in isScalar() function 227 bool isScalarFloat() const { return isScalar() && type == EbtFloat; } in isScalarFloat() 228 bool isScalarInt() const { return isScalar() && (type == EbtInt || type == EbtUInt); } in isScalarInt()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | sparse_to_dense_fp32.cc | 46 isScalar = true; in Init() 82 …parse_indices_vect, output_shape, sparse_values, default_value, output_data, isScalar, index_start, in DoExcute()
|
D | sparse_to_dense_fp32.h | 55 bool isScalar = false; variable
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | BreakVariableAliasingInInnerLoops.cpp | 57 if (!type.isScalar() && !type.isVector() && !type.isMatrix()) in visitBinary()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | LowLevelType.cpp | 42 assert(isScalar() && "unexpected type"); in print()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Types.h | 245 bool isScalar() const in isScalar() function 253 bool isScalarFloat() const { return isScalar() && type == EbtFloat; } in isScalarFloat() 254 bool isScalarInt() const { return isScalar() && (type == EbtInt || type == EbtUInt); } in isScalarInt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 91 bool isScalar() const { return isValid() && !IsPointer && !IsVector; } in isScalar() function 109 if (isPointer() || isScalar()) in getSizeInBits()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | FixTypeConstructors.cpp | 30 if (retType.isScalar()) in visitAggregate()
|