Home | History | Annotate | Download | only in Chapter7

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.
729 // Look this variable up in the function.
732 return LogErrorV("Unknown variable name");
759 return LogErrorV("destination of '=' must be a variable");
766 Value *Variable = NamedValues[LHSE->getName()];
767 if (!Variable)
768 return LogErrorV("Unknown variable name");
770 Builder.CreateStore(Val, Variable);
897 // Create an alloca for the variable in the entry block.
900 // Emit the start code first, without 'variable' in scope.
918 // Within the loop, the variable is defined equal to the PHI node. If it
919 // shadows an existing variable, we have to restore it, so save it now.
946 // the body of the loop mutates the variable.
965 // Restore the unshadowed variable.
985 // Emit the initializer before adding the variable to scope, this prevents
986 // the initializer from referencing the variable itself, and permits stuff
1002 // Remember the old variable binding so that we can restore the binding when
1060 // Create an alloca for this variable.
1066 // Add arguments to variable symbol table.