Home | History | Annotate | Download | only in Chapter7

Lines Matching defs:Else

65     if (IdentifierStr == "else") return tok_else;
162 /// IfExprAST - Expression class for if/then/else.
164 ExprAST *Cond, *Then, *Else;
167 : Cond(cond), Then(then), Else(_else) {}
319 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
335 return Error("expected else");
339 ExprAST *Else = ParseExpression();
340 if (!Else) return 0;
342 return new IfExprAST(Cond, Then, Else);
721 // Create blocks for the then and else cases. Insert the 'then' block at the
724 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
739 // Emit else block.
743 Value *ElseV = Else->Codegen();
747 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
820 } else {
852 else
879 } else { // If not specified, use 0.0.
1011 } else {
1023 } else {
1041 } else {