Home | History | Annotate | Download | only in lazy

Lines Matching defs:Then

68     if (IdentifierStr == "then") return tok_then;
166 /// IfExprAST - Expression class for if/then/else.
168 ExprAST *Cond, *Then, *Else;
170 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
171 : Cond(cond), Then(then), Else(_else) {}
323 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
332 return Error("expected then");
333 getNextToken(); // eat the then
335 ExprAST *Then = ParseExpression();
336 if (Then == 0) return 0;
346 return new IfExprAST(Cond, Then, Else);
1009 // Create blocks for the then and else cases. Insert the 'then' block at the
1011 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1017 // Emit then value.
1020 Value *ThenV = Then->Codegen();
1024 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.