Lines Matching refs:codegen
117 virtual Value *codegen() = 0;
126 Value *codegen() override;
135 Value *codegen() override;
147 Value *codegen() override;
159 Value *codegen() override;
170 Value *codegen() override;
184 Value *codegen() override;
197 Function *codegen();
210 Function *codegen();
534 return FI->second->codegen(); in getFunction()
540 Value *NumberExprAST::codegen() { in codegen() function in NumberExprAST
544 Value *VariableExprAST::codegen() { in codegen() function in VariableExprAST
552 Value *BinaryExprAST::codegen() { in codegen() function in BinaryExprAST
553 Value *L = LHS->codegen(); in codegen()
554 Value *R = RHS->codegen(); in codegen()
575 Value *CallExprAST::codegen() { in codegen() function in CallExprAST
587 ArgsV.push_back(Args[i]->codegen()); in codegen()
595 Value *IfExprAST::codegen() { in codegen() function in IfExprAST
596 Value *CondV = Cond->codegen(); in codegen()
618 Value *ThenV = Then->codegen(); in codegen()
630 Value *ElseV = Else->codegen(); in codegen()
664 Value *ForExprAST::codegen() { in codegen() function in ForExprAST
666 Value *StartVal = Start->codegen(); in codegen()
696 if (!Body->codegen()) in codegen()
702 StepVal = Step->codegen(); in codegen()
713 Value *EndCond = End->codegen(); in codegen()
745 Function *PrototypeAST::codegen() { in codegen() function in PrototypeAST
763 Function *FunctionAST::codegen() { in codegen() function in FunctionAST
781 if (Value *RetVal = Body->codegen()) { in codegen()
825 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
839 if (auto *FnIR = ProtoAST->codegen()) { in HandleExtern()
853 if (FnAST->codegen()) { in HandleTopLevelExpression()