Home | History | Annotate | Download | only in Chapter3

Lines Matching refs:Variable

155 /// VariableExprAST - Expression class for referencing a variable, like "a".
346 if (CurTok != '(') // Simple variable ref.
457 // At least one variable name is required.
728 // Look this variable up in the function.
731 return LogErrorV("Unknown variable name");
758 return LogErrorV("destination of '=' must be a variable");
765 Value *Variable = NamedValues[LHSE->getName()];
766 if (!Variable)
767 return LogErrorV("Unknown variable name");
769 Builder.CreateStore(Val, Variable);
896 // Create an alloca for the variable in the entry block.
899 // Emit the start code first, without 'variable' in scope.
917 // Within the loop, the variable is defined equal to the PHI node. If it
918 // shadows an existing variable, we have to restore it, so save it now.
945 // the body of the loop mutates the variable.
964 // Restore the unshadowed variable.
984 // Emit the initializer before adding the variable to scope, this prevents
985 // the initializer from referencing the variable itself, and permits stuff
1001 // Remember the old variable binding so that we can restore the binding when
1059 // Create an alloca for this variable.
1065 // Add arguments to variable symbol table.