Home | History | Annotate | Download | only in Chapter7

Lines Matching defs:Else

78     if (IdentifierStr == "else")
187 /// IfExprAST - Expression class for if/then/else.
189 ExprAST *Cond, *Then, *Else;
193 : Cond(cond), Then(then), Else(_else) {}
359 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
377 return Error("expected else");
381 ExprAST *Else = ParseExpression();
382 if (!Else)
385 return new IfExprAST(Cond, Then, Else);
794 // Create blocks for the then and else cases. Insert the 'then' block at the
798 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
814 // Emit else block.
818 Value *ElseV = Else->Codegen();
823 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
899 } else {
932 else
959 } else { // If not specified, use 0.0.
1093 } else {
1105 } else {
1124 } else {