Home
last modified time | relevance | path

Searched refs:FlagType (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dflags_test.cpp32 testFlag(scudo::FlagType::FT_bool, false, "flag_name=1", true); in TEST()
33 testFlag(scudo::FlagType::FT_bool, false, "flag_name=yes", true); in TEST()
36 testFlag(scudo::FlagType::FT_bool, true, "flag_name=0", false); in TEST()
38 testFlag(scudo::FlagType::FT_bool, true, "flag_name=no", false); in TEST()
57 testFlag(scudo::FlagType::FT_int, -11, nullptr, -11); in TEST()
58 testFlag(scudo::FlagType::FT_int, -11, "flag_name=0", 0); in TEST()
59 testFlag(scudo::FlagType::FT_int, -11, "flag_name='0'", 0); in TEST()
60 testFlag(scudo::FlagType::FT_int, -11, "flag_name=42", 42); in TEST()
61 testFlag(scudo::FlagType::FT_int, -11, "flag_name=-42", -42); in TEST()
65 testFlag(scudo::FlagType::FT_int, -11, "--flag_name=42", -11); in TEST()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dflags_parser.h19 enum class FlagType : u8 { enum
26 void registerFlag(const char *Name, const char *Desc, FlagType Type,
36 FlagType Type;
H A Dflags_parser.cpp132 case FlagType::FT_bool: in runHandler()
137 case FlagType::FT_int: in runHandler()
154 void FlagParser::registerFlag(const char *Name, const char *Desc, FlagType Type, in registerFlag()
H A Dflags.cpp37 Parser->registerFlag(#Name, Description, FlagType::FT_##Type, \ in registerFlags()
44 Parser->registerFlag("GWP_ASAN_" #Name, Description, FlagType::FT_##Type, \ in registerFlags()
H A Dreport.cpp58 void NORETURN reportInvalidFlag(const char *FlagType, const char *Value) { in reportInvalidFlag() argument
60 Report.append("invalid value for %s option: '%s'\n", FlagType, Value); in reportInvalidFlag()
H A Dreport.h22 void NORETURN reportInvalidFlag(const char *FlagType, const char *Value);
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_wait_release.h41 template <enum flag_type FlagType> struct flag_traits {};
104 template <flag_type FlagType> class kmp_flag {
112 typedef flag_traits<FlagType> traits_type;
140 class kmp_flag_native : public kmp_flag<FlagType> {
144 typedef flag_traits<FlagType> traits_type;
150 : kmp_flag<FlagType>(1), loc(p) {
154 : kmp_flag<FlagType>(), loc(p), checker(c) {}
234 class kmp_flag_atomic : public kmp_flag<FlagType> {
239 typedef flag_traits<FlagType> traits_type;
243 : kmp_flag<FlagType>(1), loc(p) {
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Expression/
H A DExpressionVariable.h105 typedef uint16_t FlagType; typedef
107 FlagType m_flags; // takes elements of Flags
/llvm-project-15.0.7/clang/include/clang/Basic/
H A Darm_sve.td160 class FlagType<int val> {
166 def NoFlags : FlagType<0x00000000>;
167 def FirstEltType : FlagType<0x00000001>;
170 def EltTypeMask : FlagType<0x0000000f>;
171 def FirstMemEltType : FlagType<0x00000010>;
174 def MemEltTypeMask : FlagType<0x00000070>;
175 def FirstMergeTypeMask : FlagType<0x00000080>;
178 def MergeTypeMask : FlagType<0x00000380>;
179 def FirstSplatOperand : FlagType<0x00000400>;
184 def SplatOperandMask : FlagType<0x00001C00>;
[all …]
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp370 QualType FlagType = Flag->getType().getNonReferenceType(); in create_call_once() local
371 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()