Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h136 template <typename T> class IntrusiveRefCntPtr {
142 explicit IntrusiveRefCntPtr() = default;
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function
144 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function
145 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function
148 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function
153 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function
157 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr()
159 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) {
169 void swap(IntrusiveRefCntPtr &other) { in swap()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DASTUnit.h108 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
109 IntrusiveRefCntPtr<FileManager> FileMgr;
110 IntrusiveRefCntPtr<SourceManager> SourceMgr;
111 IntrusiveRefCntPtr<MemoryBufferCache> PCMCache;
113 IntrusiveRefCntPtr<TargetInfo> Target;
115 IntrusiveRefCntPtr<ASTContext> Ctx;
119 IntrusiveRefCntPtr<ASTReader> Reader;
367 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
476 IntrusiveRefCntPtr<ASTReader> getASTReader() const;
710 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
[all …]
H A DCompilerInstance.h78 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
81 IntrusiveRefCntPtr<TargetInfo> Target;
84 IntrusiveRefCntPtr<TargetInfo> AuxTarget;
90 IntrusiveRefCntPtr<FileManager> FileMgr;
93 IntrusiveRefCntPtr<SourceManager> SourceMgr;
96 IntrusiveRefCntPtr<MemoryBufferCache> PCMCache;
102 IntrusiveRefCntPtr<ASTContext> Context;
105 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
123 IntrusiveRefCntPtr<ASTReader> ModuleManager;
522 IntrusiveRefCntPtr<ASTReader> getModuleManager() const;
[all …]
H A DUtils.h188 IntrusiveRefCntPtr<ExternalSemaSource>
190 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
199 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
200 IntrusiveRefCntPtr<DiagnosticsEngine>(),
201 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
H A DCompilerInvocation.h74 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
226 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
230 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
232 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
H A DPrecompiledPreamble.h83 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
113 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
/freebsd-12.1/contrib/llvm/tools/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()
143 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createChainedIncludesSource()
144 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createChainedIncludesSource()
186 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource()
216 return IntrusiveRefCntPtr<ChainedIncludesSource>( in createChainedIncludesSource()
H A DPrecompiledPreamble.cpp51 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH()
57 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS( in createVFSOverlayForPreamblePCH()
60 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
489 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
496 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
684 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble()
705 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage()
711 IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS = in setupPreambleStorage()
H A DCreateInvocationFromCommandLine.cpp34 ArrayRef<const char *> ArgList, IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in createInvocationFromCommandLine()
35 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createInvocationFromCommandLine()
H A DASTMerge.cpp40 IntrusiveRefCntPtr<DiagnosticIDs> in ExecuteAction()
45 IntrusiveRefCntPtr<DiagnosticsEngine> in ExecuteAction()
H A DASTUnit.cpp523 IntrusiveRefCntPtr<TargetInfo> &Target;
698 IntrusiveRefCntPtr<ASTReader> ASTUnit::getASTReader() const { in getASTReader()
735 WhatToLoad ToLoad, IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in LoadFromASTFile()
755 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in LoadFromASTFile()
1078 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse()
1086 IntrusiveRefCntPtr<llvm::vfs::FileSystem> OldVFS = VFS; in Parse()
1283 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble()
1468 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in create()
1472 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create()
1634 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation()
[all …]
/freebsd-12.1/contrib/llvm/tools/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()
515 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in MigrationProcess()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DVirtualFileSystem.h302 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
315 using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
322 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
325 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
355 explicit ProxyFileSystem(IntrusiveRefCntPtr<FileSystem> FS) in ProxyFileSystem()
386 IntrusiveRefCntPtr<FileSystem> FS;
485 IntrusiveRefCntPtr<FileSystem>
638 IntrusiveRefCntPtr<FileSystem> ExternalFS;
676 RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> ExternalFS) in RedirectingFileSystem()
697 void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DSimpleFormatContext.h62 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
63 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
64 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DTooling.cpp79 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver()
158 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs()
165 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs()
181 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs()
183 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs()
292 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in run()
301 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in run()
379 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS) in ClangTool()
589 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs()
591 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs()
[all …]
H A DRefactoring.cpp43 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in runAndSave()
46 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), in runAndSave()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/
H A DTooling.h193 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
322 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
376 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
377 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
378 llvm::IntrusiveRefCntPtr<FileManager> Files;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
65 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece()
172 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DFileManager.h122 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
184 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
225 IntrusiveRefCntPtr<llvm::vfs::FileSystem> getVirtualFileSystem() const { in getVirtualFileSystem()
H A DLLVM.h45 template <typename T> class IntrusiveRefCntPtr; variable
81 using llvm::IntrusiveRefCntPtr;
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DFileSystem.h35 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs) : m_fs(fs) {} in FileSystem()
43 static void Initialize(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
173 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/freebsd-12.1/contrib/llvm/tools/clang/tools/clang-format/
H A DClangFormat.cpp136 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in fillRanges()
140 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in fillRanges()
304 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in format()
308 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in format()
/freebsd-12.1/contrib/llvm/tools/clang/tools/driver/
H A Dcc1_main.cpp172 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in cc1_main()
192 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in cc1_main()
H A Dcc1gen_reproducer_main.cpp117 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions; in generateReproducerForInvocationArguments()
119 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in generateReproducerForInvocationArguments()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp146 llvm::IntrusiveRefCntPtr<DiagnosticIDs> diag_ids(new DiagnosticIDs()); in Highlight()
147 llvm::IntrusiveRefCntPtr<DiagnosticOptions> diags_opts( in Highlight()

123