/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 31 class IntrusiveRefCntPtr; variable 79 friend class IntrusiveRefCntPtr; variable 100 class IntrusiveRefCntPtr { 102 typedef IntrusiveRefCntPtr this_type; 106 explicit IntrusiveRefCntPtr() : Obj(0) {} in IntrusiveRefCntPtr() function 108 explicit IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 112 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 117 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 122 IntrusiveRefCntPtr& operator=(const IntrusiveRefCntPtr& S) { 128 IntrusiveRefCntPtr& operator=(const IntrusiveRefCntPtr<X>& S) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 136 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 …]
|
/external/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 31 class IntrusiveRefCntPtr; variable 135 class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() : Obj(nullptr) {} in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 151 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 156 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 161 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 166 IntrusiveRefCntPtr& operator=(IntrusiveRefCntPtr S) { 171 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 133 class IntrusiveRefCntPtr { 139 explicit IntrusiveRefCntPtr() = default; 141 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 145 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 149 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 154 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 159 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 164 IntrusiveRefCntPtr& operator=(IntrusiveRefCntPtr S) { 169 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 179 void swap(IntrusiveRefCntPtr& other) { in swap() [all …]
|
/external/llvm/unittests/ADT/ |
D | IntrusiveRefCntPtrTest.cpp | 22 TEST(IntrusiveRefCntPtr, RefCountedBaseVPTRCopyDoesNotLeak) { in TEST() argument 24 IntrusiveRefCntPtr<VirtualRefCounted> R1 = V1; in TEST() 26 IntrusiveRefCntPtr<VirtualRefCounted> R2 = V2; in TEST() 32 TEST(IntrusiveRefCntPtr, RefCountedBaseCopyDoesNotLeak) { in TEST() argument 34 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1; in TEST() 36 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2; in TEST() 55 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 60 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST()
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 139 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem()); in TEST() 179 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem()); in TEST() 183 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D)); in TEST() 197 IntrusiveRefCntPtr<DummyFileSystem> Base(new DummyFileSystem()); in TEST() 198 IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem()); in TEST() 199 IntrusiveRefCntPtr<DummyFileSystem> Top(new DummyFileSystem()); in TEST() 200 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 236 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() 237 IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem()); in TEST() 238 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() [all …]
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 73 IntrusiveRefCntPtr<CompilerInvocation> Invocation; 76 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 79 IntrusiveRefCntPtr<TargetInfo> Target; 82 IntrusiveRefCntPtr<TargetInfo> AuxTarget; 85 IntrusiveRefCntPtr<vfs::FileSystem> VirtualFileSystem; 88 IntrusiveRefCntPtr<FileManager> FileMgr; 91 IntrusiveRefCntPtr<SourceManager> SourceMgr; 94 IntrusiveRefCntPtr<Preprocessor> PP; 97 IntrusiveRefCntPtr<ASTContext> Context; 115 IntrusiveRefCntPtr<ASTReader> ModuleManager; [all …]
|
D | ASTUnit.h | 89 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 90 IntrusiveRefCntPtr<FileManager> FileMgr; 91 IntrusiveRefCntPtr<SourceManager> SourceMgr; 93 IntrusiveRefCntPtr<TargetInfo> Target; 94 IntrusiveRefCntPtr<Preprocessor> PP; 95 IntrusiveRefCntPtr<ASTContext> Ctx; 97 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; 98 IntrusiveRefCntPtr<ASTReader> Reader; 116 IntrusiveRefCntPtr<CompilerInvocation> Invocation; 310 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, [all …]
|
D | CompilerInvocation.h | 64 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts; 67 IntrusiveRefCntPtr<HeaderSearchOptions> HeaderSearchOpts; 70 IntrusiveRefCntPtr<PreprocessorOptions> PreprocessorOpts; 217 IntrusiveRefCntPtr<vfs::FileSystem>
|
D | Utils.h | 178 IntrusiveRefCntPtr<ExternalSemaSource> 180 IntrusiveRefCntPtr<ExternalSemaSource> &Reader); 189 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = 190 IntrusiveRefCntPtr<DiagnosticsEngine>());
|
/external/clang/unittests/Driver/ |
D | ToolChainTest.cpp | 29 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in TEST() 31 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 34 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() 82 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in TEST() 84 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 87 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | IntrusiveRefCntPtrTest.cpp | 28 TEST(IntrusiveRefCntPtr, RefCountedBaseCopyDoesNotLeak) { in TEST() argument 32 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1; in TEST() 34 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2; in TEST() 56 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 61 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST()
|
/external/clang/tools/diagtool/ |
D | ShowEnabledWarnings.cpp | 56 static IntrusiveRefCntPtr<DiagnosticsEngine> 58 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs()); in createDiagnostics() 63 IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags( in createDiagnostics() 76 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags = in createDiagnostics() 105 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv); in run()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 182 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createInvocationForMigration() 183 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration() 223 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors() 224 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors() 263 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues() 264 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues() 372 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms() 373 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms() 409 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings() 410 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings() [all …]
|
/external/clang/lib/Frontend/ |
D | ChainedIncludesSource.cpp | 35 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader; 115 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource( in createChainedIncludesSource() 116 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource() 121 IntrusiveRefCntPtr<ChainedIncludesSource> source(new ChainedIncludesSource()); in createChainedIncludesSource() 146 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createChainedIncludesSource() 147 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createChainedIncludesSource() 164 ArrayRef<llvm::IntrusiveRefCntPtr<ModuleFileExtension>> Extensions; in createChainedIncludesSource() 189 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource()
|
/external/clang/tools/clang-fuzzer/ |
D | ClangFuzzer.cpp | 28 llvm::IntrusiveRefCntPtr<FileManager> Files( in LLVMFuzzerTestOneInput() 31 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in LLVMFuzzerTestOneInput() 33 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in LLVMFuzzerTestOneInput()
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in RewriterTestContext() 114 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 117 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; 118 IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem;
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 64 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 65 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 66 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem;
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 122 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; 124 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; 125 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 130 IntrusiveRefCntPtr<TargetInfo> Target; 165 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); in InclusionDirectiveFilenameRange() 170 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); in InclusionDirectiveFilenameRange()
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 242 IntrusiveRefCntPtr<FileSystem> getRealFileSystem(); 255 typedef SmallVector<IntrusiveRefCntPtr<FileSystem>, 1> FileSystemList; 261 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base); 263 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS); 324 IntrusiveRefCntPtr<FileSystem> 329 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
|
D | FileManager.h | 118 IntrusiveRefCntPtr<vfs::FileSystem> FS; 177 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr); 226 IntrusiveRefCntPtr<vfs::FileSystem> getVirtualFileSystem() const { in getVirtualFileSystem()
|
/external/clang/tools/arcmt-test/ |
D | arcmt-test.cpp | 109 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in checkForMigration() 112 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForMigration() 113 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForMigration() 154 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in performTransformations() 157 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in performTransformations() 158 IntrusiveRefCntPtr<DiagnosticsEngine> TopDiags( in performTransformations()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 52 IntrusiveRefCntPtr<vfs::FileSystem> VFS) { in newDriver() 133 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs() 135 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() 138 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs() 242 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in run() 246 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in run() 508 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs() 510 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs() 513 llvm::IntrusiveRefCntPtr<FileManager> Files( in buildASTFromCodeWithArgs()
|
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteRope.h | 60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData; 66 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece() 170 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 252 AllocatedCXCodeCompleteResults(IntrusiveRefCntPtr<FileManager> FileMgr); 261 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 264 IntrusiveRefCntPtr<DiagnosticsEngine> Diag; 270 IntrusiveRefCntPtr<FileManager> FileMgr; 273 IntrusiveRefCntPtr<SourceManager> SourceMgr; 284 IntrusiveRefCntPtr<clang::GlobalCodeCompletionAllocator> 288 IntrusiveRefCntPtr<clang::GlobalCodeCompletionAllocator> 322 IntrusiveRefCntPtr<FileManager> FileMgr) in AllocatedCXCodeCompleteResults() 326 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), &*DiagOpts)), in AllocatedCXCodeCompleteResults()
|