Lines Matching refs:Codegen
103 virtual Value *Codegen() = 0;
111 virtual Value *Codegen();
119 virtual Value *Codegen();
129 virtual Value *Codegen();
139 virtual Value *Codegen();
148 virtual Value *Codegen();
159 virtual Value *Codegen();
172 Function *Codegen();
183 Function *Codegen();
463 Value *NumberExprAST::Codegen() {
467 Value *VariableExprAST::Codegen() {
473 Value *BinaryExprAST::Codegen() {
474 Value *L = LHS->Codegen();
475 Value *R = RHS->Codegen();
491 Value *CallExprAST::Codegen() {
503 ArgsV.push_back(Args[i]->Codegen());
510 Value *IfExprAST::Codegen() {
511 Value *CondV = Cond->Codegen();
532 Value *ThenV = Then->Codegen();
536 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
543 Value *ElseV = Else->Codegen();
547 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
561 Value *ForExprAST::Codegen() {
579 Value *StartVal = Start->Codegen();
606 if (Body->Codegen() == 0)
612 StepVal = Step->Codegen();
622 Value *EndCond = End->Codegen();
654 Function *PrototypeAST::Codegen() {
696 Function *FunctionAST::Codegen() {
699 Function *TheFunction = Proto->Codegen();
707 if (Value *RetVal = Body->Codegen()) {
733 if (Function *LF = F->Codegen()) {
745 if (Function *F = P->Codegen()) {
758 if (Function *LF = F->Codegen()) {