Lines Matching refs:make_unique
224 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
251 return llvm::make_unique<VariableExprAST>(IdName); in ParseIdentifierExpr()
275 return llvm::make_unique<CallExprAST>(IdName, std::move(Args)); in ParseIdentifierExpr()
328 llvm::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS)); in ParseBinOpRHS()
364 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
375 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
383 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
385 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
541 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); in InitializeModuleAndPassManager()
545 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
672 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()