Home | History | Annotate | Download | only in Chapter6

Lines Matching defs:Else

73     if (IdentifierStr == "else")
181 /// IfExprAST - Expression class for if/then/else.
183 std::unique_ptr<ExprAST> Cond, Then, Else;
187 std::unique_ptr<ExprAST> Else)
188 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
324 else
342 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
360 return Error("expected else");
364 auto Else = ParseExpression();
365 if (!Else)
369 std::move(Else));
717 // Create blocks for the then and else cases. Insert the 'then' block at the
721 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
737 // Emit else block.
741 Value *ElseV = Else->codegen();
746 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
816 } else {
849 else
949 } else {
962 } else {
990 } else {