/llvm-project/lldb/include/lldb/Utility/ |
H A D | Log.h | 135 /// enum class MyLog : MaskType { 141 using MaskType = uint64_t; 143 template <MaskType Bit> 144 static constexpr MaskType ChannelFlag = MaskType(1) << Bit; 150 MaskType flag; 155 : name(name), description(description), flag(MaskType(mask)) { in Category() 157 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Category() 169 const MaskType default_flags; 175 default_flags(MaskType(default_flag in Channel() [all...] |
H A D | LLDBLog.h | 18 enum class LLDBLog : Log::MaskType {
|
/llvm-project/lldb/source/Utility/ |
H A D | Log.cpp | 68 Log::MaskType Log::GetFlags(llvm::raw_ostream &stream, in GetFlags() 72 Log::MaskType flags = 0; in GetFlags() 75 flags |= std::numeric_limits<Log::MaskType>::max(); in GetFlags() 100 std::optional<Log::MaskType> flags, uint32_t options) { in Enable() 106 MaskType mask = m_mask.fetch_or(*flags, std::memory_order_relaxed); 114 void Log::Disable(std::optional<Log::MaskType> flags) { in Disable() 118 flags = std::numeric_limits<MaskType>::max(); in Dump() 120 MaskType mask = m_mask.fetch_and(~(*flags), std::memory_order_relaxed); in Dump() 141 Log::MaskType Log::GetMask() const { in PutString() 230 iter->second.Disable(std::numeric_limits<MaskType> in EnableLogChannel() [all...] |
/llvm-project/clang/include/clang/AST/ |
H A D | OSLog.h | 77 StringRef MaskType; variable 83 MaskType(maskType) { in TheKind() 108 StringRef getMaskType() const { return MaskType; } in getMaskType()
|
H A D | FormatString.h | 536 StringRef MaskType; variable 622 StringRef getMaskType() const { return MaskType; } in getMaskType() 623 void setMaskType(StringRef S) { MaskType = S; } in setMaskType() 759 virtual void handleInvalidMaskType(StringRef MaskType) {} in handleInvalidMaskType() argument
|
/llvm-project/clang/lib/AST/ |
H A D | OSLog.cpp | 29 StringRef MaskType; 131 ArgsData.back().MaskType = FS.getMaskType(); in HandlePrintfSpecifier() 138 if (!Data.MaskType.empty()) { in computeLayout() 141 Size, 0, Data.MaskType); in computeLayout() 30 StringRef MaskType; global() member
|
H A D | PrintfFormatString.cpp | 144 StringRef MaskType = MatchedStr.substr(sizeof("mask.") - 1); in ParsePrintfSpecifier() local 145 unsigned Size = MaskType.size(); in ParsePrintfSpecifier() 147 H.handleInvalidMaskType(MaskType); in ParsePrintfSpecifier() 148 FS.setMaskType(MaskType); in ParsePrintfSpecifier()
|
/llvm-project/clang/test/SemaCXX/ |
H A D | crash-GH67914.cpp | 40 void load(typename T::MaskType mask) { in load() 73 using MaskType = Mask< Value_, Size_ >; // expected-warning 0+ {{}} typedef
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | LogChannelDWARF.h | 17 enum class DWARFLog : Log::MaskType {
|
/llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
H A D | ProcessWindowsLog.h | 17 enum class WindowsLog : Log::MaskType {
|
/llvm-project/lldb/source/Plugins/Process/POSIX/ |
H A D | ProcessPOSIXLog.h | 18 enum class POSIXLog : Log::MaskType {
|
/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/ |
H A D | ProcessKDPLog.h | 17 enum class KDPLog : Log::MaskType {
|
/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemoteLog.h | 18 enum class GDBRLog : Log::MaskType {
|
/llvm-project/lldb/unittests/Utility/ |
H A D | LogTest.cpp | 22 enum class TestChannel : Log::MaskType { 407 EXPECT_THAT(mask, testing::AnyOf(0, Log::MaskType(TestChannel::FOO))); in TEST_F()
|
/llvm-project/llvm/tools/llvm-jitlink/ |
H A D | llvm-jitlink.cpp | 1451 template <typename MaskType> bool matchMask(MaskType Mask) { in sanitizeArguments() 1452 if (Mask == (Mask & *reinterpret_cast<const MaskType *>(Pos))) { in sanitizeArguments() 1453 Pos += sizeof(MaskType); in sanitizeArguments()
|
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 27875 EVT MaskType = EVT::getVectorVT(*DAG.getContext(), MaskEltType, IndexLen); GenerateFixedLengthSVETBL() local [all...] |
/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 6898 void handleInvalidMaskType(StringRef MaskType) override; in HandlePrintfSpecifier() 6951 void CheckPrintfHandler::handleInvalidMaskType(StringRef MaskType) { in HandlePrintfSpecifier() 6952 S.Diag(getLocationOfByte(MaskType.data()), diag::err_invalid_mask_type_size); in HandlePrintfSpecifier() 6680 handleInvalidMaskType(StringRef MaskType) handleInvalidMaskType() argument
|