| LLVM 22.0.0git
    | 
| Functions | |
| template<typename E> | |
| constexpr std::underlying_type_t< E > | Mask () | 
| Get a bitmask with 1s in all places up to the high-order bit of E's largest value. | |
| template<typename E> | |
| constexpr std::underlying_type_t< E > | Underlying (E Val) | 
| Check that Val is in range for E, and return Val cast to E's underlying type. | |
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr bool | operator! (E Val) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr bool | any (E Val) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr E | operator~ (E Val) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr E | operator| (E LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr E | operator& (E LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr E | operator^ (E LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr E | operator<< (E LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| constexpr E | operator>> (E LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| E & | operator|= (E &LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| E & | operator&= (E &LHS, E RHS) | 
| template<typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> | |
| E & | operator^= (E &LHS, E RHS) | 
| template<typename e, typename = std::enable_if_t<is_bitmask_enum<e>::value>> | |
| e & | operator<<= (e &lhs, e rhs) | 
| template<typename e, typename = std::enable_if_t<is_bitmask_enum<e>::value>> | |
| e & | operator>>= (e &lhs, e rhs) | 
| 
 | constexpr | 
Definition at line 148 of file BitmaskEnum.h.
References E().
Get a bitmask with 1s in all places up to the high-order bit of E's largest value.
Definition at line 127 of file BitmaskEnum.h.
References llvm::NextPowerOf2().
Referenced by llvm::SelectionDAG::getNode(), operator~(), and Underlying().
| 
 | constexpr | 
Definition at line 143 of file BitmaskEnum.h.
References E().
| 
 | constexpr | 
Definition at line 163 of file BitmaskEnum.h.
References E(), LHS, RHS, and Underlying().
| E & llvm::BitmaskEnumDetail::operator&= | ( | E & | LHS, | 
| E | RHS ) | 
Definition at line 192 of file BitmaskEnum.h.
| 
 | constexpr | 
Definition at line 173 of file BitmaskEnum.h.
References E(), LHS, RHS, and Underlying().
| e & llvm::BitmaskEnumDetail::operator<<= | ( | e & | lhs, | 
| e | rhs ) | 
Definition at line 204 of file BitmaskEnum.h.
| 
 | constexpr | 
Definition at line 178 of file BitmaskEnum.h.
References E(), LHS, RHS, and Underlying().
| e & llvm::BitmaskEnumDetail::operator>>= | ( | e & | lhs, | 
| e | rhs ) | 
Definition at line 210 of file BitmaskEnum.h.
| 
 | constexpr | 
Definition at line 168 of file BitmaskEnum.h.
References E(), LHS, RHS, and Underlying().
| E & llvm::BitmaskEnumDetail::operator^= | ( | E & | LHS, | 
| E | RHS ) | 
Definition at line 198 of file BitmaskEnum.h.
| 
 | constexpr | 
Definition at line 158 of file BitmaskEnum.h.
References E(), LHS, RHS, and Underlying().
| E & llvm::BitmaskEnumDetail::operator|= | ( | E & | LHS, | 
| E | RHS ) | 
Definition at line 186 of file BitmaskEnum.h.
| 
 | constexpr | 
Definition at line 153 of file BitmaskEnum.h.
References E(), Mask(), and Underlying().
| 
 | constexpr | 
Check that Val is in range for E, and return Val cast to E's underlying type.
Definition at line 135 of file BitmaskEnum.h.
References assert(), E(), Mask(), and llvm::to_underlying().
Referenced by operator&(), operator<<(), operator>>(), operator^(), operator|(), and operator~().