Lines Matching refs:Codegen
160 virtual Value *Codegen() = 0;
168 virtual Value *Codegen();
177 virtual Value *Codegen();
187 virtual Value *Codegen();
197 virtual Value *Codegen();
207 virtual Value *Codegen();
216 virtual Value *Codegen();
227 virtual Value *Codegen();
239 virtual Value *Codegen();
264 Function *Codegen();
277 Function *Codegen();
1179 Value *NumberExprAST::Codegen() {
1183 Value *VariableExprAST::Codegen() {
1192 Value *UnaryExprAST::Codegen() {
1193 Value *OperandV = Operand->Codegen();
1206 Value *BinaryExprAST::Codegen() {
1216 // Codegen the RHS.
1217 Value *Val = RHS->Codegen();
1228 Value *L = LHS->Codegen();
1229 Value *R = RHS->Codegen();
1258 Value *CallExprAST::Codegen() {
1273 ArgsV.push_back(Args[i]->Codegen());
1280 Value *IfExprAST::Codegen() {
1281 Value *CondV = Cond->Codegen();
1302 Value *ThenV = Then->Codegen();
1306 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1313 Value *ElseV = Else->Codegen();
1317 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
1331 Value *ForExprAST::Codegen() {
1358 Value *StartVal = Start->Codegen();
1382 if (Body->Codegen() == 0)
1388 StepVal = Step->Codegen();
1396 Value *EndCond = End->Codegen();
1430 Value *VarExprAST::Codegen() {
1447 InitVal = Init->Codegen();
1464 // Codegen the body, now that all vars are in scope.
1465 Value *BodyVal = Body->Codegen();
1476 Function *PrototypeAST::Codegen() {
1537 Function *FunctionAST::Codegen() {
1540 Function *TheFunction = Proto->Codegen();
1555 if (Value *RetVal = Body->Codegen()) {
1585 Function *LF = F->Codegen();
1598 Function *F = P->Codegen();
1612 if (Function *LF = F->Codegen()) {