Lines Matching refs:std
34 static std::unique_ptr<llvm::LLVMContext> LLVMCtx;
69 static std::unique_ptr<llvm::Module>
84 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
88 std::shared_ptr<CompilerInvocation> CI( in getModuleFromSource()
89 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
94 std::unique_ptr<CodeGenAction> Act(new EmitLLVMOnlyAction(&*LLVMCtx)); in getModuleFromSource()
96 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()
101 std::unique_ptr<llvm::Module>
119 return getModuleFromSource(std::move(CFlags), Name, OverlayFS); in getModuleFromSource()
122 std::unique_ptr<llvm::Module>
126 return getModuleFromSource(std::move(CFlags), Path, VFS); in getModuleFromSource()
129 std::unique_ptr<llvm::SmallVectorImpl<char>>
134 std::string TargetTriple("bpf-pc-linux"); in getBPFObjectFromModule()
135 std::string Error; in getBPFObjectFromModule()
139 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
151 std::unique_ptr<SmallVectorImpl<char>> Buffer(new SmallVector<char, 0>()); in getBPFObjectFromModule()
168 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
203 auto M = getModuleFromSource(std::move(CFlags), filename); in perf_clang__compile_bpf()