Home | History | Annotate | Download | only in Chapter5

Lines Matching defs:Else

59     if (IdentifierStr == "else") return tok_else;
142 /// IfExprAST - Expression class for if/then/else.
144 ExprAST *Cond, *Then, *Else;
147 : Cond(cond), Then(then), Else(_else) {}
273 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
289 return Error("expected else");
293 ExprAST *Else = ParseExpression();
294 if (!Else) return 0;
296 return new IfExprAST(Cond, Then, Else);
521 // Create blocks for the then and else cases. Insert the 'then' block at the
524 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
539 // Emit else block.
543 Value *ElseV = Else->Codegen();
547 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
614 } else {
646 else
737 } else {
749 } else {
767 } else {