Lines Matching refs:Variable
141 /// VariableExprAST - Expression class for referencing a variable, like "a".
293 if (CurTok != '(') // Simple variable ref.
558 // Look this variable up in the function.
561 return LogErrorV("Unknown variable name");
664 // variable = phi [start, loopheader], [nextvariable, loopend]
670 // nextvariable = variable + step
675 // Emit the start code first, without 'variable' in scope.
693 PHINode *Variable =
695 Variable->addIncoming(StartVal, PreheaderBB);
697 // Within the loop, the variable is defined equal to the PHI node. If it
698 // shadows an existing variable, we have to restore it, so save it now.
700 NamedValues[VarName] = Variable;
719 Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar");
742 Variable->addIncoming(NextVar, LoopEndBB);
744 // Restore the unshadowed variable.