Go to the documentation of this file.
14 #ifndef LLVM_CLANG_BASIC_XRAYINSTR_H
15 #define LLVM_CLANG_BASIC_XRAYINSTR_H
18 #include "llvm/ADT/StringRef.h"
19 #include "llvm/Support/MathExtras.h"
27 namespace XRayInstrKind {
49 assert(llvm::isPowerOf2_32(K));
77 #endif // LLVM_CLANG_BASIC_XRAYINSTR_H
void set(XRayInstrMask K, bool Value)
constexpr XRayInstrMask FunctionEntry
constexpr XRayInstrMask All
constexpr XRayInstrMask None
XRayInstrMask parseXRayInstrValue(StringRef Value)
Parses a command line argument into a mask.
constexpr XRayInstrMask FunctionExit
void clear(XRayInstrMask K=XRayInstrKind::All)
void serializeXRayInstrValue(XRayInstrSet Set, SmallVectorImpl< StringRef > &Values)
Serializes a set into a list of command line arguments.
bool hasOneOf(XRayInstrMask K) const
bool has(XRayInstrMask K) const
constexpr XRayInstrMask Custom
constexpr XRayInstrMask Typed