Home | History | Annotate | Download | only in Chapter6

Lines Matching refs:Else

63     if (IdentifierStr == "else") return tok_else;
158 /// IfExprAST - Expression class for if/then/else.
160 ExprAST *Cond, *Then, *Else;
163 : Cond(cond), Then(then), Else(_else) {}
303 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
319 return Error("expected else");
323 ExprAST *Else = ParseExpression();
324 if (!Else) return 0;
326 return new IfExprAST(Cond, Then, Else);
627 // Create blocks for the then and else cases. Insert the 'then' block at the
630 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
645 // Emit else block.
649 Value *ElseV = Else->Codegen();
653 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
720 } else {
752 else
850 } else {
862 } else {
880 } else {