Searched refs:IsTrivialExpression (Results 1 – 5 of 5) sorted by relevance
401 bool Analysis::IsTrivialExpression(const Expression& expr) { in IsTrivialExpression() function in SkSL::Analysis405 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()
120 bool IsTrivialExpression(const Expression& expr);
668 if ((paramUsage.fRead > 1) ? Analysis::IsTrivialExpression(*arg) in inlineCall()
32 Analysis::IsTrivialExpression(left) && in is_low_precision_matrix_vector_multiply()33 Analysis::IsTrivialExpression(right); in is_low_precision_matrix_vector_multiply()
169 if (exprUsed[constructorArgIndex] > 1 && !Analysis::IsTrivialExpression(baseArg)) { in optimize_constructor_swizzle()