Lines Matching refs:Arch
28 enum class Arch : size_t {
44 inline bool has32(Arch arch) {
45 return arch == Arch::ARCH_32 || arch == Arch::ARCH_32_64;
48 inline bool has64(Arch arch) {
49 return arch == Arch::ARCH_64 || arch == Arch::ARCH_32_64;
52 inline constexpr Arch operator|(Arch lft, Arch rgt) {
53 return static_cast<Arch>(static_cast<size_t>(lft) | static_cast<size_t>(rgt));
55 static_assert((Arch::ARCH_32 | Arch::ARCH_64) == Arch::ARCH_32_64, "bad Arch::operator|");
57 inline Arch& operator|=(Arch& lft, Arch rgt) {