Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 1295) sorted by relevance

12345678910>>...52

/llvm-project-15.0.7/clang/test/Analysis/
H A Dtrack-control-dependency-conditions.cpp30 int flag; variable
39 flag = 1; in test()
59 int flag; variable
68 flag = 1; in test()
90 int flag; variable
103 flag = 1; in test()
292 int flag; variable
338 int flag; variable
355 int flag; variable
663 int flag; variable
[all …]
H A Dcall_once.cpp182 std::once_flag flag; in test_function_objects_warning() local
195 std::once_flag flag; in test_param_passing_lambda() local
210 std::once_flag flag; in test_param_passing_lambda_false() local
224 std::once_flag flag; in test_param_passing_stored_lambda() local
239 std::once_flag flag; in test_multiparam_passing_lambda() local
255 std::once_flag flag; in test_param_passing_lambda_global() local
272 std::once_flag flag; in test_param_passing_funcptr() local
284 std::once_flag flag; in test_blocks() local
285 std::call_once(flag, ^{ in test_blocks()
392 std::once_flag flag; in callback_with_implicit_cast_ok() local
[all …]
H A Dlive-stmts.cpp67 void testIfBranchExpression(bool flag) { in testIfBranchExpression() argument
69 while (flag) { in testIfBranchExpression()
95 void testWhileBodyExpression(bool flag) { in testWhileBodyExpression() argument
97 while (flag) { in testWhileBodyExpression()
123 void testDoWhileBodyExpression(bool flag) { in testDoWhileBodyExpression() argument
125 while (flag) { in testDoWhileBodyExpression()
152 void testForBodyExpression(bool flag) { in testForBodyExpression() argument
154 while (flag) { in testForBodyExpression()
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dmodule-flags-1.ll5 ; CHECK: incorrect number of operands in module flag
38 !16 = !{i32 5, !"flag-2", i32 56}
40 !17 = !{i32 5, !"flag-3", i32 57}
42 !18 = !{i32 5, !"flag-4", !{i32 57}}
55 ; CHECK: invalid requirement on flag, flag is not present in module
57 ; CHECK: invalid requirement on flag, flag does not have the required value
58 !12 = !{i32 1, !"flag-0", i32 53}
59 !13 = !{i32 3, !"bar", !{!"flag-0", i32 54}}
60 ; CHECK-NOT: invalid requirement on flag, flag is not present in module
61 ; CHECK-NOT: invalid requirement on flag, flag does not have the required value
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/thread/
H A Datomic.availability.verify.cpp52 std::atomic_flag flag; in main() local
55 flag.wait(b); // expected-error {{is unavailable}} in main()
56 flag.wait(b, m); // expected-error {{is unavailable}} in main()
57 flag.notify_one(); // expected-error {{is unavailable}} in main()
58 flag.notify_all(); // expected-error {{is unavailable}} in main()
60 std::atomic_flag_wait(&flag, b); // expected-error {{is unavailable}} in main()
67 std::atomic_flag volatile flag; in main() local
70 flag.wait(b); // expected-error {{is unavailable}} in main()
71 flag.wait(b, m); // expected-error {{is unavailable}} in main()
72 flag.notify_one(); // expected-error {{is unavailable}} in main()
[all …]
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dcommandlineflags.cc112 static std::string FlagToEnvVar(const char* flag) { in FlagToEnvVar() argument
113 const std::string flag_str(flag); in FlagToEnvVar()
124 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() argument
125 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv()
131 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv()
143 const std::string env_var = FlagToEnvVar(flag); in DoubleFromEnv()
155 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv()
162 const std::string env_var = FlagToEnvVar(flag); in KvPairsFromEnv()
182 if (str == nullptr || flag == nullptr) return nullptr; in ParseFlagValue()
266 bool IsFlag(const char* str, const char* flag) { in IsFlag() argument
[all …]
H A Dcommandlineflags.h38 bool BoolFromEnv(const char* flag, bool default_val);
45 int32_t Int32FromEnv(const char* flag, int32_t default_val);
52 double DoubleFromEnv(const char* flag, double default_val);
59 const char* StringFromEnv(const char* flag, const char* default_val);
67 const char* flag, std::map<std::string, std::string> default_val);
78 bool ParseBoolFlag(const char* str, const char* flag, bool* value);
84 bool ParseInt32Flag(const char* str, const char* flag, int32_t* value);
90 bool ParseDoubleFlag(const char* str, const char* flag, double* value);
96 bool ParseStringFlag(const char* str, const char* flag, std::string* value);
102 bool ParseKeyValueFlag(const char* str, const char* flag,
[all …]
/llvm-project-15.0.7/libunwind/cmake/Modules/
H A DHandleLibunwindFlags.cmake64 foreach(flag ${ARGN})
131 foreach(flag ${ARGN})
158 foreach(flag ${ARGN})
180 # For each specified flag, add that flag to 'LIBUNWIND_COMPILE_FLAGS' if the
183 foreach(flag ${ARGN})
205 # For each specified flag, add that flag to 'LIBUNWIND_C_FLAGS' if the
208 foreach(flag ${ARGN})
230 # For each specified flag, add that flag to 'LIBUNWIND_CXX_FLAGS' if the
233 foreach(flag ${ARGN})
255 # For each specified flag, add that flag to 'LIBUNWIND_LINK_FLAGS' if the
[all …]
/llvm-project-15.0.7/libcxxabi/cmake/Modules/
H A DHandleLibcxxabiFlags.cmake63 foreach(flag ${ARGN})
130 foreach(flag ${ARGN})
157 foreach(flag ${ARGN})
179 # For each specified flag, add that flag to 'LIBCXXABI_COMPILE_FLAGS' if the
182 foreach(flag ${ARGN})
189 # For each specified flag, add that flag to 'LIBCXXABI_COMPILE_FLAGS' if the
192 foreach(flag ${ARGN})
214 # For each specified flag, add that flag to 'LIBCXXABI_LINK_FLAGS' if the
217 foreach(flag ${ARGN})
244 # For each specified flag, add that compile flag to the provided target.
[all …]
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_atomic.h1145 int flag);
1148 int flag);
1157 int flag);
1160 int flag);
1164 int flag);
1186 int flag);
1208 int flag);
1211 int flag);
1215 int flag);
1218 int flag);
[all …]
H A Dkmp_wait_release.cpp15 void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64<> *flag, in __kmp_wait_64() argument
19 this_thr, flag USE_ITT_BUILD_ARG(itt_sync_obj)); in __kmp_wait_64()
22 this_thr, flag USE_ITT_BUILD_ARG(itt_sync_obj)); in __kmp_wait_64()
25 void __kmp_release_64(kmp_flag_64<> *flag) { __kmp_release_template(flag); } in __kmp_release_64() argument
29 void __kmp_mwait_32(int th_gtid, kmp_flag_32<C, S> *flag) { in __kmp_mwait_32() argument
30 __kmp_mwait_template(th_gtid, flag); in __kmp_mwait_32()
33 void __kmp_mwait_64(int th_gtid, kmp_flag_64<C, S> *flag) { in __kmp_mwait_64() argument
34 __kmp_mwait_template(th_gtid, flag); in __kmp_mwait_64()
38 __kmp_mwait_template(th_gtid, flag); in __kmp_atomic_mwait_64()
40 void __kmp_mwait_oncore(int th_gtid, kmp_flag_oncore *flag) { in __kmp_mwait_oncore() argument
[all …]
/llvm-project-15.0.7/libcxx/cmake/Modules/
H A DHandleLibcxxFlags.cmake64 foreach(flag ${ARGN})
128 foreach(flag ${ARGN})
155 foreach(flag ${ARGN})
177 # For each specified flag, add that flag to 'LIBCXX_COMPILE_FLAGS' if the
180 foreach(flag ${ARGN})
202 # For each specified flag, add that flag to 'LIBCXX_LINK_FLAGS' if the
205 foreach(flag ${ARGN})
232 # For each specified flag, add that link flag to the provided target.
235 foreach(flag ${ARGN})
244 # For each specified flag, add that compile flag to the provided target.
[all …]
/llvm-project-15.0.7/libcxx/utils/libcxx/test/
H A Ddsl.py378 def __init__(self, flag): argument
379 self._getFlag = lambda config: flag(config) if callable(flag) else flag
398 def __init__(self, flag): argument
399 self._getFlag = lambda config: flag(config) if callable(flag) else flag
417 def __init__(self, flag): argument
418 self._getFlag = lambda config: flag(config) if callable(flag) else flag
436 def __init__(self, flag): argument
437 self._getFlag = lambda config: flag(config) if callable(flag) else flag
455 def __init__(self, flag): argument
456 self._getFlag = lambda config: flag(config) if callable(flag) else flag
[all …]
/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Datomic-ops.cu70flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_RELAXED, … in test_hip_atomic_cmpxchg_weak()
71flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_CONSUME, __ATOMIC_RELAXED, … in test_hip_atomic_cmpxchg_weak()
72flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_RELAXED, … in test_hip_atomic_cmpxchg_weak()
73flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_RELAXED, … in test_hip_atomic_cmpxchg_weak()
74flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_RELAXED, … in test_hip_atomic_cmpxchg_weak()
75flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_RELAXED, … in test_hip_atomic_cmpxchg_weak()
76flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_SEQ_CST, … in test_hip_atomic_cmpxchg_weak()
77flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_CONSUME, … in test_hip_atomic_cmpxchg_weak()
78flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_ACQUIRE, … in test_hip_atomic_cmpxchg_weak()
79flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_ACQ_REL, … in test_hip_atomic_cmpxchg_weak()
[all …]
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DGnu.cpp1051 makeMultilib("/micromips").flag("+m32").flag("+mmicromips"); in findMipsCsMultilibs()
1062 makeMultilib("").flag("-msoft-float").flag("-mnan=2008"); in findMipsCsMultilibs()
1064 auto BigEndian = makeMultilib("").flag("+EB").flag("-EL"); in findMipsCsMultilibs()
1112 Multilib().gccSuffix("/32").flag("-m64").flag("+m32").flag("-mabi=n32"); in findMipsCsMultilibs()
1227 auto MArchMips64 = makeMultilib("/mips64").flag("-m32").flag("+m64").flag( in findMipsMtiMultilibs()
1241 makeMultilib("/64").flag("+mabi=n64").flag("-mabi=n32").flag("-m32"); in findMipsMtiMultilibs()
1243 auto BigEndian = makeMultilib("").flag("+EB").flag("-EL"); in findMipsMtiMultilibs()
1388 makeMultilib("/64").flag("+mabi=n64").flag("-mabi=n32").flag("-m32"); in findMipsImgMultilibs()
1838 Default.flag("+m32").flag("-m64").flag("-mx32"); in findBiarchMultilibs()
1840 Default.flag("-m32").flag("+m64").flag("-mx32"); in findBiarchMultilibs()
[all …]
H A DFuchsia.cpp219 .flag("-fexceptions") in Fuchsia()
220 .flag("+fno-exceptions")); in Fuchsia()
227 .flag("-fexceptions") in Fuchsia()
228 .flag("+fno-exceptions")); in Fuchsia()
236 .flag("-fexceptions") in Fuchsia()
237 .flag("+fno-exceptions")); in Fuchsia()
245 .flag("-fexceptions") in Fuchsia()
246 .flag("+fno-exceptions")); in Fuchsia()
253 .flag("-fexceptions") in Fuchsia()
254 .flag("+fno-exceptions")); in Fuchsia()
[all …]
/llvm-project-15.0.7/libc/cmake/modules/
H A DLLVMLibCFlagRules.cmake32 set(${output_flag} ${flag} PARENT_SCOPE)
36 set(${output_flag} ${flag} PARENT_SCOPE)
51 extract_flag_modifier(${input_flag} flag modifier)
53 # Check if the flag is skipped.
54 if(${SKIP_FLAG_EXPANSION_${flag}})
56 message(STATUS " Flag ${flag} is ignored.")
64 if("${flag}" STREQUAL "${o_flag}")
98 foreach(flag IN LISTS flags)
99 if(flag)
100 list(APPEND flag_list ${flag})
[all …]
/llvm-project-15.0.7/flang/module/
H A D__fortran_ieee_exceptions.f9018 integer(kind=1) :: flag = 0 component
57 elemental subroutine ieee_get_flag(flag, flag_value)
59 type(ieee_flag_type), intent(in) :: flag
67 type(ieee_flag_type), intent(in) :: flag local
89 type(ieee_flag_type), intent(in) :: flag(..); \
102 type(ieee_flag_type), intent(in) :: flag(..); \
129 type(ieee_flag_type), intent(in) :: flag; \
133 pure logical function ieee_support_flag(flag)
135 type(ieee_flag_type), intent(in) :: flag local
143 pure logical function ieee_support_halting(flag)
[all …]
/llvm-project-15.0.7/clang/unittests/Driver/
H A DMultilibTest.cpp32 ASSERT_FALSE(Multilib().flag("+foo").flag("-foo").isValid()) in TEST()
35 ASSERT_TRUE(Multilib().flag("+foo").flag("+foo").isValid()) in TEST()
38 ASSERT_TRUE(Multilib().flag("+foo").flag("-foobar").isValid()) in TEST()
54 M1.flag("+foo"); in TEST()
55 M2.flag("+foo"); in TEST()
61 M1.flag("+foo"); in TEST()
62 M2.flag("-foo"); in TEST()
70 M2.flag("+foo"); in TEST()
76 M1.flag("+foo"); in TEST()
77 M2.flag("+foo").flag("+foo"); in TEST()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Datomic-ops.cu28 return flag ? val : desired; in atomic32_op_singlethread()
64 return flag ? val : desired; in atomic32_op_wavefront()
98 return flag ? val : desired; in atomic32_op_workgroup()
123flag = __hip_atomic_compare_exchange_weak(ptr, &val, desired, __ATOMIC_RELAXED, __ATOMIC_RELAXED, … in atomic32_op_agent()
132 return flag ? val : desired; in atomic32_op_agent()
168 return flag ? val : desired; in atomic32_op_system()
202 return flag ? val : desired; in atomic64_op_singlethread()
242 return flag ? val : desired; in atomic64_op_wavefront()
280 return flag ? val : desired; in atomic64_op_workgroup()
316 return flag ? val : desired; in atomic64_op_agent()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock.cc62 const char* flag, in ParseGoogleMockFlagValue() argument
65 if (str == nullptr || flag == nullptr) return nullptr; in ParseGoogleMockFlagValue()
68 const std::string flag_str = std::string("--gmock_") + flag; in ParseGoogleMockFlagValue()
94 static bool ParseGoogleMockBoolFlag(const char* str, const char* flag, in ParseGoogleMockBoolFlag() argument
97 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag()
113 static bool ParseGoogleMockStringFlag(const char* str, const char* flag, in ParseGoogleMockStringFlag() argument
116 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag()
126 static bool ParseGoogleMockIntFlag(const char* str, const char* flag, in ParseGoogleMockIntFlag() argument
129 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockIntFlag()
135 return ParseInt32(Message() << "The value of flag --" << flag, in ParseGoogleMockIntFlag()
/llvm-project-15.0.7/libcxx/utils/libcxx/
H A Dcompiler.py239 if isinstance(flag, list):
240 flags = list(flag)
242 flags = [flag]
252 if isinstance(flag, list):
253 flags = list(flag)
255 flags = [flag]
263 if isinstance(flag, list):
264 flags = list(flag)
266 flags = [flag]
285 flags = ['-Werror', flag]
[all …]
/llvm-project-15.0.7/openmp/runtime/cmake/
H A DLibompUtils.cmake31 # libomp_append(<flag> <flags_list>)
34 # libomp_append(<flag> <flags_list> <BOOLEAN>)
47 # - appends <flag>=1 to the list of definitions if <BOOLEAN> is true, <flag>=0 otherwise
51 macro(libomp_append flags flag)
56 list(APPEND ${flags} "${flag}")
59 list(APPEND ${flags} "${flag}")
64 list(APPEND ${flags} "${flag}")
68 list(APPEND ${flags} "${flag}")
72 list(APPEND ${flags} "${flag}")
76 list(APPEND ${flags} "${flag}=1")
[all …]
/llvm-project-15.0.7/mlir/test/python/ir/
H A Ddebug.py15 _GlobalDebug.flag = True
30 print(_GlobalDebug.flag)
31 _GlobalDebug.flag = True
33 print(_GlobalDebug.flag)
34 _GlobalDebug.flag = False
36 print(_GlobalDebug.flag)
/llvm-project-15.0.7/libcxx/src/
H A Dmutex.cpp208 void __call_once(volatile once_flag::_State_type& flag, void* arg, in __call_once() argument
212 if (flag == 0) in __call_once()
218 flag = 1; in __call_once()
220 flag = ~once_flag::_State_type(0); in __call_once()
225 flag = 0; in __call_once()
232 while (flag == 1) in __call_once()
234 if (flag == 0) in __call_once()
240 __libcpp_relaxed_store(&flag, once_flag::_State_type(1)); in __call_once()
244 __libcpp_atomic_store(&flag, ~once_flag::_State_type(0), in __call_once()
253 __libcpp_relaxed_store(&flag, once_flag::_State_type(0)); in __call_once()

12345678910>>...52