aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/OffloadBundle.cpp
diff options
context:
space:
mode:
authorJakub Kuderski <jakub@nod-labs.com>2025-10-06 20:16:32 -0400
committerGitHub <noreply@github.com>2025-10-06 20:16:32 -0400
commit454ef024c1c3f9973cd4f70b1cf00026e66f5bf3 (patch)
tree14de643a067647bb170e74f2657613769584629b /llvm/lib/Object/OffloadBundle.cpp
parent64574d3564fc2b4d3ec812a57a414f67558c26e4 (diff)
downloadllvm-454ef024c1c3f9973cd4f70b1cf00026e66f5bf3.zip
llvm-454ef024c1c3f9973cd4f70b1cf00026e66f5bf3.tar.gz
llvm-454ef024c1c3f9973cd4f70b1cf00026e66f5bf3.tar.bz2
[ADT] Add `sum_of` and `product_of` accumulate wrappers (#162129)
Also extend the `accumulate` wrapper to accept a binary operator. The goal is to the most common usage of `std::accumulate` across the codebase -- calculating either the sum of or the product of all values.
Diffstat (limited to 'llvm/lib/Object/OffloadBundle.cpp')
0 files changed, 0 insertions, 0 deletions