Home
last modified time | relevance | path

Searched refs:isAssignment (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLBinaryExpression.cpp85 bool isAssignment = op.isAssignment(); in Convert() local
86 if (isAssignment && in Convert()
106 if (isAssignment && leftType->componentType().isOpaque()) { in Convert()
160 SkASSERT(!op.isAssignment() || Analysis::IsAssignable(*left)); in Make()
161 SkASSERT(!op.isAssignment() || !left->type().componentType().isOpaque()); in Make()
DSkSLBinaryExpression.h37 SkASSERT(!op.isAssignment() || CheckRef(*this->left())); in BinaryExpression()
87 if (property == Property::kSideEffects && this->getOperator().isAssignment()) { in hasProperty()
/third_party/skia/src/sksl/
DSkSLOperators.cpp138 bool Operator::isAssignment() const { in isAssignment() function in SkSL::Operator
309 bool isAssignment = this->isAssignment(); in determineBinaryType() local
332 if (isAssignment && ((*outResultType)->columns() != leftColumns || in determineBinaryType()
358 if (!isAssignment && rightIsVectorOrMatrix && validMatrixOrVectorOp && left.isScalar()) { in determineBinaryType()
373 CoercionCost leftToRightCost = isAssignment ? CoercionCost::Impossible() in determineBinaryType()
DSkSLOperators.h56 bool isAssignment() const;
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteRepeatedAssignToSwizzled.cpp69 if (parentBlock && node->isAssignment() && node->getLeft()->getAsSwizzleNode() && rightBinary && in visitBinary()
70 rightBinary->isAssignment()) in visitBinary()
DBreakVariableAliasingInInnerLoops.cpp48 if (mLoopLevel < 2 || !binary->isAssignment()) in visitBinary()
DVectorizeVectorScalarArithmetic.cpp107 ASSERT(!node->isAssignment()); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
DRewriteRepeatedAssignToSwizzled.cpp74 if (parentBlock && node->isAssignment() && node->getLeft()->getAsSwizzleNode() && rightBinary && in visitBinary()
75 rightBinary->isAssignment()) in visitBinary()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DValidateGlobalInitializer.cpp106 if (node->isAssignment()) in visitBinary()
115 if (node->isAssignment()) in visitUnary()
DIntermNode.h388 bool isAssignment() const;
396 bool hasSideEffects() const override { return isAssignment(); } in hasSideEffects()
476 return isAssignment() || mLeft->hasSideEffects() || mRight->hasSideEffects(); in hasSideEffects()
524 bool hasSideEffects() const override { return isAssignment() || mOperand->hasSideEffects(); } in hasSideEffects()
DIntermNode.cpp1074 bool TIntermOperator::isAssignment() const in isAssignment() function in sh::TIntermOperator
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateGlobalInitializer.cpp111 if (node->isAssignment()) in visitBinary()
120 if (node->isAssignment()) in visitUnary()
DIntermNode.h426 bool isAssignment() const;
433 bool hasSideEffects() const override { return isAssignment(); } in hasSideEffects()
515 return isAssignment() || mLeft->hasSideEffects() || mRight->hasSideEffects(); in hasSideEffects()
559 bool hasSideEffects() const override { return isAssignment() || mOperand->hasSideEffects(); } in hasSideEffects()
DIntermNode.cpp1225 bool TIntermOperator::isAssignment() const in isAssignment() function in sh::TIntermOperator
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DBreakVariableAliasingInInnerLoops.cpp49 if (mLoopLevel < 2 || !binary->isAssignment()) in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveArrayLengthMethod.cpp77 if (asBinary && !asBinary->isAssignment()) in insertSideEffectsInParentBlock()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermTraverse.cpp329 if (node->isAssignment()) in traverseBinary()
337 if (node->isAssignment()) in traverseBinary()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp589 bool isAssignment = op.isAssignment(); in writeBinaryExpression() local
590 if (isAssignment) { in writeBinaryExpression()
598 SkASSERT(!isAssignment); in writeBinaryExpression()
606 SkASSERT(!isAssignment); in writeBinaryExpression()
651 return isAssignment ? this->writeStore(left, result) : result; in writeBinaryExpression()
668 return isAssignment ? this->writeStore(left, result) : result; in writeBinaryExpression()
678 SkASSERT(!isAssignment); in writeBinaryExpression()
688 SkASSERT(!isAssignment); in writeBinaryExpression()
DSkSLGLSLCodeGenerator.cpp899 op.isAssignment() && in writeBinaryExpression()
DSkSLMetalCodeGenerator.cpp1635 if (op.kind() != Token::Kind::TK_EQ && op.isAssignment() && in writeBinaryExpression()
DSkSLSPIRVCodeGenerator.cpp2695 if (op.isAssignment()) { in writeBinaryExpression()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermTraverse.cpp335 if (node->isAssignment()) in traverseBinary()
343 if (node->isAssignment()) in traverseBinary()