Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h163 template <typename T> class IntrusiveRefCntPtr {
169 explicit IntrusiveRefCntPtr() = default;
170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function
171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function
172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function
176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function
186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr()
188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) {
198 void swap(IntrusiveRefCntPtr &other) { in swap()
226 inline bool operator==(const IntrusiveRefCntPtr<T> &A,
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
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;
481 IntrusiveRefCntPtr<ASTReader> getASTReader() const;
667 IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
719 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
[all …]
H A DCompilerInstance.h79 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
82 IntrusiveRefCntPtr<TargetInfo> Target;
85 IntrusiveRefCntPtr<TargetInfo> AuxTarget;
88 IntrusiveRefCntPtr<FileManager> FileMgr;
91 IntrusiveRefCntPtr<SourceManager> SourceMgr;
94 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
100 IntrusiveRefCntPtr<ASTContext> Context;
103 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
121 IntrusiveRefCntPtr<ASTReader> TheASTReader;
514 IntrusiveRefCntPtr<ASTReader> getASTReader() const;
[all …]
H A DUtils.h204 IntrusiveRefCntPtr<ExternalSemaSource>
206 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
222 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
223 IntrusiveRefCntPtr<DiagnosticsEngine>(),
224 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr,
H A DPrecompiledPreamble.h85 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DCompilerInvocation.h81 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
283 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
287 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
289 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp60 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader) in ChainedIncludesSourceMembers()
63 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
73 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader) in ChainedIncludesSource()
113 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource( in createChainedIncludesSource()
114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
144 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createChainedIncludesSource()
145 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createChainedIncludesSource()
187 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource()
217 return IntrusiveRefCntPtr<ChainedIncludesSource>( in createChainedIncludesSource()
H A DPrecompiledPreamble.cpp56 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
59 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH()
62 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS( in createVFSOverlayForPreamblePCH()
65 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
315 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
607 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
614 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
793 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble()
815 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage()
821 IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS = in setupPreambleStorage()
H A DCreateInvocationFromCommandLine.cpp30 ArrayRef<const char *> ArgList, IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in createInvocationFromCommandLine()
31 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool ShouldRecoverOnErorrs, in createInvocationFromCommandLine()
H A DASTMerge.cpp39 IntrusiveRefCntPtr<DiagnosticIDs> in ExecuteAction()
44 IntrusiveRefCntPtr<DiagnosticsEngine> in ExecuteAction()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h71 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
75 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS;
79 llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS;
82 llvm::IntrusiveRefCntPtr<FileManager> Files;
/freebsd-13.1/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 DVirtualFileSystem.h304 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
323 using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
330 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
333 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
372 explicit ProxyFileSystem(IntrusiveRefCntPtr<FileSystem> FS) in ProxyFileSystem()
403 IntrusiveRefCntPtr<FileSystem> FS;
507 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
767 IntrusiveRefCntPtr<FileSystem> ExternalFS;
800 RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> ExternalFS);
824 void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS);
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration()
222 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors()
223 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors()
262 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues()
263 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues()
371 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms()
372 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms()
408 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings()
409 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings()
517 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in MigrationProcess()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp78 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver()
203 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs()
210 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs()
225 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs()
227 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs()
346 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in run()
354 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in run()
428 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS, in ClangTool()
429 IntrusiveRefCntPtr<FileManager> Files) in ClangTool()
649 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs()
[all …]
H A DExpandResponseFilesCompilationDatabase.cpp29 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) in ExpandResponseFilesDatabase()
76 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
83 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in expandResponseFiles()
H A DRefactoring.cpp42 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in runAndSave()
45 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), in runAndSave()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/
H A DTooling.h198 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
320 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
322 IntrusiveRefCntPtr<FileManager> Files = nullptr);
379 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
380 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
381 llvm::IntrusiveRefCntPtr<FileManager> Files;
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h40 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs,
53 static void Initialize(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
190 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> GetVirtualFileSystem() { in GetVirtualFileSystem()
201 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp66 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in CreateCI()
76 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in CreateCI()
149 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in create()
150 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in create()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp136 IntrusiveRefCntPtr<vfs::FileSystem> FS, in addDirectoryImpl()
257 explicit FileCollectorFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS, in FileCollectorFileSystem()
305 IntrusiveRefCntPtr<vfs::FileSystem> FS;
311 IntrusiveRefCntPtr<vfs::FileSystem>
312 FileCollector::createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, in createCollectorVFS()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
135 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
245 void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in setVirtualFileSystem()
H A DLLVM.h47 template <typename T> class IntrusiveRefCntPtr; variable
84 using llvm::IntrusiveRefCntPtr;
/freebsd-13.1/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp538 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in loadFromDump()
541 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in loadFromDump()
542 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in loadFromDump()
581 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts{&CI.getDiagnosticOpts()}; in loadFromSource()
583 IntrusiveRefCntPtr<DiagnosticIDs> DiagID{ in loadFromSource()
585 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in loadFromSource()

1234