Home
last modified time | relevance | path

Searched refs:IntrusiveRefCntPtr (Results 1 – 25 of 116) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h1 //==- llvm/ADT/IntrusiveRefCntPtr.h - Smart Refcounting Pointer --*- C++ -*-==//
11 /// IntrusiveRefCntPtr classes.
13 /// IntrusiveRefCntPtr is a smart pointer to an object which maintains a
25 /// // Constructing an IntrusiveRefCntPtr increases the pointee's refcount
27 /// IntrusiveRefCntPtr<MyClass> Ptr1(new MyClass());
29 /// // Copying an IntrusiveRefCntPtr increases the pointee's refcount by 1.
30 /// IntrusiveRefCntPtr<MyClass> Ptr2(Ptr1);
32 /// // Constructing an IntrusiveRefCntPtr has no effect on the object's
34 /// IntrusiveRefCntPtr<MyClass> Ptr3(std::move(Ptr1));
37 /// // Clearing an IntrusiveRefCntPtr decrease
175 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } IntrusiveRefCntPtr() function
176 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } IntrusiveRefCntPtr() function
177 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } IntrusiveRefCntPtr() function
181 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { IntrusiveRefCntPtr() function
187 IntrusiveRefCntPtr(std::unique_ptr<X> S) : Obj(S.release()) { IntrusiveRefCntPtr() function
227 template <typename X> friend class IntrusiveRefCntPtr; global() variable
[all...]
H A DRewriteRope.h60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
65 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece()
177 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h86 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
89 IntrusiveRefCntPtr<TargetInfo> Target;
95 IntrusiveRefCntPtr<TargetInfo> AuxTarget;
98 IntrusiveRefCntPtr<FileManager> FileMgr;
101 IntrusiveRefCntPtr<SourceManager> SourceMgr;
104 IntrusiveRefCntPtr<ModuleCache> ModCache;
113 IntrusiveRefCntPtr<ASTContext> Context;
116 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
134 IntrusiveRefCntPtr<ASTReader> TheASTReader;
358 IntrusiveRefCntPtr<DiagnosticsEngine> getDiagnosticsPtr() const { in getDiagnosticsPtr()
[all …]
H A DASTUnit.h115 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
116 IntrusiveRefCntPtr<FileManager> FileMgr;
117 IntrusiveRefCntPtr<SourceManager> SourceMgr;
118 IntrusiveRefCntPtr<ModuleCache> ModCache;
120 IntrusiveRefCntPtr<TargetInfo> Target;
122 IntrusiveRefCntPtr<ASTContext> Ctx;
126 IntrusiveRefCntPtr<ASTReader> Reader;
269 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
387 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
392 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
[all …]
H A DPrecompiledPreamble.h88 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
125 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
132 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
174 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
183 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DCompilerInvocation.h388 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
392 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
394 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
396 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
399 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileCollector.h42 IntrusiveRefCntPtr<vfs::FileSystem> FS,
110 static IntrusiveRefCntPtr<vfs::FileSystem>
111 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
129 IntrusiveRefCntPtr<vfs::FileSystem> FS,
H A DPGOOptions.h35 IntrusiveRefCntPtr<vfs::FileSystem> FS,
56 IntrusiveRefCntPtr<vfs::FileSystem> FS;
H A DVirtualFileSystem.h375 LLVM_ABI IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
395 using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
403 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
406 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
458 explicit ProxyFileSystem(IntrusiveRefCntPtr<FileSystem> FS) in ProxyFileSystem()
496 IntrusiveRefCntPtr<FileSystem> FS;
667 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
997 IntrusiveRefCntPtr<FileSystem> ExternalFS;
1037 RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> ExternalFS);
1067 void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS);
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h90 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS);
148 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS;
152 llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS;
160 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS,
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DTooling.h197 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
241 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
335 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
337 IntrusiveRefCntPtr<FileManager> Files = nullptr);
389 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
390 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
391 llvm::IntrusiveRefCntPtr<FileManager> Files;
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DExpandResponseFilesCompilationDatabase.cpp26 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) in ExpandResponseFilesDatabase()
57 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
64 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in expandResponseFiles()
H A DTooling.cpp76 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver()
208 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs()
215 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs()
230 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs()
232 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs()
385 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = in run()
472 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS, in ClangTool()
473 IntrusiveRefCntPtr<FileManager> Files) in ClangTool()
692 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS) { in buildASTFromCodeWithArgs()
695 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp90 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource( in createChainedIncludesSource()
91 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
121 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createChainedIncludesSource()
122 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createChainedIncludesSource()
163 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource()
H A DPrecompiledPreamble.cpp54 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
57 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH()
60 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS( in createVFSOverlayForPreamblePCH()
63 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
416 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
712 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
719 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
763 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble()
789 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage()
795 IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS = in setupPreambleStorage()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
143 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
220 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
229 void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in setVirtualFileSystem()
H A DLLVM.h43 template <typename T> class IntrusiveRefCntPtr; variable
81 using llvm::IntrusiveRefCntPtr;
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRealpathPrefixes.h34 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs =
65 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h32 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
47 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DBackendUtil.h19 template <typename T> class IntrusiveRefCntPtr; variable
44 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfile.h45 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr,
55 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DMemProfUse.h35 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
40 IntrusiveRefCntPtr<vfs::FileSystem> FS;
H A DPGOInstrumentation.h74 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
83 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp138 IntrusiveRefCntPtr<vfs::FileSystem> FS, in addDirectoryImpl()
259 explicit FileCollectorFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS, in FileCollectorFileSystem()
307 IntrusiveRefCntPtr<vfs::FileSystem> FS;
313 IntrusiveRefCntPtr<vfs::FileSystem>
314 FileCollector::createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, in createCollectorVFS()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/
H A DCIRGenerator.h42 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs;
74 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs,

12345