Home | History | Annotate | Download | only in Chapter8

Lines Matching defs:Body

314   std::unique_ptr<ExprAST> Start, End, Step, Body;
319 std::unique_ptr<ExprAST> Body)
321 Step(std::move(Step)), Body(std::move(Body)) {}
328 Body->dump(indent(out, ind) << "Body:", ind + 1);
336 std::unique_ptr<ExprAST> Body;
341 std::unique_ptr<ExprAST> Body)
342 : VarNames(std::move(VarNames)), Body(std::move(Body)) {}
348 Body->dump(indent(out, ind) << "Body:", ind + 1);
387 std::unique_ptr<ExprAST> Body;
391 std::unique_ptr<ExprAST> Body)
392 : Proto(std::move(Proto)), Body(std::move(Body)) {}
397 indent(out, ind) << "Body:";
398 return Body ? Body->dump(out, ind) : out << "null\n";
570 auto Body = ParseExpression();
571 if (!Body)
575 std::move(Step), std::move(Body));
619 auto Body = ParseExpression();
620 if (!Body)
623 return llvm::make_unique<VarExprAST>(std::move(VarNames), std::move(Body));
1107 // Emit the body of the loop. This, like any other expr, can change the
1108 // current BB. Note that we ignore the value computed by the body, but don't
1110 if (!Body->codegen())
1130 // the body of the loop mutates the variable.
1196 // Codegen the body, now that all vars are in scope.
1197 Value *BodyVal = Body->codegen();
1205 // Return the body computation.
1288 KSDbgInfo.emitLocation(Body.get());
1290 if (Value *RetVal = Body->codegen()) {
1303 // Error reading body, remove function.