Lines Matching refs:std
38 static std::unique_ptr<llvm::LLVMContext> LLVMCtx;
73 static std::unique_ptr<llvm::Module>
88 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
92 std::shared_ptr<CompilerInvocation> CI( in getModuleFromSource()
93 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
98 std::unique_ptr<CodeGenAction> Act(new EmitLLVMOnlyAction(&*LLVMCtx)); in getModuleFromSource()
100 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()
105 std::unique_ptr<llvm::Module>
123 return getModuleFromSource(std::move(CFlags), Name, OverlayFS); in getModuleFromSource()
126 std::unique_ptr<llvm::Module>
130 return getModuleFromSource(std::move(CFlags), Path, VFS); in getModuleFromSource()
133 std::unique_ptr<llvm::SmallVectorImpl<char>>
138 std::string TargetTriple("bpf-pc-linux"); in getBPFObjectFromModule()
139 std::string Error; in getBPFObjectFromModule()
143 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
155 std::unique_ptr<SmallVectorImpl<char>> Buffer(new SmallVector<char, 0>()); in getBPFObjectFromModule()
172 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
207 auto M = getModuleFromSource(std::move(CFlags), filename); in perf_clang__compile_bpf()