Home | History | Annotate | Download | only in Chapter7

Lines Matching refs:Else

66     if (IdentifierStr == "else") return tok_else;
163 /// IfExprAST - Expression class for if/then/else.
165 ExprAST *Cond, *Then, *Else;
168 : Cond(cond), Then(then), Else(_else) {}
321 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
337 return Error("expected else");
341 ExprAST *Else = ParseExpression();
342 if (!Else) return 0;
344 return new IfExprAST(Cond, Then, Else);
723 // Create blocks for the then and else cases. Insert the 'then' block at the
726 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
741 // Emit else block.
745 Value *ElseV = Else->Codegen();
749 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
822 } else {
854 else
881 } else { // If not specified, use 0.0.
1013 } else {
1025 } else {
1043 } else {