HomeSort by relevance Sort by last modified time
    Searched refs:IntrusiveRefCntPtr (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/swiftshader/third_party/LLVM/include/llvm/ADT/
IntrusiveRefCntPtr.h 1 //== llvm/ADT/IntrusiveRefCntPtr.h - Smart Refcounting Pointer ---*- C++ -*-==//
10 // This file defines IntrusiveRefCntPtr, a template class that
16 // IntrusiveRefCntPtr is similar to Boost's intrusive_ptr with added
31 class IntrusiveRefCntPtr;
79 friend class IntrusiveRefCntPtr;
83 /// IntrusiveRefCntPtr - A template class that implements a "smart pointer"
100 class IntrusiveRefCntPtr {
102 typedef IntrusiveRefCntPtr this_type;
106 explicit IntrusiveRefCntPtr() : Obj(0) {}
108 explicit IntrusiveRefCntPtr(T* obj) : Obj(obj)
    [all...]
  /external/llvm/include/llvm/ADT/
IntrusiveRefCntPtr.h 1 //== llvm/ADT/IntrusiveRefCntPtr.h - Smart Refcounting Pointer ---*- C++ -*-==//
10 // This file defines IntrusiveRefCntPtr, a template class that
16 // IntrusiveRefCntPtr is similar to Boost's intrusive_ptr with added
31 class IntrusiveRefCntPtr;
37 /// typically handled with IntrusiveRefCntPtr "smart pointers" (see below)
97 /// \c IntrusiveRefCntPtr "smart pointers" which automatically handle the
118 /// IntrusiveRefCntPtr - A template class that implements a "smart pointer"
135 class IntrusiveRefCntPtr {
141 explicit IntrusiveRefCntPtr() : Obj(nullptr) {}
143 IntrusiveRefCntPtr(T* obj) : Obj(obj)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
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
24 // // Constructing an IntrusiveRefCntPtr increases the pointee's refcount by
26 // IntrusiveRefCntPtr<MyClass> Ptr1(new MyClass());
28 // // Copying an IntrusiveRefCntPtr increases the pointee's refcount by 1.
29 // IntrusiveRefCntPtr<MyClass> Ptr2(Ptr1);
31 // // Constructing an IntrusiveRefCntPtr has no effect on the object's
33 // IntrusiveRefCntPtr<MyClass> Ptr3(std::move(Ptr1));
36 // // Clearing an IntrusiveRefCntPtr decreases the pointee's refcount by 1
    [all...]
  /external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
IntrusiveRefCntPtr.h 1 //== llvm/ADT/IntrusiveRefCntPtr.h - Smart Refcounting Pointer ---*- C++ -*-==//
10 // This file defines IntrusiveRefCntPtr, a template class that
16 // IntrusiveRefCntPtr is similar to Boost's intrusive_ptr with added
34 /// typically handled with IntrusiveRefCntPtr "smart pointers" (see below)
95 /// \c IntrusiveRefCntPtr "smart pointers" which automatically handle the
116 /// IntrusiveRefCntPtr - A template class that implements a "smart pointer"
133 class IntrusiveRefCntPtr {
139 explicit IntrusiveRefCntPtr() = default;
141 IntrusiveRefCntPtr(T* obj) : Obj(obj) {
145 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj)
    [all...]
  /bionic/tools/versioner/src/
VFS.h 22 #include <llvm/ADT/IntrusiveRefCntPtr.h>
25 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> createCommonVFS(const std::string& header_dir,
Driver.h 23 #include <llvm/ADT/IntrusiveRefCntPtr.h>
34 void initializeTargetCC1FlagCache(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
38 void compileHeader(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
VFS.cpp 28 #include <llvm/ADT/IntrusiveRefCntPtr.h>
68 llvm::IntrusiveRefCntPtr<FileSystem> createCommonVFS(const std::string& header_dir,
91 return llvm::IntrusiveRefCntPtr<FileSystem>(vfs.release());
Driver.cpp 41 #include <llvm/ADT/IntrusiveRefCntPtr.h>
84 static IntrusiveRefCntPtr<DiagnosticsEngine> constructDiags() {
85 IntrusiveRefCntPtr<DiagnosticOptions> diag_opts(new DiagnosticOptions());
87 IntrusiveRefCntPtr<DiagnosticIDs> diag_ids(new DiagnosticIDs());
88 IntrusiveRefCntPtr<DiagnosticsEngine> diags(
97 static void generateTargetCC1Flags(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
211 void initializeTargetCC1FlagCache(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
246 void compileHeader(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
  /external/llvm/unittests/ADT/
IntrusiveRefCntPtrTest.cpp 10 #include "llvm/ADT/IntrusiveRefCntPtr.h"
22 TEST(IntrusiveRefCntPtr, RefCountedBaseVPTRCopyDoesNotLeak) {
24 IntrusiveRefCntPtr<VirtualRefCounted> R1 = V1;
26 IntrusiveRefCntPtr<VirtualRefCounted> R2 = V2;
32 TEST(IntrusiveRefCntPtr, RefCountedBaseCopyDoesNotLeak) {
34 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1;
36 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2;
55 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) {
60 IntrusiveRefCntPtr<InterceptRefCounted> R = I;
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
IntrusiveRefCntPtrTest.cpp 10 #include "llvm/ADT/IntrusiveRefCntPtr.h"
28 TEST(IntrusiveRefCntPtr, RefCountedBaseCopyDoesNotLeak) {
32 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1;
34 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2;
56 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) {
61 IntrusiveRefCntPtr<InterceptRefCounted> R = I;
  /external/clang/unittests/Driver/
ToolChainTest.cpp 29 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
31 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
34 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem(
82 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
84 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
87 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem(
  /external/clang/include/clang/Basic/
LLVM.h 42 template <typename T> class IntrusiveRefCntPtr;
74 using llvm::IntrusiveRefCntPtr;
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramState_Fwd.h 14 #include "llvm/ADT/IntrusiveRefCntPtr.h"
38 typedef IntrusiveRefCntPtr<const ProgramState> ProgramStateRef;
  /external/clang/lib/Index/
SimpleFormatContext.h 64 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
65 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
66 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem;
  /external/clang/tools/clang-fuzzer/
ClangFuzzer.cpp 28 llvm::IntrusiveRefCntPtr<FileManager> Files(
31 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
33 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts,
  /external/clang/unittests/Basic/
VirtualFileSystemTest.cpp 139 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
179 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
183 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D));
197 IntrusiveRefCntPtr<DummyFileSystem> Base(new DummyFileSystem());
198 IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
199 IntrusiveRefCntPtr<DummyFileSystem> Top(new DummyFileSystem());
200 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
236 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
237 IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
238 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O
    [all...]
  /external/clang/tools/diagtool/
ShowEnabledWarnings.cpp 56 static IntrusiveRefCntPtr<DiagnosticsEngine>
58 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs());
63 IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags(
76 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags =
105 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv);
  /external/clang/include/clang/Frontend/
CompilerInstance.h 22 #include "llvm/ADT/IntrusiveRefCntPtr.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
    [all...]
CompilerInvocation.h 26 #include "llvm/ADT/IntrusiveRefCntPtr.h"
64 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
67 IntrusiveRefCntPtr<HeaderSearchOptions> HeaderSearchOpts;
70 IntrusiveRefCntPtr<PreprocessorOptions> PreprocessorOpts;
217 IntrusiveRefCntPtr<vfs::FileSystem>
TextDiagnosticPrinter.h 20 #include "llvm/ADT/IntrusiveRefCntPtr.h"
30 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
ASTUnit.h 29 #include "llvm/ADT/IntrusiveRefCntPtr.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
    [all...]
Utils.h 19 #include "llvm/ADT/IntrusiveRefCntPtr.h"
178 IntrusiveRefCntPtr<ExternalSemaSource>
180 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
189 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
190 IntrusiveRefCntPtr<DiagnosticsEngine>());
  /external/clang/unittests/Tooling/
RewriterTestContext.h 39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs),
114 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
117 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem;
118 IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem;
  /external/clang/include/clang/Rewrite/Core/
RewriteRope.h 17 #include "llvm/ADT/IntrusiveRefCntPtr.h"
60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
66 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start,
170 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
  /external/clang/lib/Frontend/
ChainedIncludesSource.cpp 35 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
115 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource(
116 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) {
121 IntrusiveRefCntPtr<ChainedIncludesSource> source(new ChainedIncludesSource());
146 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
147 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
164 ArrayRef<llvm::IntrusiveRefCntPtr<ModuleFileExtension>> Extensions;
189 IntrusiveRefCntPtr<ASTReader> Reader;

Completed in 1648 milliseconds

1 2 3 4 5