Home | History | Annotate | Download | only in Chapter5

Lines Matching defs:Else

81     if (IdentifierStr == "else")
174 /// IfExprAST - Expression class for if/then/else.
176 std::unique_ptr<ExprAST> Cond, Then, Else;
180 std::unique_ptr<ExprAST> Else)
181 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
303 else
321 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
339 return LogError("expected else");
343 auto Else = ParseExpression();
344 if (!Else)
348 std::move(Else));
618 // Create blocks for the then and else cases. Insert the 'then' block at the
621 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
637 // Emit else block.
641 Value *ElseV = Else->codegen();
646 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
714 } else {
747 else
839 } else {
852 } else {
879 } else {