Home
last modified time | relevance | path

Searched refs:TK_LOGICALAND (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/sksl/
DSkSLOperators.cpp34 case Kind::TK_LOGICALAND: return Precedence::kLogicalAnd; in getBinaryPrecedence()
63 case Kind::TK_LOGICALAND: in isOperator()
106 case Kind::TK_LOGICALAND: return "&&"; in operatorName()
283 case Token::Kind::TK_LOGICALAND: // left && right in determineBinaryType()
DSkSLLexer.h80 TK_LOGICALAND, enumerator
DSkSLConstantFolder.cpp35 if ((op.kind() == Token::Kind::TK_LOGICALAND && rightVal) || // (expr && true) -> (expr) in eliminate_no_op_boolean()
53 if ((op.kind() == Token::Kind::TK_LOGICALAND && !leftVal) || // (false && expr) -> (false) in short_circuit_boolean()
362 case Token::Kind::TK_LOGICALAND: result = leftVal && rightVal; break; in Simplify()
DSkSLInliner.cpp961 bool shortCircuitable = (op.kind() == Token::Kind::TK_LOGICALAND || in visitExpression()
DSkSLDSLParser.cpp1368 while (this->peek().fKind == Token::Kind::TK_LOGICALAND) { in logicalAndExpression()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp882 (op.kind() == Token::Kind::TK_LOGICALAND || op.kind() == Token::Kind::TK_LOGICALOR)) { in writeBinaryExpression()
931 if (b.getOperator().kind() == Token::Kind::TK_LOGICALAND) { in writeShortCircuitWorkaroundExpression()
938 if (b.getOperator().kind() == Token::Kind::TK_LOGICALAND) { in writeShortCircuitWorkaroundExpression()
1313 /*line=*/-1, f.test()->clone(), Token::Kind::TK_LOGICALAND, in writeForStatement()
DSkSLVMCodeGenerator.cpp597 case Token::Kind::TK_LOGICALAND: { in writeBinaryExpression()
DSkSLSPIRVCodeGenerator.cpp2681 case Token::Kind::TK_LOGICALAND: in writeBinaryExpression()
/third_party/skia/src/sksl/dsl/
DDSLExpression.cpp229 OP(&&, TK_LOGICALAND)