/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 1 //==- 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 D | CompilerInstance.h | 84 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 D | ASTUnit.h | 110 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 D | PrecompiledPreamble.h | 88 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 D | CompilerInvocation.h | 83 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 D | ARCMT.cpp | 181 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 D | FileCollector.h | 41 IntrusiveRefCntPtr<vfs::FileSystem> FS, 109 static IntrusiveRefCntPtr<vfs::FileSystem> 110 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, 128 IntrusiveRefCntPtr<vfs::FileSystem> FS,
|
H A D | PGOOptions.h | 33 IntrusiveRefCntPtr<vfs::FileSystem> FS, 53 IntrusiveRefCntPtr<vfs::FileSystem> FS;
|
H A D | VirtualFileSystem.h | 360 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 D | Tooling.cpp | 79 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 D | ExpandResponseFilesCompilationDatabase.cpp | 30 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 D | ChainedIncludesSource.cpp | 90 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 D | PrecompiledPreamble.cpp | 54 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 D | FileManager.h | 54 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 D | LLVM.h | 43 template <typename T> class IntrusiveRefCntPtr; variable 81 using llvm::IntrusiveRefCntPtr;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleProfile.h | 17 #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 D | DeviceOffload.h | 27 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS, 46 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
|
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | RewriteRope.h | 59 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 D | FileCollector.cpp | 138 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 D | MemProfiler.h | 15 #include "llvm/ADT/IntrusiveRefCntPtr.h" 52 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr); 57 IntrusiveRefCntPtr<vfs::FileSystem> FS;
|
H A D | PGOInstrumentation.h | 72 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr); 81 IntrusiveRefCntPtr<vfs::FileSystem> FS;
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | BackendConsumer.h | 39 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS; 73 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, 87 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
|
H A D | ModuleBuilder.cpp | 36 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 D | FileSystem.h | 38 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 D | Passes.h | 34 template <typename T> class IntrusiveRefCntPtr; variable 568 IntrusiveRefCntPtr<vfs::FileSystem> FS);
|