[llvm] RuntimeLibcalls: Add bitset for available libcalls (PR #150869)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 06:49:11 PDT 2025
================
@@ -53,8 +54,22 @@ static inline auto libcall_impls() {
return enum_seq(static_cast<RTLIB::LibcallImpl>(1), RTLIB::NumLibcallImpls);
}
+/// Manage a bitset representing the list of available libcalls for a module.
+class LibcallImplBitset : public Bitset<RTLIB::NumLibcallImpls> {
----------------
arsenm wrote:
This is using the protected constructor to directly set the array elements. Otherwise I'd have to print a gigantic initializer list per bit
https://github.com/llvm/llvm-project/pull/150869
More information about the llvm-commits
mailing list