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"
27namespace XRayInstrKind {
49 assert(llvm::isPowerOf2_32(K));
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
constexpr XRayInstrMask Typed
constexpr XRayInstrMask FunctionExit
constexpr XRayInstrMask None
constexpr XRayInstrMask FunctionEntry
constexpr XRayInstrMask All
constexpr XRayInstrMask Custom
The JSON file list parser is used to communicate input to InstallAPI.
XRayInstrMask parseXRayInstrValue(StringRef Value)
Parses a command line argument into a mask.
void serializeXRayInstrValue(XRayInstrSet Set, SmallVectorImpl< StringRef > &Values)
Serializes a set into a list of command line arguments.
void set(XRayInstrMask K, bool Value)
void clear(XRayInstrMask K=XRayInstrKind::All)
bool hasOneOf(XRayInstrMask K) const
bool has(XRayInstrMask K) const