Home
last modified time | relevance | path

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

12345

/src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h173 template <typename T> class IntrusiveRefCntPtr {
179 explicit IntrusiveRefCntPtr() = default;
180 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function
181 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function
182 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function
186 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function
192 IntrusiveRefCntPtr(std::unique_ptr<X> S) : Obj(S.release()) { in IntrusiveRefCntPtr() function
196 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr()
198 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) {
208 void swap(IntrusiveRefCntPtr &other) { in swap()
[all …]
/src/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 DUtils.h190 IntrusiveRefCntPtr<ExternalSemaSource>
192 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
198 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = nullptr;
202 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr;
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);
/src/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 …]
/src/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 …]
/src/contrib/llvm-project/clang/lib/Tooling/
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()
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 …]
/src/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h83 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS);
112 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS;
116 llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS;
/src/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()
/src/contrib/llvm-project/clang/include/clang/Tooling/
H A DTooling.h197 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
329 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
331 IntrusiveRefCntPtr<FileManager> Files = nullptr);
383 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
384 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
385 llvm::IntrusiveRefCntPtr<FileManager> Files;
/src/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()
/src/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h27 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
46 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
/src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfile.h44 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
52 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/src/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;
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DMemProfiler.h52 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
57 IntrusiveRefCntPtr<vfs::FileSystem> FS;
H A DPGOInstrumentation.h72 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
81 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/src/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()
/src/contrib/llvm-project/clang/include/clang/CodeGen/
H A DBackendUtil.h19 template <typename T> class IntrusiveRefCntPtr; variable
48 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
/src/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,

12345