reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
30 enum XRayInstrOrdinal : XRayInstrMask { 37 constexpr XRayInstrMask None = 0; 38 constexpr XRayInstrMask Function = 1U << XRIO_Function; 39 constexpr XRayInstrMask Custom = 1U << XRIO_Custom; 40 constexpr XRayInstrMask Typed = 1U << XRIO_Typed; 41 constexpr XRayInstrMask All = Function | Custom | Typed; 46 bool has(XRayInstrMask K) const { 51 bool hasOneOf(XRayInstrMask K) const { return Mask & K; } 53 void set(XRayInstrMask K, bool Value) { 58 void clear(XRayInstrMask K = XRayInstrKind::All) { Mask &= ~K; } 64 XRayInstrMask Mask = 0; 67 XRayInstrMask parseXRayInstrValue(StringRef Value);tools/clang/lib/Basic/XRayInstr.cpp
18 XRayInstrMask parseXRayInstrValue(StringRef Value) { 19 XRayInstrMask ParsedKind = llvm::StringSwitch<XRayInstrMask>(Value)