Home
last modified time | relevance | path

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

1234

/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...]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h84 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
87 IntrusiveRefCntPtr<TargetInfo> Target;
90 IntrusiveRefCntPtr<TargetInfo> AuxTarget;
93 IntrusiveRefCntPtr<FileManager> FileMgr;
96 IntrusiveRefCntPtr<SourceManager> SourceMgr;
99 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
105 IntrusiveRefCntPtr<ASTContext> Context;
108 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
126 IntrusiveRefCntPtr<ASTReader> TheASTReader;
372 IntrusiveRefCntPtr<DiagnosticsEngine> getDiagnosticsPtr() const { in getDiagnosticsPtr()
[all …]
H A DASTUnit.h110 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
111 IntrusiveRefCntPtr<FileManager> FileMgr;
112 IntrusiveRefCntPtr<SourceManager> SourceMgr;
113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
115 IntrusiveRefCntPtr<TargetInfo> Target;
117 IntrusiveRefCntPtr<ASTContext> Ctx;
121 IntrusiveRefCntPtr<ASTReader> Reader;
257 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
375 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
380 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.h83 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
402 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
406 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
408 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
410 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
413 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp181 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createInvocationForMigration()
182 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration()
220 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors()
221 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors()
260 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues()
261 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues()
369 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms()
370 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms()
406 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings()
407 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileCollector.h41 IntrusiveRefCntPtr<vfs::FileSystem> FS,
109 static IntrusiveRefCntPtr<vfs::FileSystem>
110 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
128 IntrusiveRefCntPtr<vfs::FileSystem> FS,
H A DPGOOptions.h33 IntrusiveRefCntPtr<vfs::FileSystem> FS,
53 IntrusiveRefCntPtr<vfs::FileSystem> FS;
H A DVirtualFileSystem.h360 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
379 using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
387 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
390 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
441 explicit ProxyFileSystem(IntrusiveRefCntPtr<FileSystem> FS) in ProxyFileSystem()
479 IntrusiveRefCntPtr<FileSystem> FS;
649 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
979 IntrusiveRefCntPtr<FileSystem> ExternalFS;
1019 RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> ExternalFS);
1045 void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp79 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver()
211 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs()
218 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs()
233 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs()
235 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs()
380 IntrusiveRefCntPtr<DiagnosticOptions> ParsedDiagOpts; in run()
388 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = in run()
474 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS, in ClangTool()
475 IntrusiveRefCntPtr<FileManager> Files) in ClangTool()
695 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs()
[all …]
H A DExpandResponseFilesCompilationDatabase.cpp30 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) in ExpandResponseFilesDatabase()
61 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
68 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in expandResponseFiles()
/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()
164 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()
417 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
714 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
721 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
765 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble()
791 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage()
797 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);
252 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
261 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/llvm/include/llvm/Transforms/IPO/
H A DSampleProfile.h17 #include "llvm/ADT/IntrusiveRefCntPtr.h"
44 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
52 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h27 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
46 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h59 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
64 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece()
176 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
/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/llvm/include/llvm/Transforms/Instrumentation/
H A DMemProfiler.h15 #include "llvm/ADT/IntrusiveRefCntPtr.h"
52 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
57 IntrusiveRefCntPtr<vfs::FileSystem> FS;
H A DPGOInstrumentation.h72 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
81 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendConsumer.h39 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
73 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
87 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
H A DModuleBuilder.cpp36 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS; // Only used for debug info.
79 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in CodeGeneratorImpl()
365 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in CreateLLVMCodeGen()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h38 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs) in FileSystem()
201 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> GetVirtualFileSystem() { in GetVirtualFileSystem()
209 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DPasses.h34 template <typename T> class IntrusiveRefCntPtr; variable
568 IntrusiveRefCntPtr<vfs::FileSystem> FS);

1234