Lines Matching refs:Then
67 if (IdentifierStr == "then") return tok_then;
165 /// IfExprAST - Expression class for if/then/else.
167 ExprAST *Cond, *Then, *Else;
169 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
170 : Cond(cond), Then(then), Else(_else) {}
322 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
331 return Error("expected then");
332 getNextToken(); // eat the then
334 ExprAST *Then = ParseExpression();
335 if (Then == 0) return 0;
345 return new IfExprAST(Cond, Then, Else);
731 // Create blocks for the then and else cases. Insert the 'then' block at the
733 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
739 // Emit then value.
742 Value *ThenV = Then->Codegen();
746 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.