Home | History | Annotate | Download | only in Chapter7

Lines Matching defs:Else

76     if (IdentifierStr == "else")
187 /// IfExprAST - Expression class for if/then/else.
189 std::unique_ptr<ExprAST> Cond, Then, Else;
193 std::unique_ptr<ExprAST> Else)
194 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
343 else
361 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
379 return Error("expected else");
383 auto Else = ParseExpression();
384 if (!Else)
388 std::move(Else));
822 // Create blocks for the then and else cases. Insert the 'then' block at the
826 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
842 // Emit else block.
846 Value *ElseV = Else->codegen();
851 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
926 } else {
959 else
986 } else { // If not specified, use 0.0.
1115 } else {
1128 } else {
1156 } else {