Lines Matching refs:Codegen
115 virtual Value *Codegen() = 0;
123 virtual Value *Codegen();
132 virtual Value *Codegen();
142 virtual Value *Codegen();
152 virtual Value *Codegen();
162 virtual Value *Codegen();
171 virtual Value *Codegen();
182 virtual Value *Codegen();
194 virtual Value *Codegen();
219 Function *Codegen();
232 Function *Codegen();
626 Value *NumberExprAST::Codegen() {
630 Value *VariableExprAST::Codegen() {
639 Value *UnaryExprAST::Codegen() {
640 Value *OperandV = Operand->Codegen();
653 Value *BinaryExprAST::Codegen() {
660 // Codegen the RHS.
661 Value *Val = RHS->Codegen();
672 Value *L = LHS->Codegen();
673 Value *R = RHS->Codegen();
698 Value *CallExprAST::Codegen() {
713 ArgsV.push_back(Args[i]->Codegen());
720 Value *IfExprAST::Codegen() {
721 Value *CondV = Cond->Codegen();
742 Value *ThenV = Then->Codegen();
746 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
753 Value *ElseV = Else->Codegen();
757 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
771 Value *ForExprAST::Codegen() {
798 Value *StartVal = Start->Codegen();
822 if (Body->Codegen() == 0)
828 StepVal = Step->Codegen();
836 Value *EndCond = End->Codegen();
870 Value *VarExprAST::Codegen() {
887 InitVal = Init->Codegen();
904 // Codegen the body, now that all vars are in scope.
905 Value *BodyVal = Body->Codegen();
916 Function *PrototypeAST::Codegen() {
967 Function *FunctionAST::Codegen() {
970 Function *TheFunction = Proto->Codegen();
985 if (Value *RetVal = Body->Codegen()) {
1014 if (Function *LF = F->Codegen()) {
1028 if (Function *F = P->Codegen()) {
1043 if (Function *LF = F->Codegen()) {