Lines Matching refs:Codegen
97 virtual Value *Codegen();
265 In order to generate code for this, we implement the ``Codegen`` method
270 Value *IfExprAST::Codegen() {
271 Value *CondV = Cond->Codegen();
321 Value *ThenV = Then->Codegen();
325 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
352 expression. Because calling Codegen recursively could arbitrarily change
362 Value *ElseV = Else->Codegen();
366 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
472 virtual Value *Codegen();
568 The first part of Codegen is very simple: we just output the start
573 Value *ForExprAST::Codegen() {
575 Value *StartVal = Start->Codegen();
627 if (Body->Codegen() == 0)
652 StepVal = Step->Codegen();
669 Value *EndCond = End->Codegen();
721 ``ForExprAST::Codegen``.