Lines Matching defs:variable
220 const Variable* Inliner::RemapVariable(const Variable* variable,
222 auto iter = varMap->find(variable);
224 SkDEBUGFAILF("rewrite map does not contain variable '%.*s'",
225 (int)variable->name().size(), variable->name().data());
226 return variable;
231 SkDEBUGFAILF("rewrite map contains non-variable replacement for '%.*s'",
232 (int)variable->name().size(), variable->name().data());
233 return variable;
235 return expr->as<VariableReference>().variable();
441 auto varMapIter = varMap->find(v.variable());
514 // index. This variable has been rewritten into a clone by the inliner, so we need
541 // inside an Block's scope, we don't need to store the result in a variable at all. Just
549 // For more complex functions, assign their result into a variable.
578 const Variable& variable = decl.var();
584 fContext->fMangler->uniqueName(variable.name(), symbolTableForStatement));
587 &variable.modifiers(),
589 variable.type().clone(symbolTableForStatement),
591 variable.storage());
592 (*varMap)[&variable] = VariableReference::Make(line, clonedVar.get());
634 1 + // Result variable
644 // Create a variable to hold the result in the extra statements. We don't need to do this