Home | History | Annotate | Download | only in Chapter5

Lines Matching defs:Else

69     if (IdentifierStr == "else")
162 /// IfExprAST - Expression class for if/then/else.
164 std::unique_ptr<ExprAST> Cond, Then, Else;
168 std::unique_ptr<ExprAST> Else)
169 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
291 else
309 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
327 return Error("expected else");
331 auto Else = ParseExpression();
332 if (!Else)
336 std::move(Else));
606 // Create blocks for the then and else cases. Insert the 'then' block at the
610 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
626 // Emit else block.
630 Value *ElseV = Else->codegen();
635 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
705 } else {
738 else
831 } else {
844 } else {
872 } else {