| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ |
| H A D | ranges.for_each.pass.cpp | 33 concept HasForEachIt = requires (Iter iter, Sent sent) { std::ranges::for_each(iter, sent, Callable… 43 concept HasForEachItFunc = requires(int* a, int* b, Func func) { std::ranges::for_each(a, b, func);… 50 concept HasForEachR = requires (Range range) { std::ranges::for_each(range, Callable{}); }; 60 concept HasForEachRFunc = requires(UncheckedRange<int*> a, Func func) { std::ranges::for_each(a, fu… 73 std::ranges::for_each(Iter(a), Sent(Iter(a + 4)), func); in test_iterator() 88 std::ranges::for_each(range, func); in test_iterator() 103 std::ranges::for_each(Iter(a), Sent(Iter(a)), [](auto&) { assert(false); }); in test_iterator() 108 std::ranges::for_each(range, [](auto&) { assert(false); }); in test_iterator() 129 std::ranges::for_each(a, a + 3, [](int& i) { i = 0; }, &S::check); in test() 139 std::ranges::for_each(a, [](int& i) { i = 0; }, &S::check); in test()
|
| H A D | test.pass.cpp | 27 std::for_each(std::begin(ia), std::end(ia), [](int &a) { a += 2; }); in test_constexpr() 44 for_each_test f = std::for_each(cpp17_input_iterator<int*>(ia), in main()
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.nonmodifying/ |
| H A D | for_each.pass.cpp | 52 std::for_each(expected_first, expected_last, Flip<T>(1)); in operator ()() 53 for_each(exec, first, last, Flip<T>(1)); in operator ()() 85 for_each(exec, iter, iter, non_const(f)); in operator ()()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SplitModule.cpp | 150 llvm::for_each(M.functions(), recordGVSet); in findPartitions() 151 llvm::for_each(M.globals(), recordGVSet); in findPartitions() 152 llvm::for_each(M.aliases(), recordGVSet); in findPartitions()
|
| H A D | CanonicalizeFreezeInLoops.cpp | 160 for_each(PHI.users(), Visit); in run() 161 for_each(Info.StepInst->users(), Visit); in run()
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | for_each.h | 22 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 _Function for_each(_InputIterator __… in for_each() function
|
| H A D | ranges_for_each.h | 70 inline constexpr auto for_each = __for_each::__fn{};
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/ |
| H A D | Forest.cpp | 75 llvm::for_each(P->alternatives(), CountVisits); in dumpRecursive() 77 llvm::for_each(P->elements(), CountVisits); in dumpRecursive()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | Clustering.cpp | 66 for_each(Pts, [this, &G](size_t P) { in areAllNeighbours() 229 for_each(PointsOfSchedClass, [this, &CurrentCluster](size_t P) { in clusterizeNaive() 311 std::for_each(it, OldCluster.PointIndices.end(), in stabilize()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOCodeGenerator.cpp | 469 llvm::for_each(MergedModule->functions(), externalize); in restoreLinkageForExternals() 470 llvm::for_each(MergedModule->globals(), externalize); in restoreLinkageForExternals() 471 llvm::for_each(MergedModule->aliases(), externalize); in restoreLinkageForExternals()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | CombinationGenerator.h | 121 llvm::for_each(VariablesChoices, [](ArrayRef<choice_type> VariableChoices) { in CombinationGenerator()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | HIPSPV.cpp | 157 llvm::for_each(getHIPDeviceLibs(DriverArgs), in addClangTargetOptions() 234 llvm::for_each(BCLibArgs, [&](StringRef BCName) { in getHIPDeviceLibs()
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark_register.h | 54 std::for_each(it, dst->end(), [](T& t) { t *= -1; }); in AddNegatedPowers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | ConcatNestedNamespacesCheck.cpp | 55 std::for_each(std::next(Namespaces.begin()), Namespaces.end(), in concatNamespaces()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | FunctionLayout.cpp | 57 std::for_each( in insertBasicBlocks()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | GrammarBNF.cpp | 67 llvm::for_each(UniqueNonterminals, [&T](llvm::StringRef Name) { in build() 80 llvm::for_each(UniqueAttributeValues, [&T](llvm::StringRef Name) { in build()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | RISCVVEmitter.cpp | 243 llvm::for_each(SemaRecords, [&](const SemaRecord &SR) { in init() 249 llvm::for_each(Signatures, [this](auto &Sig) { insert(Sig); }); in init()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 368 std::for_each(MemInstrs.begin() + getInstrIndex(FirstStore) + 1, in findPointersWrittenOnForwardingPath() 370 std::for_each(MemInstrs.begin(), &MemInstrs[getInstrIndex(LastLoad)], in findPointersWrittenOnForwardingPath()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | STLExtrasTest.cpp | 295 TEST(STLExtrasTest, for_each) { in TEST() argument 299 llvm::for_each(v, [&count](int) { ++count; }); in TEST() 416 llvm::for_each(s, [&count](int) { ++count; }); in TEST()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/ |
| H A D | ranges_robust_against_copying_comparators.pass.cpp | 121 (void)std::ranges::for_each(first, last, UnaryVoid(&copies)); assert(copies == 1); copies = 0; in all_the_algorithms() 122 (void)std::ranges::for_each(a, UnaryVoid(&copies)); assert(copies == 1); copies = 0; in all_the_algorithms()
|
| H A D | ranges_robust_against_copying_projections.pass.cpp | 107 (void)std::ranges::for_each(first, last, UnaryVoid(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 108 (void)std::ranges::for_each(a, UnaryVoid(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CFGPrinter.cpp | 314 llvm::for_each(post_order(&F->getEntryBlock()), evaluateBB); in computeDeoptOrUnreachablePaths()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Sarif.cpp | 88 std::for_each(++Iter, End, [&Ret](StringRef Component) { in fileNameToURI()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86LoadValueInjectionLoadHardening.cpp | 476 llvm::for_each(Defs, AnalyzeDef); in getGadgetGraph() 488 llvm::for_each(Defs, AnalyzeDef); in getGadgetGraph()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/ |
| H A D | ranges_robust_against_proxy_iterators.pass.cpp | 107 test(std::ranges::for_each, in, std::identity{}); in run_tests()
|