mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 12:53:39 +08:00
bitmask_enum.h is essentially a copy of llvm/ADT/BitmaskEnum.h, with some minor cleanup and renaming. The bit_ceil function is a placeholder for std::bit_ceil, which we can use once compiler-rt can use c++20. These utilities will be used to simplify bitfield enum usage in upcoming ORC-RT patches.