Lines Matching defs:Codegen
116 virtual Value *Codegen() = 0;
124 virtual Value *Codegen();
133 virtual Value *Codegen();
143 virtual Value *Codegen();
153 virtual Value *Codegen();
163 virtual Value *Codegen();
172 virtual Value *Codegen();
183 virtual Value *Codegen();
195 virtual Value *Codegen();
220 Function *Codegen();
233 Function *Codegen();
910 Value *NumberExprAST::Codegen() {
914 Value *VariableExprAST::Codegen() {
925 Value *UnaryExprAST::Codegen() {
926 Value *OperandV = Operand->Codegen();
936 Value *BinaryExprAST::Codegen() {
943 // Codegen the RHS.
944 Value *Val = RHS->Codegen();
955 Value *L = LHS->Codegen();
956 Value *R = RHS->Codegen();
980 Value *CallExprAST::Codegen() {
992 ArgsV.push_back(Args[i]->Codegen());
999 Value *IfExprAST::Codegen() {
1000 Value *CondV = Cond->Codegen();
1020 Value *ThenV = Then->Codegen();
1024 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1031 Value *ElseV = Else->Codegen();
1035 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
1048 Value *ForExprAST::Codegen() {
1075 Value *StartVal = Start->Codegen();
1099 if (Body->Codegen() == 0)
1105 StepVal = Step->Codegen();
1113 Value *EndCond = End->Codegen();
1147 Value *VarExprAST::Codegen() {
1164 InitVal = Init->Codegen();
1181 // Codegen the body, now that all vars are in scope.
1182 Value *BodyVal = Body->Codegen();
1193 Function *PrototypeAST::Codegen() {
1250 Function *FunctionAST::Codegen() {
1253 Function *TheFunction = Proto->Codegen();
1268 if (Value *RetVal = Body->Codegen()) {
1293 if (Function *LF = F->Codegen()) {
1307 if (Function *F = P->Codegen()) {
1322 if (Function *LF = F->Codegen()) {