• Home
  • Raw
  • Download

Lines Matching refs:make_unique

323   auto Result = llvm::make_unique<NumberExprAST>(NumVal);  in ParseNumberExpr()
350 return llvm::make_unique<VariableExprAST>(IdName); in ParseIdentifierExpr()
374 return llvm::make_unique<CallExprAST>(IdName, std::move(Args)); in ParseIdentifierExpr()
403 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then), in ParseIfExpr()
449 return llvm::make_unique<ForExprAST>(IdName, std::move(Start), std::move(End), in ParseForExpr()
498 return llvm::make_unique<VarExprAST>(std::move(VarNames), std::move(Body)); in ParseVarExpr()
539 return llvm::make_unique<UnaryExprAST>(Opc, std::move(Operand)); in ParseUnary()
576 llvm::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS)); in ParseBinOpRHS()
653 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
665 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
676 llvm::make_unique<CallExprAST>("printExprResult", std::move(PEArgs)); in ParseTopLevelExpr()
679 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
681 return llvm::make_unique<FunctionAST>(std::move(Proto), in ParseTopLevelExpr()
1111 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); in InitializeModule()
1130 llvm::make_unique<PrototypeAST>(FnAST->getProto()); in HandleDefinition()
1155 llvm::make_unique<PrototypeAST>(FnAST->getProto()); in HandleTopLevelExpression()
1242 return llvm::make_unique<FDRPCChannel>(sockfd, sockfd); in connect()
1269 TheJIT = llvm::make_unique<KaleidoscopeJIT>(Remote); in main()
1273 llvm::make_unique<PrototypeAST>("printExprResult", in main()