Home
last modified time | relevance | path

Searched refs:IsTrivialExpression (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/sksl/
DSkSLAnalysis.cpp401 bool Analysis::IsTrivialExpression(const Expression& expr) { in IsTrivialExpression() function in SkSL::Analysis
405 IsTrivialExpression(*expr.as<Swizzle>().base())) || in IsTrivialExpression()
407 IsTrivialExpression(*expr.as<FieldAccess>().base())) || in IsTrivialExpression()
410 IsTrivialExpression(*expr.asAnyConstructor().argumentSpan().front())) || in IsTrivialExpression()
415 IsTrivialExpression(*expr.as<IndexExpression>().base())); in IsTrivialExpression()
DSkSLAnalysis.h120 bool IsTrivialExpression(const Expression& expr);
DSkSLInliner.cpp668 if ((paramUsage.fRead > 1) ? Analysis::IsTrivialExpression(*arg) in inlineCall()
/third_party/skia/src/sksl/ir/
DSkSLBinaryExpression.cpp32 Analysis::IsTrivialExpression(left) && in is_low_precision_matrix_vector_multiply()
33 Analysis::IsTrivialExpression(right); in is_low_precision_matrix_vector_multiply()
DSkSLSwizzle.cpp169 if (exprUsed[constructorArgIndex] > 1 && !Analysis::IsTrivialExpression(baseArg)) { in optimize_constructor_swizzle()