Lines Matching refs:Then
73 if (IdentifierStr == "then") return tok_then;
176 /// IfExprAST - Expression class for if/then/else.
178 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
180 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
183 std::unique_ptr<ExprAST> Cond, Then, Else;
346 /// ifexpr ::= 'if' expression 'then' expression 'else' expression
356 return ErrorU<ExprAST>("expected then");
357 getNextToken(); // eat the then
359 auto Then = ParseExpression();
360 if (!Then)
372 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
856 // Create blocks for the then and else cases. Insert the 'then' block at the
858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction);
864 // Emit then value.
867 Value *ThenV = Then->IRGen(C);
871 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1199 // If we don't already have a definition of 'Name' then search
1278 // The compile action will IRGen the function and add it to the JIT, then