Home
last modified time | relevance | path

Searched refs:TK_EQEQ (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp38 (op.kind() == Token::Kind::TK_EQEQ && rightVal) || // (expr == true) -> (expr) in eliminate_no_op_boolean()
68 if (op.kind() == Token::Kind::TK_EQEQ || op.kind() == Token::Kind::TK_NEQ) { in simplify_vector_equality()
69 bool equality = (op.kind() == Token::Kind::TK_EQEQ); in simplify_vector_equality()
365 case Token::Kind::TK_EQEQ: result = leftVal == rightVal; break; in Simplify()
389 if (op.kind() == Token::Kind::TK_EQEQ && Analysis::IsSameExpressionTree(*left, *right)) { in Simplify()
453 case Token::Kind::TK_EQEQ: return RESULT(==); in Simplify()
492 case Token::Kind::TK_EQEQ: return RESULT(==); in Simplify()
552 case Token::Kind::TK_EQEQ: in Simplify()
DSkSLOperators.cpp29 case Kind::TK_EQEQ: // fall through in getBinaryPrecedence()
71 case Kind::TK_EQEQ: in isOperator()
114 case Kind::TK_EQEQ: return "=="; in operatorName()
261 case Token::Kind::TK_EQEQ: // left == right in determineBinaryType()
DSkSLLexer.h85 TK_EQEQ, enumerator
DSkSLDSLParser.cpp1422 case Token::Kind::TK_EQEQ: OPERATOR_RIGHT(==, relationalExpression); break; in equalityExpression()
/third_party/skia/src/sksl/analysis/
DSkSLGetLoopUnrollInfo.cpp102 case Token::Kind::TK_EQEQ: in get_es2_loop_unroll_info()
211 case Token::Kind::TK_EQEQ: { in get_es2_loop_unroll_info()
/third_party/skia/src/sksl/ir/
DSkSLTernaryExpression.cpp31 Operator equalityOp(Token::Kind::TK_EQEQ); in Convert()
/third_party/skia/src/sksl/dsl/
DDSLExpression.cpp241 OP(==, TK_EQEQ)
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp856 SkASSERT(op.kind() == Token::Kind::TK_EQEQ || op.kind() == Token::Kind::TK_NEQ); in writeMatrixComparisonWorkaround()
889 (op.kind() == Token::Kind::TK_EQEQ || op.kind() == Token::Kind::TK_NEQ)) { in writeBinaryExpression()
DSkSLSPIRVCodeGenerator.cpp2447 case Token::Kind::TK_EQEQ: { in writeBinaryExpression()
2578 SkASSERT(op.kind() == Token::Kind::TK_EQEQ || op.kind() == Token::Kind::TK_NEQ); in writeArrayComparison()
2606 SkASSERT(op.kind() == Token::Kind::TK_EQEQ || op.kind() == Token::Kind::TK_NEQ); in writeStructComparison()
2643 case Token::Kind::TK_EQEQ: in mergeComparisons()
DSkSLMetalCodeGenerator.cpp1598 case Token::Kind::TK_EQEQ: in writeBinaryExpression()
DSkSLVMCodeGenerator.cpp677 case Token::Kind::TK_EQEQ: { in writeBinaryExpression()