2 Commits

Author SHA1 Message Date
Mikhail Goncharov
dbd81ba2e8 complete rename of __orc_rt namespace
for 3e04ad428313dde40c779af6d675b162e150125e

it's bizzare that none of the builbots were broken, only bazel build
https://buildkite.com/llvm-project/upstream-bazel/builds/109623#0191d5d0-2b3e-4ee7-b8dd-1e2580977e9b
2024-09-09 11:49:34 +02:00
Lang Hames
b2bbe8cc1c [ORC-RT] Add bitmask-enum and bit_ceil utilities to the ORC runtime.
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.
2023-11-16 16:14:15 -08:00