Searched refs:indexExpr (Results 1 – 4 of 4) sorted by relevance
52 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Convert() local53 if (indexExpr->is<IntLiteral>()) { in Convert()54 SKSL_INT indexValue = indexExpr->as<IntLiteral>().value(); in Convert()77 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Make() local78 if (indexExpr->is<IntLiteral>() && baseType.isVector()) { in Make()79 SKSL_INT indexValue = indexExpr->as<IntLiteral>().value(); in Make()
985 IndexExpression& indexExpr = (*expr)->as<IndexExpression>(); in visitExpression() local986 this->visitExpression(&indexExpr.base()); in visitExpression()987 this->visitExpression(&indexExpr.index()); in visitExpression()
1490 IndexExpression& indexExpr = (IndexExpression&) expr; in getAccessChain() local1491 chain = this->getAccessChain(*indexExpr.fBase, out); in getAccessChain()1492 chain.push_back(this->writeExpression(*indexExpr.fIndex, out)); in getAccessChain()
1795 const IndexExpression& indexExpr = expr.as<IndexExpression>(); in getAccessChain() local1796 chain = this->getAccessChain(*indexExpr.base(), out); in getAccessChain()1797 chain.push_back(this->writeExpression(*indexExpr.index(), out)); in getAccessChain()