Lines Matching refs:Then
108 if (IdentifierStr == "then") return tok_then;
206 /// IfExprAST - Expression class for if/then/else.
208 ExprAST *Cond, *Then, *Else;
210 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
211 : Cond(cond), Then(then), Else(_else) {}
363 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
372 return Error("expected then");
373 getNextToken(); // eat the then
375 ExprAST *Then = ParseExpression();
376 if (Then == 0) return 0;
386 return new IfExprAST(Cond, Then, Else);
1191 // Create blocks for the then and else cases. Insert the 'then' block at the
1193 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
1199 // Emit then value.
1202 Value *ThenV = Then->Codegen();
1206 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.