Home
last modified time | relevance | path

Searched refs:MaskType (Results 1 – 17 of 17) sorted by relevance

/llvm-project/lldb/include/lldb/Utility/
H A DLog.h135 /// 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 DLLDBLog.h18 enum class LLDBLog : Log::MaskType {
/llvm-project/lldb/source/Utility/
H A DLog.cpp68 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 DOSLog.h77 StringRef MaskType; variable
83 MaskType(maskType) { in TheKind()
108 StringRef getMaskType() const { return MaskType; } in getMaskType()
H A DFormatString.h536 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 DOSLog.cpp29 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 DPrintfFormatString.cpp144 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 Dcrash-GH67914.cpp40 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 DLogChannelDWARF.h17 enum class DWARFLog : Log::MaskType {
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindowsLog.h17 enum class WindowsLog : Log::MaskType {
/llvm-project/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIXLog.h18 enum class POSIXLog : Log::MaskType {
/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDPLog.h17 enum class KDPLog : Log::MaskType {
/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemoteLog.h18 enum class GDBRLog : Log::MaskType {
/llvm-project/lldb/unittests/Utility/
H A DLogTest.cpp22 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 Dllvm-jitlink.cpp1451 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 DAArch64ISelLowering.cpp27875 EVT MaskType = EVT::getVectorVT(*DAG.getContext(), MaskEltType, IndexLen); GenerateFixedLengthSVETBL() local
[all...]
/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp6898 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