Lines Matching refs:FunctionAST
240 struct FunctionAST { struct
241 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
618 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition()
630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1095 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen()
1136 const FunctionAST &F) { in IRGen()
1183 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST()
1251 ModuleHandleT irGenStub(std::unique_ptr<FunctionAST> FnAST) { in irGenStub()
1286 std::shared_ptr<FunctionAST> Fn = std::move(FnAST); in irGenStub()
1309 std::map<std::string, std::unique_ptr<FunctionAST>> FunctionDefs;