Home | History | Annotate | Download | only in Chapter5

Lines Matching defs:Else

71     if (IdentifierStr == "else")
162 /// IfExprAST - Expression class for if/then/else.
164 ExprAST *Cond, *Then, *Else;
168 : Cond(cond), Then(then), Else(_else) {}
308 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
326 return Error("expected else");
330 ExprAST *Else = ParseExpression();
331 if (!Else)
334 return new IfExprAST(Cond, Then, Else);
581 // Create blocks for the then and else cases. Insert the 'then' block at the
585 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
601 // Emit else block.
605 Value *ElseV = Else->Codegen();
610 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
681 } else {
714 else
805 } else {
817 } else {
836 } else {