Lines Matching refs:make_unique
213 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
240 return llvm::make_unique<VariableExprAST>(IdName); in ParseIdentifierExpr()
264 return llvm::make_unique<CallExprAST>(IdName, std::move(Args)); in ParseIdentifierExpr()
317 llvm::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS)); in ParseBinOpRHS()
353 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
364 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
372 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
374 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
531 TheModule = llvm::make_unique<Module>("my cool jit", getGlobalContext()); in InitializeModuleAndPassManager()
535 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
663 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()