Home
last modified time | relevance | path

Searched refs:leftType (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DClampIndirectIndices.cpp48 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
62 if (leftType.isUnsizedArray()) in visitBinary()
74 else if (leftType.isArray()) in visitBinary()
76 max = createClampValue(static_cast<int>(leftType.getOutermostArraySize()) - 1, in visitBinary()
81 ASSERT(leftType.isVector() || leftType.isMatrix()); in visitBinary()
82 max = createClampValue(leftType.getNominalSize() - 1, useFloatClamp); in visitBinary()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp406 const Type& leftType = left->type(); in Simplify() local
408 if ((leftType.isScalar() || leftType.isVector()) && in Simplify()
504 if (leftType.isVector() && leftType == rightType) { in Simplify()
505 if (leftType.componentType().isFloat()) { in Simplify()
508 if (leftType.componentType().isInteger()) { in Simplify()
511 if (leftType.componentType().isBoolean()) { in Simplify()
518 if (leftType.isVector() && leftType.componentType() == rightType) { in Simplify()
533 if (rightType.isVector() && rightType.componentType() == leftType) { in Simplify()
534 if (leftType.isFloat()) { in Simplify()
537 if (leftType.isInteger()) { in Simplify()
[all …]
/third_party/skia/src/sksl/ir/
DSkSLBinaryExpression.cpp95 const Type* leftType; in Convert() local
99 &leftType, &rightType, &resultType)) { in Convert()
106 if (isAssignment && leftType->componentType().isOpaque()) { in Convert()
117 if (leftType->isOrContainsArray()) { in Convert()
127 left = leftType->coerceExpression(std::move(left), context); in Convert()
141 const Type* leftType; in Make() local
145 &leftType, &rightType, &resultType)); in Make()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp258 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
259 if (leftType.isInterfaceBlock()) in visitBinary()
261 const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); in visitBinary()
273 leftType.isArray() ? leftType.getOutermostArraySize() : 1; in visitBinary()
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp1552 void MetalCodeGenerator::writeEqualityHelpers(const Type& leftType, const Type& rightType) { in writeEqualityHelpers() argument
1553 if (leftType.isArray() && rightType.isArray()) { in writeEqualityHelpers()
1554 this->writeArrayEqualityHelpers(leftType); in writeEqualityHelpers()
1557 if (leftType.isStruct() && rightType.isStruct()) { in writeEqualityHelpers()
1558 this->writeStructEqualityHelpers(leftType); in writeEqualityHelpers()
1561 if (leftType.isMatrix() && rightType.isMatrix()) { in writeEqualityHelpers()
1562 this->writeMatrixEqualityHelpers(leftType, rightType); in writeEqualityHelpers()
1592 const Type& leftType = left.type(); in writeBinaryExpression() local
1599 this->writeEqualityHelpers(leftType, rightType); in writeBinaryExpression()
1600 if (leftType.isVector()) { in writeBinaryExpression()
[all …]
DSkSLSPIRVCodeGenerator.cpp2326 SpvId SPIRVCodeGenerator::writeBinaryExpression(const Type& leftType, SpvId lhs, Operator op, in writeBinaryExpression() argument
2337 if (this->getActualType(leftType) != this->getActualType(rightType)) { in writeBinaryExpression()
2338 if (leftType.isVector() && rightType.isNumber()) { in writeBinaryExpression()
2356 const Type& vecType = leftType; in writeBinaryExpression()
2365 operandType = &leftType; in writeBinaryExpression()
2366 } else if (rightType.isVector() && leftType.isNumber()) { in writeBinaryExpression()
2386 } else if (leftType.isMatrix()) { in writeBinaryExpression()
2407 SpvId rhsMatrix = this->writeScalarToMatrixSplat(leftType, rhs, out); in writeBinaryExpression()
2410 return this->writeBinaryExpression(leftType, lhs, op, leftType, rhsMatrix, in writeBinaryExpression()
2417 if (leftType.isVector()) { in writeBinaryExpression()
[all …]
DSkSLMetalCodeGenerator.h185 void writeEqualityHelpers(const Type& leftType, const Type& rightType);
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DArabicShaping.java69 public static void shape(char[] chars, int leftType, int rightType, ClassTable isolClassTable) { in shape() argument
121 if (rightShapes && rightCauses && (leftType & MASK_SHAPE_RIGHT) != 0) { in shape()
DCanonGSUBBuilder.java40 int leftType = ArabicShaping.VALUE_NONE; in convertArabicString() local
52 leftType = ArabicShaping.VALUE_RIGHT; in convertArabicString()
57 leftType = ArabicShaping.VALUE_RIGHT; in convertArabicString()
66 ArabicShaping.shape(chars, leftType, rightType, isolClassTable); in convertArabicString()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DRewriteUnaddressableReferences.cpp44 const TType &leftType = binary.getLeft()->getType(); in IsVectorAccess() local
45 if (!leftType.isVector() || leftType.isArray()) in IsVectorAccess()
DToposortStructs.cpp263 const TType &leftType = binary->getLeft()->getType(); in visitBinary() local
265 ASSERT(leftType.getStruct() == rightType.getStruct()); in visitBinary()
266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct())) in visitBinary()
DEmitMetal.cpp746 const TType &leftType = binaryNode->getLeft()->getType(); in Parenthesize() local
748 return IsSymbolicOperator(binaryNode->getOp(), resultType, &leftType, &rightType); in Parenthesize()
1520 TType leftType = leftNode.getType(); in visitBinary() local
1527 if (leftType.isUnsizedArray()) in visitBinary()
1535 if (leftType.isArray()) in visitBinary()
1537 maxSize = static_cast<int>(leftType.getOutermostArraySize()) - 1; in visitBinary()
1541 maxSize = leftType.getNominalSize() - 1; in visitBinary()
1554 const TType &leftType = leftNode.getType(); in visitBinary() local
1557 if (IsSymbolicOperator(op, resultType, &leftType, &rightType)) in visitBinary()
1568 mOut << GetOperatorString(op, resultType, &leftType, &rightType, nullptr) << " "; in visitBinary()
[all …]
DProgramPrelude.cpp3888 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
3890 visitOperator(node->getOp(), nullptr, &leftType, &rightType); in visitBinary()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp576 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
577 if (leftType.isInterfaceBlock()) in visitBinary()
581 ASSERT(leftType.getQualifier() == EvqBuffer); in visitBinary()
583 const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); in visitBinary()
DOutputGLSLBase.cpp574 TType leftType = left->getType(); in visitBinary() local
581 if (leftType.isUnsizedArray()) in visitBinary()
595 if (leftType.isArray()) in visitBinary()
597 maxSize = static_cast<int>(leftType.getOutermostArraySize()) - 1; in visitBinary()
601 maxSize = leftType.getNominalSize() - 1; in visitBinary()
DIntermNode.cpp2024 const TType &leftType, in FoldBinary() argument
2032 size_t objectSize = leftType.getObjectSize(); in FoldBinary()
2075 ASSERT(leftType.getBasicType() == EbtFloat && rightType.getBasicType() == EbtFloat); in FoldBinary()
2077 const int leftCols = leftType.getCols(); in FoldBinary()
2078 const int leftRows = leftType.getRows(); in FoldBinary()
2108 if (IsFloatDivision(leftType.getBasicType(), rightType.getBasicType())) in FoldBinary()
2157 switch (leftType.getBasicType()) in FoldBinary()
2250 const int matrixCols = leftType.getCols(); in FoldBinary()
2251 const int matrixRows = leftType.getRows(); in FoldBinary()
2272 ASSERT(leftType.getBasicType() == EbtFloat); in FoldBinary()
[all …]
DOutputHLSL.cpp1558 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
1559 if (leftType.isInterfaceBlock()) in visitBinary()
1564 const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); in visitBinary()
1566 ASSERT(leftType.getQualifier() == EvqUniform); in visitBinary()
1584 else if (IsAtomicCounter(leftType.getBasicType())) in visitBinary()
1599 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
1600 if (IsAtomicCounter(leftType.getBasicType())) in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp543 const TType &leftType = binaryNode->getLeft()->getType(); in traverseNode() local
544 if (leftType.isInterfaceBlock()) in traverseNode()
546 ASSERT(leftType.getQualifier() == EvqBuffer); in traverseNode()
DIntermNode.cpp2375 const TType &leftType, in FoldBinary() argument
2383 size_t objectSize = leftType.getObjectSize(); in FoldBinary()
2426 ASSERT(leftType.getBasicType() == EbtFloat && rightType.getBasicType() == EbtFloat); in FoldBinary()
2428 const int leftCols = leftType.getCols(); in FoldBinary()
2429 const int leftRows = leftType.getRows(); in FoldBinary()
2459 if (IsFloatDivision(leftType.getBasicType(), rightType.getBasicType())) in FoldBinary()
2508 switch (leftType.getBasicType()) in FoldBinary()
2601 const int matrixCols = leftType.getCols(); in FoldBinary()
2602 const int matrixRows = leftType.getRows(); in FoldBinary()
2623 ASSERT(leftType.getBasicType() == EbtFloat); in FoldBinary()
[all …]
DOutputHLSL.cpp1620 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
1621 if (leftType.isInterfaceBlock()) in visitBinary()
1626 const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); in visitBinary()
1628 ASSERT(leftType.getQualifier() == EvqUniform); in visitBinary()
1646 else if (IsAtomicCounter(leftType.getBasicType())) in visitBinary()
1680 const TType &leftType = node->getLeft()->getType(); in visitBinary() local
1681 if (IsAtomicCounter(leftType.getBasicType())) in visitBinary()
/third_party/flutter/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp2068 SpvId SPIRVCodeGenerator::writeBinaryExpression(const Type& leftType, SpvId lhs, Token::Kind op, in writeBinaryExpression() argument
2076 if (this->getActualType(leftType) != this->getActualType(rightType)) { in writeBinaryExpression()
2077 if (leftType.kind() == Type::kVector_Kind && rightType.isNumber()) { in writeBinaryExpression()
2093 const Type& vecType = leftType; in writeBinaryExpression()
2101 operandType = &leftType; in writeBinaryExpression()
2102 } else if (rightType.kind() == Type::kVector_Kind && leftType.isNumber()) { in writeBinaryExpression()
2120 } else if (leftType.kind() == Type::kMatrix_Kind) { in writeBinaryExpression()
2135 if (leftType.kind() == Type::kVector_Kind) { in writeBinaryExpression()
2139 SkASSERT(leftType.kind() == Type::kScalar_Kind); in writeBinaryExpression()
2149 tmp = this->getActualType(leftType); in writeBinaryExpression()
[all …]
DSkSLSPIRVCodeGenerator.h279 SpvId writeBinaryExpression(const Type& leftType, SpvId lhs, Token::Kind op,
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp562 const TType& leftType = topNode->getLeft()->getType(); in addDereferencedUniform() local
563 if ((leftType.isVector() || leftType.isMatrix()) && ! leftType.isArray()) in addDereferencedUniform()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp706 const TType &leftType = left->getType(); in visitBinary() local
725 if(leftType.getQualifier() == EvqConstExpr && leftType.isArray() && leftType.getArraySize() > 1) in visitBinary()
741 for(int i = 0; i < leftType.getNominalSize(); i++) in visitBinary()
757 int size = leftType.getNominalSize(); in visitBinary()
772 int dim = leftType.getNominalSize(); in visitBinary()
883 for(int i = 0; i < leftType.getNominalSize(); i++) in visitBinary()
901 sw::Shader::Opcode dpOpcode = sw::Shader::OPCODE_DP(leftType.getNominalSize()); in visitBinary()
928 int dim = leftType.getNominalSize(); in visitBinary()
3431 const TType &leftType = left->getType(); in samplerRegister() local
3439 offset = index * leftType.samplerRegisterCount(); in samplerRegister()
[all …]
/third_party/typescript/src/compiler/
Dchecker.ts416 getPrivateIdentifierPropertyOfType: (leftType: Type, name: string, location: Node) => {
423 …return lexicallyScopedIdentifier ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIde…
26320 const leftType = checkExpression(node.expression, checkMode);
26321 const nonOptionalType = getOptionalExpressionType(leftType, node.expression);
26322 …heckNonNullType(nonOptionalType, node.expression), node.name), node, nonOptionalType !== leftType);
26348 …function getPrivateIdentifierPropertyOfType(leftType: Type, lexicallyScopedIdentifier: Symbol): Sy…
26349 return getPropertyOfType(leftType, lexicallyScopedIdentifier.escapedName);
26352 …function checkPrivateIdentifierPropertyAccess(leftType: Type, right: PrivateIdentifier, lexicallyS…
26356 const properties = getPropertiesOfType(leftType);
26384 typeToString(leftType)
[all …]

12