| /llvm-project-15.0.7/clang/test/CodeGenCoroutines/ |
| H A D | coro-halo.cpp | 7 template <typename T> struct generator { struct 16 generator get_return_object() { return generator{this}; }; in get_return_object() argument 50 generator(generator const &) = delete; argument 51 generator(generator &&rhs) : p(rhs.p) { rhs.p = nullptr; } in generator() function 53 ~generator() { in ~generator() argument 59 explicit generator(promise_type *p) in generator() function 66 generator<T> seq() { in seq() argument 72 generator<T> take_until(generator<T> &g, T limit) { in take_until() 81 generator<T> multiply(generator<T> &g, T factor) { in multiply() 87 generator<T> add(generator<T> &g, T adder) { in add()
|
| /llvm-project-15.0.7/polly/lib/External/isl/interface/ |
| H A D | generator.cc | 61 if (!generator::is_isl_type(type)) in first_arg_matches_class() 290 if (!generator::is_mutator(*c, fd)) in handled_sets_enum() 333 if (!generator::is_mutator(*c, fd)) in sets_persistent_callback() 385 generator::generator(SourceManager &SM, set<RecordDecl *> &exported_types, in generator() function in generator 442 void generator::die(const char *msg) in die() 450 void generator::die(string msg) in die() 524 bool generator::takes(Decl *decl) in takes() 531 bool generator::keeps(Decl *decl) in keeps() 538 bool generator::gives(Decl *decl) in gives() 796 if (generator::is_isl_type(type)) in type_suffix() [all …]
|
| H A D | plain_cpp.h | 71 plain_cpp_generator &generator; member 74 plain_cpp_generator &generator, bool is_declaration) : in plain_printer() 75 class_printer(os, clazz, generator, is_declaration), in plain_printer() 76 generator(generator) {} in plain_printer() 92 plain_cpp_generator &generator) : in decl_printer() 93 plain_printer(os, clazz, generator, true) {} in decl_printer() 118 plain_cpp_generator &generator) : in impl_printer() 119 plain_printer(os, clazz, generator, false) {} in impl_printer()
|
| H A D | cpp.cc | 340 if (generator.conversions.count(type) == 0) in next_variant() 516 if (generator::is_string(type)) { in print_param_use() 521 if (generator::is_callback(type)) { in print_param_use() 530 if (generator::keeps(param)) { in print_param_use() 691 callback = generator::extract_prototype(type); in generate_callback_args() 937 if (generator::is_constructor(method)) in get_kind() 939 else if (generator::is_static(clazz, method)) in get_kind() 1057 if (generator::keeps(param)) in param_needs_copy() 1059 if (generator::is_string(type) || generator::is_callback(type)) in param_needs_copy() 1124 if (generator::is_isl_type(type)) in param_needs_copy() [all …]
|
| H A D | plain_cpp.cc | 735 if (generator.checked) { in print_stream_insertion() 753 if (generator.checked) in print_check_ptr() 767 if (generator.checked) in print_check_ptr_start() 784 if (generator.checked) in print_check_ptr_end() 1132 if (generator.checked) in print_downcast() 1150 if (generator.checked) in print_downcast() 1242 if (generator.checked) in print_argument_validity_check() 1293 if (generator.checked) in print_save_ctx() 1333 if (generator.checked) in print_on_error_continue() 1391 if (generator.checked) in print_exceptional_execution_check() [all …]
|
| H A D | cpp_conversion.h | 3 class cpp_conversion_generator : public generator { 13 generator(SM, exported_types, exported_functions, functions) {} in cpp_conversion_generator()
|
| H A D | template_cpp.cc | 367 generator::die("Leaf cannot be renamed"); in param_renamer() 1225 template_cpp_generator &generator) : in specialization_printer() 1226 os(os), generator(generator) {} in specialization_printer() 1232 template_cpp_generator &generator; member 1302 template_cpp_generator &generator; member 1319 instance(instance), generator(instance_printer.generator) in class_printer() 2621 template_cpp_generator &generator) : in class_decl_printer() 2622 specialization_printer(os, generator) {} in class_decl_printer() 2763 generator.print_friends(os); in print_class() 2781 template_cpp_generator &generator) : in class_impl_printer() [all …]
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/ |
| H A D | unique.pass.cpp | 29 ForwardIt last2, Generator generator) in operator ()() 36 ForwardIt last2, Generator generator) in operator ()() 43 ForwardIt last2, BinaryPred pred, Generator generator) in operator ()() 50 ForwardIt last2, BinaryPred pred, Generator generator) in operator ()() 62 fill_data(first1, last1, generator); in operator ()() 63 fill_data(first2, last2, generator); in operator ()() 76 Generator generator) in operator ()() 81 fill_data(first1, last1, generator); in operator ()() 82 fill_data(first2, last2, generator); in operator ()() 95 test(Generator generator, Predicate pred) in test() argument [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profgen/ |
| H A D | coroutine.test | 31 struct generator { 36 static auto get_return_object_on_allocation_failure() { return generator{nullptr}; } 37 auto get_return_object() { return generator{handle::from_promise(*this)}; } 49 generator(generator const &) = delete; 50 generator(generator &&rhs) : coro(rhs.coro) { rhs.coro = nullptr; } 51 ~generator() { 57 generator(handle h) : coro(h) {} 61 generator<int> ticker(int count) {
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | ReproducerTest.cpp | 114 auto &generator = *reproducer.GetGenerator(); in TEST() local 116 auto *provider = generator.Create<DummyProvider>(); in TEST() 128 auto &generator = *reproducer.GetGenerator(); in TEST() local 130 auto *provider = generator.Create<DummyProvider>(); in TEST() 133 auto *provider_alt = generator.Get<DummyProvider>(); in TEST() 143 auto &generator = *reproducer.GetGenerator(); in TEST() local 145 auto &provider = generator.GetOrCreate<DummyProvider>(); in TEST() 149 auto &provider_alt = generator.GetOrCreate<DummyProvider>(); in TEST() 170 auto &generator = *reproducer.GetGenerator(); in TEST() local 171 auto *provider = generator.Create<YamlMultiProvider>(); in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | GenInfo.h | 33 GenInfo(StringRef arg, StringRef description, GenFunction generator) in GenInfo() argument 34 : arg(arg), description(description), generator(std::move(generator)) {} in GenInfo() 38 assert(generator && "Cannot call generator with null generator"); in invoke() 39 return generator(recordKeeper, os); in invoke() 57 GenFunction generator; variable
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/end.to.end/ |
| H A D | generator.pass.cpp | 21 template <typename Ty> struct generator { struct 30 generator get_return_object() { return generator{this}; }; in get_return_object() argument 66 generator(generator &&rhs) : p(rhs.p) { rhs.p = nullptr; } in generator() function 68 ~generator() { in ~generator() argument 74 explicit generator(promise_type *promise) in generator() function 121 generator<int> count(int n) { in count() 126 generator<int> range(int from, int n) { in range()
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
| H A D | generator.pass.cpp | 21 template <typename Ty> struct generator { struct 30 generator get_return_object() { return generator{this}; }; in get_return_object() argument 66 generator(generator &&rhs) : p(rhs.p) { rhs.p = nullptr; } in generator() argument 68 ~generator() { in ~generator() argument 74 explicit generator(promise_type *p) in generator() argument 121 generator<int> count(int n) { in count() 126 generator<int> range(int from, int n) { in range()
|
| /llvm-project-15.0.7/third-party/benchmark/ |
| H A D | appveyor.yml | 12 generator: "Visual Studio 15 2017" 15 generator: "Visual Studio 15 2017 Win64" 18 generator: "Visual Studio 14 2015" 21 generator: "Visual Studio 14 2015 Win64" 24 generator: "MinGW Makefiles" 33 - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%") 40 …- cmake -G "%generator%" "-DCMAKE_BUILD_TYPE=%configuration%" -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON…
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
| H A D | partition.pass.cpp | 72 Size n, UnaryOp unary_op, Generator generator) in operator ()() 79 BiDirIt exp_last, Size n, UnaryOp unary_op, Generator generator) in operator ()() 86 Size n, UnaryOp unary_op, Generator generator) 93 BiDirIt exp_last, Size n, UnaryOp unary_op, Generator generator) 101 Generator generator) in operator ()() 105 fill_data(first, last, generator); in operator ()() 112 fill_data(exp_first, exp_last, generator); in operator ()() 114 fill_data(first, last, generator); in operator ()() 131 test_by_type(Generator generator, UnaryPred pred) in test_by_type() argument 142 generator); in test_by_type()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | random.cpp | 43 static Generator generator; variable 53 result = generator(); in GetNextValue() 77 GeneratedWord word{(GetNextValue() - generator.min()) & rangeMask}; in Generate() 100 generator.seed(0); in RTNAME() 102 generator.seed(std::time(nullptr)); in RTNAME() 182 generator.seed(seed); in RTNAME() 191 generator.seed(0); in RTNAME()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | mlir-tblgen.cpp | 72 const mlir::GenInfo *generator; variable 148 if (!generator) { in mlirTableGenMain() 152 return generator->invoke(records, os); in mlirTableGenMain() 157 llvm::cl::opt<const mlir::GenInfo *, false, mlir::GenNameParser> generator( in main() local 160 ::generator = generator.getValue(); in main()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | Bugpoint.rst | 47 test program, it tries executing it with the selected code generator. If the 48 selected code generator crashes, ``bugpoint`` starts the `crash debugger`_ on 49 the code generator. Otherwise, if the resulting output differs from the 50 reference output, it assumes the difference resulted from a code generator 51 failure, and starts the `code generator debugger`_. 53 Finally, if the output of the selected code generator matches the reference 65 If an optimizer or code generator crashes, ``bugpoint`` will try as hard as it 81 .. _code generator debugger: 83 Code generator debugger 109 the selected code generator is working properly. [all …]
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBReproducer.cpp | 119 if (auto generator = r.GetGenerator()) { in Generate() local 120 generator->Keep(); in Generate() 129 if (auto generator = r.GetGenerator()) { in SetAutoGenerate() local 130 generator->SetAutoGenerate(b); in SetAutoGenerate()
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | PassCrashRecovery.cpp | 344 CrashReproducerInstrumentation(PassCrashReproducerGenerator &generator) in CrashReproducerInstrumentation() 345 : generator(generator) {} in CrashReproducerInstrumentation() 350 generator.prepareReproducerFor(pass, op); in runBeforePass() 355 generator.removeLastReproducerFor(pass, op); in runAfterPass() 359 generator.finalize(op, /*executionResult=*/failure()); in runAfterPassFailed() 364 PassCrashReproducerGenerator &generator; member
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | mechanics_of_public_api.rst | 8 is listed in these files. In the generated header file, the header generator 14 When the header generator sees the ``%%public_api`` command, it looks up the 23 Note that, the header generator only learns the names of the public entities
|
| H A D | ground_truth_specification.rst | 9 for the ISO C standard is ``spec/stdc.td``. Tools like the header generator 10 (described in the header generation document), docs generator, etc. use the
|
| H A D | header_generation.rst | 37 generator replaces the arguments with concrete values. 97 The header generator will only include content starting from the line after the 104 file. The header file generator will replace this command with the public API of 107 of how the header generator replaces this command with the public API. 115 The header generator will replace this command with the public API to be exposed
|
| /llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/ |
| H A D | testfilerunner.m | 48 @synthesize generator; 61 return generator.radar; 160 char *error = generator.errorString; 208 if (generator.warningString) { 231 if (generator.warningString) { 403 result.generator = self; 688 if (generator) [generators addObject:generator]; 698 //NSLog(@"got %@", generator); 699 if (onlyOpen && !generator.open) { 703 if (!onlyOpen && generator.open) { [all …]
|
| /llvm-project-15.0.7/clang/test/ExtractAPI/ |
| H A D | objc_protocol.m | 9 // RUN: sed -e "s@\"generator\": \".*\"@\"generator\": \"?\"@g" \ 31 "generator": "?"
|