Lines Matching defs:Body
190 std::unique_ptr<ExprAST> Body)
192 Step(std::move(Step)), Body(std::move(Body)) {}
197 std::unique_ptr<ExprAST> Start, End, Step, Body;
205 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body)
206 : VarBindings(std::move(VarBindings)), Body(std::move(Body)) {}
211 std::unique_ptr<ExprAST> Body;
242 std::unique_ptr<ExprAST> Body)
243 : Proto(std::move(Proto)), Body(std::move(Body)) {}
248 std::unique_ptr<ExprAST> Body;
414 auto Body = ParseExpression();
415 if (Body)
419 std::move(Step), std::move(Body));
462 auto Body = ParseExpression();
463 if (!Body)
466 return llvm::make_unique<VarExprAST>(std::move(VarBindings), std::move(Body));
624 if (auto Body = ParseExpression())
625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body));
944 // Emit the body of the loop. This, like any other expr, can change the
945 // current BB. Note that we ignore the value computed by the body, but don't
947 if (!Body->IRGen(C))
965 // the body of the loop mutates the variable.
1027 // Codegen the body, now that all vars are in scope.
1028 Value *BodyVal = Body->IRGen(C);
1035 // Return the body computation.
1051 // body, don't allow redefinition or reextern.
1057 // If F already has a body, reject this.
1113 if (Value *RetVal = Body->IRGen(C)) {
1123 // Error reading body, remove function.
1249 // for that function that will, on first call, IR-gen the actual body of the
1257 // Step 2) Get a compile callback that can be used to compile the body of
1263 // Step 3) Create a stub that will indirectly call the body of this
1291 assert(BodySym && "Missing function body.");