| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | CommandTest.cpp | 19 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 D | Namelist.cpp | 62 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 D | CharacterTest.cpp | 27 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 D | tools.h | 36 static OwningPtr<Descriptor> MakeArray(const std::vector<int> &shape,
|
| /llvm-project-15.0.7/flang/include/flang/Runtime/ |
| H A D | memory.h | 39 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 D | descriptor.h | 168 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 D | file.h | 32 void set_path(OwningPtr<char> &&, std::size_t bytes); 76 OwningPtr<Pending> next; 91 OwningPtr<char> path_; 104 OwningPtr<Pending> pending_;
|
| H A D | unit.h | 63 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 D | unit-map.h | 63 OwningPtr<Chain> next{nullptr}; 97 OwningPtr<Chain> bucket_[buckets_]{}; // all owned by *this 98 OwningPtr<Chain> closing_{nullptr}; // units during CLOSE statement
|
| H A D | tools.cpp | 25 OwningPtr<char> SaveDefaultCharacter( in SaveDefaultCharacter() 31 return OwningPtr<char>{p}; in SaveDefaultCharacter() 33 return OwningPtr<char>{}; in SaveDefaultCharacter()
|
| H A D | descriptor.cpp | 84 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 D | io-error.h | 72 OwningPtr<char> ioMsg_;
|
| H A D | environment.cpp | 99 OwningPtr<char> cStyleName{ in GetEnv()
|
| H A D | unit-map.cpp | 87 OwningPtr<Chain> closeList; in CloseAll()
|
| H A D | io-stmt.h | 575 OwningPtr<char> path_; 683 InquireUnconnectedFileState(OwningPtr<char> &&path, 691 OwningPtr<char> path_; // trimmed and NUL terminated
|
| H A D | unit.cpp | 93 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 D | file.cpp | 28 void OpenFile::set_path(OwningPtr<char> &&path, std::size_t bytes) { in set_path()
|
| H A D | tools.h | 26 OwningPtr<char> SaveDefaultCharacter(
|
| H A D | io-stmt.cpp | 1401 OwningPtr<char> &&path, const char *sourceFile, int sourceLine) in InquireUnconnectedFileState()
|
| /llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/ |
| H A D | 2011-09-06-MemCpy.ll | 24 …%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 D | owning-memory.cpp | 339 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 D | extract_interface.cc | 97 #define unique_ptr llvm::OwningPtr
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | pr15031.ll | 53 …ass.std::basic_string", %"class.llvm::ValueSymbolTable"*, %"class.llvm::OwningPtr", %"class.std::b… 77 %"class.llvm::OwningPtr" = type { %"class.llvm::GVMaterializer"* }
|