Searched refs:IsSameExpressionTree (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/sksl/ |
D | SkSLAnalysis.cpp | 418 bool Analysis::IsSameExpressionTree(const Expression& left, const Expression& right) { in IsSameExpressionTree() function in SkSL::Analysis 451 if (!IsSameExpressionTree(*leftSpan[index], *rightSpan[index])) { in IsSameExpressionTree() 459 IsSameExpressionTree(*left.as<FieldAccess>().base(), in IsSameExpressionTree() 463 return IsSameExpressionTree(*left.as<IndexExpression>().index(), in IsSameExpressionTree() 465 IsSameExpressionTree(*left.as<IndexExpression>().base(), in IsSameExpressionTree() 470 IsSameExpressionTree(*left.as<Swizzle>().base(), *right.as<Swizzle>().base()); in IsSameExpressionTree()
|
D | SkSLAnalysis.h | 127 bool IsSameExpressionTree(const Expression& left, const Expression& right);
|
D | SkSLConstantFolder.cpp | 352 if (op.kind() == Token::Kind::TK_EQ && Analysis::IsSameExpressionTree(*left, *right)) { in Simplify() 389 if (op.kind() == Token::Kind::TK_EQEQ && Analysis::IsSameExpressionTree(*left, *right)) { in Simplify() 395 if (op.kind() == Token::Kind::TK_NEQ && Analysis::IsSameExpressionTree(*left, *right)) { in Simplify()
|