15 #ifndef LLVM_CLANG_BASIC_XRAYINSTR_H 16 #define LLVM_CLANG_BASIC_XRAYINSTR_H 19 #include "llvm/ADT/StringRef.h" 20 #include "llvm/Support/MathExtras.h" 28 namespace XRayInstrKind {
48 assert(llvm::isPowerOf2_32(K));
55 assert(llvm::isPowerOf2_32(K));
56 Mask =
Value ? (Mask | K) : (Mask & ~K);
61 bool empty()
const {
return Mask == 0; }
72 #endif // LLVM_CLANG_BASIC_XRAYINSTR_H void clear(XRayInstrMask K=XRayInstrKind::All)
constexpr XRayInstrMask Typed
constexpr XRayInstrMask Function
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
constexpr XRayInstrMask All
constexpr XRayInstrMask Custom
bool hasOneOf(XRayInstrMask K) const
constexpr XRayInstrMask None
Dataflow Directional Tag Classes.
bool has(XRayInstrMask K) const
XRayInstrMask parseXRayInstrValue(StringRef Value)