Lines Matching refs:VariableReference
104 if (!fWritesToSampleCoords && maybeCoords->is<VariableReference>() && in visitExpression()
105 maybeCoords->as<VariableReference>().variable()->modifiers().fLayout.fBuiltin == in visitExpression()
130 if (e.is<VariableReference>()) { in visitExpression()
131 const VariableReference& var = e.as<VariableReference>(); in visitExpression()
205 if (e.is<VariableReference>()) { in visitExpression()
206 const VariableReference& ref = e.as<VariableReference>(); in visitExpression()
208 (ref.refKind() == VariableReference::RefKind::kWrite || in visitExpression()
209 ref.refKind() == VariableReference::RefKind::kReadWrite || in visitExpression()
210 ref.refKind() == VariableReference::RefKind::kPointer)) { in visitExpression()
249 VariableReference& varRef = expr.as<VariableReference>(); in visitExpression()
299 VariableReference* fAssignedVar = nullptr;
385 VariableReference::RefKind kind, in UpdateVariableRefKind()
403 expr.is<VariableReference>() || in IsTrivialExpression()
473 return left.as<VariableReference>().variable() == in IsSameExpressionTree()
474 right.as<VariableReference>().variable(); in IsSameExpressionTree()