Lines Matching refs:std
34 static std::unique_ptr<llvm::LLVMContext> LLVMCtx;
67 static std::unique_ptr<llvm::Module>
78 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
82 std::shared_ptr<CompilerInvocation> CI( in getModuleFromSource()
83 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
88 std::unique_ptr<CodeGenAction> Act(new EmitLLVMOnlyAction(&*LLVMCtx)); in getModuleFromSource()
90 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()
95 std::unique_ptr<llvm::Module>
113 return getModuleFromSource(std::move(CFlags), Name, OverlayFS); in getModuleFromSource()
116 std::unique_ptr<llvm::Module>
120 return getModuleFromSource(std::move(CFlags), Path, VFS); in getModuleFromSource()
123 std::unique_ptr<llvm::SmallVectorImpl<char>>
128 std::string TargetTriple("bpf-pc-linux"); in getBPFObjectFromModule()
129 std::string Error; in getBPFObjectFromModule()
133 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
145 std::unique_ptr<SmallVectorImpl<char>> Buffer(new SmallVector<char, 0>()); in getBPFObjectFromModule()
159 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
194 auto M = getModuleFromSource(std::move(CFlags), filename); in perf_clang__compile_bpf()