Home | History | Annotate | Download | only in Chapter5

Lines Matching full:make_unique

255   auto Result = llvm::make_unique<NumberExprAST>(NumVal);
282 return llvm::make_unique<VariableExprAST>(IdName);
306 return llvm::make_unique<CallExprAST>(IdName, std::move(Args));
335 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
381 return llvm::make_unique<ForExprAST>(IdName, std::move(Start), std::move(End),
441 llvm::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS));
477 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
488 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
496 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
498 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
805 TheModule = llvm::make_unique<Module>("my cool jit", getGlobalContext());
809 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get());
937 TheJIT = llvm::make_unique<KaleidoscopeJIT>();