Home
last modified time | relevance | path

Searched refs:OwningPtr (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/flang/unittests/Runtime/
H A DCommandTest.cpp19 static OwningPtr<Descriptor> CreateEmptyCharDescriptor() { in CreateEmptyCharDescriptor()
20 OwningPtr<Descriptor> descriptor{Descriptor::Create( in CreateEmptyCharDescriptor()
28 static OwningPtr<Descriptor> CharDescriptor(const char *value) { in CharDescriptor()
30 OwningPtr<Descriptor> descriptor{Descriptor::Create( in CharDescriptor()
40 static OwningPtr<Descriptor> EmptyIntDescriptor() { in EmptyIntDescriptor()
86 OwningPtr<Descriptor> value{CreateEmptyCharDescriptor()}; in CheckValue()
89 OwningPtr<Descriptor> length{ in CheckValue()
182 OwningPtr<Descriptor> length{EmptyIntDescriptor()}; in CheckMissingCommandValue()
325 OwningPtr<Descriptor> length{EmptyIntDescriptor()}; in TEST_F()
356 OwningPtr<Descriptor> length{EmptyIntDescriptor()}; in TEST_F()
[all …]
H A DNamelist.cpp62 OwningPtr<Descriptor> intDesc{ in TEST()
65 OwningPtr<Descriptor> realDesc{ in TEST()
68 OwningPtr<Descriptor> logicalDesc{ in TEST()
71 OwningPtr<Descriptor> complexDesc{ in TEST()
131 OwningPtr<Descriptor> aDesc{ in TEST()
165 OwningPtr<Descriptor> aDesc{ in TEST()
168 OwningPtr<Descriptor> bDesc{ in TEST()
193 OwningPtr<Descriptor> scDesc{MakeArray<TypeCategory::Character, 1>( in TEST()
221 OwningPtr<Descriptor> scDesc{ in TEST()
250 OwningPtr<Descriptor> scDesc{ in TEST()
[all …]
H A DCharacterTest.cpp27 OwningPtr<Descriptor> CreateDescriptor(const std::vector<SubscriptValue> &shape, in CreateDescriptor()
31 OwningPtr<Descriptor> descriptor{Descriptor::Create(sizeof(CHAR), length, in CreateDescriptor()
100 OwningPtr<Descriptor> input{CreateDescriptor<CHAR>({}, {inputRaw})}; in RunAdjustLRTest()
243 OwningPtr<Descriptor> x = CreateDescriptor<CHAR>(t.shape, t.x); in RunExtremumTests()
244 OwningPtr<Descriptor> y = CreateDescriptor<CHAR>(t.shape, t.y); in RunExtremumTests()
287 OwningPtr<Descriptor> x = CreateDescriptor<CHAR>({}, {xRaw}); in RunAllocationTest()
288 OwningPtr<Descriptor> y = CreateDescriptor<CHAR>({}, {yRaw}); in RunAllocationTest()
401 OwningPtr<Descriptor> input{CreateDescriptor<CHAR>({}, {inputRaw})}; in RunRepeatTest()
H A Dtools.h36 static OwningPtr<Descriptor> MakeArray(const std::vector<int> &shape,
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dmemory.h39 template <typename A> using OwningPtr = std::unique_ptr<A, OwningPtrDeleter<A>>; variable
45 [[nodiscard]] OwningPtr<A> operator()(std::size_t bytes, X &&...x) { in operator()
46 return OwningPtr<A>{new (AllocateMemoryOrCrash(terminator_, bytes)) in operator()
56 template <typename... X> [[nodiscard]] OwningPtr<A> operator()(X &&...x) { in operator()
H A Ddescriptor.h168 static OwningPtr<Descriptor> Create(TypeCode t, std::size_t elementBytes,
173 static OwningPtr<Descriptor> Create(TypeCategory, int kind, void *p = nullptr,
176 static OwningPtr<Descriptor> Create(int characterKind,
180 static OwningPtr<Descriptor> Create(const typeInfo::DerivedType &dt,
/llvm-project-15.0.7/flang/runtime/
H A Dfile.h32 void set_path(OwningPtr<char> &&, std::size_t bytes);
76 OwningPtr<Pending> next;
91 OwningPtr<char> path_;
104 OwningPtr<Pending> pending_;
H A Dunit.h63 OwningPtr<char> &&path, std::size_t pathLength, Convert,
161 OwningPtr<ChildIo> child_;
169 ChildIo(IoStatementState &parent, OwningPtr<ChildIo> &&previous) in ChildIo()
183 OwningPtr<ChildIo> AcquirePrevious() { return std::move(previous_); } in AcquirePrevious()
189 OwningPtr<ChildIo> previous_;
H A Dunit-map.h63 OwningPtr<Chain> next{nullptr};
97 OwningPtr<Chain> bucket_[buckets_]{}; // all owned by *this
98 OwningPtr<Chain> closing_{nullptr}; // units during CLOSE statement
H A Dtools.cpp25 OwningPtr<char> SaveDefaultCharacter( in SaveDefaultCharacter()
31 return OwningPtr<char>{p}; in SaveDefaultCharacter()
33 return OwningPtr<char>{}; in SaveDefaultCharacter()
H A Ddescriptor.cpp84 OwningPtr<Descriptor> Descriptor::Create(TypeCode t, std::size_t elementBytes, in Create()
92 return OwningPtr<Descriptor>{result}; in Create()
95 OwningPtr<Descriptor> Descriptor::Create(TypeCategory c, int kind, void *p, in Create()
101 OwningPtr<Descriptor> Descriptor::Create(int characterKind, in Create()
108 OwningPtr<Descriptor> Descriptor::Create(const typeInfo::DerivedType &dt, in Create()
H A Dio-error.h72 OwningPtr<char> ioMsg_;
H A Denvironment.cpp99 OwningPtr<char> cStyleName{ in GetEnv()
H A Dunit-map.cpp87 OwningPtr<Chain> closeList; in CloseAll()
H A Dio-stmt.h575 OwningPtr<char> path_;
683 InquireUnconnectedFileState(OwningPtr<char> &&path,
691 OwningPtr<char> path_; // trimmed and NUL terminated
H A Dunit.cpp93 std::optional<Action> action, Position position, OwningPtr<char> &&newPath, in OpenUnit()
936 OwningPtr<ChildIo> current{std::move(child_)}; in PushChildIo()
938 OwningPtr<ChildIo> next{New<ChildIo>{terminator}(parent, std::move(current))}; in PushChildIo()
H A Dfile.cpp28 void OpenFile::set_path(OwningPtr<char> &&path, std::size_t bytes) { in set_path()
H A Dtools.h26 OwningPtr<char> SaveDefaultCharacter(
H A Dio-stmt.cpp1401 OwningPtr<char> &&path, const char *sourceFile, int sourceLine) in InquireUnconnectedFileState()
/llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/
H A D2011-09-06-MemCpy.ll24 …%struct.ilist, %struct.basic_string, %struct.ValueSymbolTable*, %struct.OwningPtr, %struct.basic_s…
51 %struct.OwningPtr = type { %struct.GVMaterializer* }
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory.cpp339 gsl::owner<int *> OwningPtr = Array1.data(); // Bad, since it does not return the owner in test_inner_template() local
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dextract_interface.cc97 #define unique_ptr llvm::OwningPtr
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpr15031.ll53 …ass.std::basic_string", %"class.llvm::ValueSymbolTable"*, %"class.llvm::OwningPtr", %"class.std::b…
77 %"class.llvm::OwningPtr" = type { %"class.llvm::GVMaterializer"* }