Lines Matching refs:std
34 static std::unique_ptr<llvm::LLVMContext> LLVMCtx;
67 static std::unique_ptr<llvm::Module>
82 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
86 std::shared_ptr<CompilerInvocation> CI( in getModuleFromSource()
87 createCompilerInvocation(std::move(CFlags), Path, in getModuleFromSource()
92 std::unique_ptr<CodeGenAction> Act(new EmitLLVMOnlyAction(&*LLVMCtx)); in getModuleFromSource()
94 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()
99 std::unique_ptr<llvm::Module>
117 return getModuleFromSource(std::move(CFlags), Name, OverlayFS); in getModuleFromSource()
120 std::unique_ptr<llvm::Module>
124 return getModuleFromSource(std::move(CFlags), Path, VFS); in getModuleFromSource()
127 std::unique_ptr<llvm::SmallVectorImpl<char>>
132 std::string TargetTriple("bpf-pc-linux"); in getBPFObjectFromModule()
133 std::string Error; in getBPFObjectFromModule()
137 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
149 std::unique_ptr<SmallVectorImpl<char>> Buffer(new SmallVector<char, 0>()); in getBPFObjectFromModule()
163 return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr); in getBPFObjectFromModule()
198 auto M = getModuleFromSource(std::move(CFlags), filename); in perf_clang__compile_bpf()