Home | History | Annotate | Download | only in Chapter5

Lines Matching refs:Else

60     if (IdentifierStr == "else") return tok_else;
143 /// IfExprAST - Expression class for if/then/else.
145 ExprAST *Cond, *Then, *Else;
148 : Cond(cond), Then(then), Else(_else) {}
275 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
291 return Error("expected else");
295 ExprAST *Else = ParseExpression();
296 if (!Else) return 0;
298 return new IfExprAST(Cond, Then, Else);
523 // Create blocks for the then and else cases. Insert the 'then' block at the
526 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
541 // Emit else block.
545 Value *ElseV = Else->Codegen();
549 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
616 } else {
648 else
739 } else {
751 } else {
769 } else {