| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Windows_NT-586_util.cpp | 20 kmp_int8 old_value, new_value; in __kmp_test_then_or8() local 23 new_value = old_value | d; in __kmp_test_then_or8() 28 new_value = old_value | d; in __kmp_test_then_or8() 37 new_value = old_value & d; in __kmp_test_then_and8() 42 new_value = old_value & d; in __kmp_test_then_and8() 51 new_value = old_value | d; in __kmp_test_then_or32() 66 new_value = old_value & d; in __kmp_test_then_and32() 82 new_value = old_value + d; in __kmp_test_then_add8() 96 new_value = old_value + d; in __kmp_test_then_add64() 111 new_value = old_value | d; in __kmp_test_then_or64() [all …]
|
| H A D | kmp_atomic.cpp | 820 new_value.vvv = (kmp_int##BITS *)&new_value.cmp; \ 847 new_value.vvv = (kmp_int##BITS *)&new_value.cmp; \ 2236 return new_value; 2250 return new_value; 2651 return new_value; 2946 return new_value; 3426 kmp_int8 old_value, new_value; in __kmpc_atomic_1() local 3429 (*f)(&new_value, &old_value, rhs); in __kmpc_atomic_1() 3473 kmp_int16 old_value, new_value; in __kmpc_atomic_2() local 3522 kmp_int32 old_value, new_value; in __kmpc_atomic_4() local [all …]
|
| H A D | z_Linux_util.cpp | 277 new_value = old_value | d; in __kmp_test_then_or8() 282 new_value = old_value | d; in __kmp_test_then_or8() 291 new_value = old_value & d; in __kmp_test_then_and8() 296 new_value = old_value & d; in __kmp_test_then_and8() 305 new_value = old_value | d; in __kmp_test_then_or32() 310 new_value = old_value | d; in __kmp_test_then_or32() 319 new_value = old_value & d; in __kmp_test_then_and32() 334 new_value = old_value + d; in __kmp_test_then_add8() 348 new_value = old_value + d; in __kmp_test_then_add64() 363 new_value = old_value | d; in __kmp_test_then_or64() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/ |
| H A D | asan-symbolize-templated-cxx.cpp | 20 int &operator=(const int &new_value) { in operator =() argument 21 value_ = new_value; in operator =() 30 void writeToA(T new_value) { in writeToA() argument 34 *a = new_value; in writeToA() 37 extern "C" void callback(int new_value) { in callback() argument 38 printf("new value is %d\n", new_value); in callback() 45 void doCall(V new_value) { in doCall() 47 call(new_value); in doCall()
|
| /llvm-project-15.0.7/lldb/test/API/commands/process/handle/ |
| H A D | TestProcessHandle.py | 25 new_value = "false" 27 new_value = "false" 30 … lldbutil.set_actions_for_signal(self, "NOTSIGSEGV", new_value, None, None, expect_success=False) 33 lldbutil.set_actions_for_signal(self, "SIGSEGV", new_value, None, None) 42 self.assertEqual(curr_pass, new_value, "Pass was set correctly") 51 self.assertEqual(curr_pass, new_value, "Pass was set correctly") 63 lldbutil.set_actions_for_signal(self, "SIGSEGV", new_value, None, None) 66 lldbutil.set_actions_for_signal(self, "SIGNOTSIG", new_value, None, None) 101 self.assertEqual(curr_pass, new_value, "Pass was set correctly") 108 self.assertEqual(curr_pass, new_value, "Pass was set correctly") [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | select-cmpxchg.ll | 3 define i64 @cmpxchg_0(i64* %ptr, i64 %compare, i64 %new_value) { 5 ; CHECK-NEXT: %tmp0 = cmpxchg i64* %ptr, i64 %compare, i64 %new_value seq_cst seq_cst 9 %tmp0 = cmpxchg i64* %ptr, i64 %compare, i64 %new_value seq_cst seq_cst 16 define i64 @cmpxchg_1(i64* %ptr, i64 %compare, i64 %new_value) { 18 ; CHECK-NEXT: %tmp0 = cmpxchg i64* %ptr, i64 %compare, i64 %new_value seq_cst seq_cst 21 %tmp0 = cmpxchg i64* %ptr, i64 %compare, i64 %new_value seq_cst seq_cst 28 define i64 @cmpxchg_2(i64* %ptr, i64 %compare, i64 %new_value) { 30 ; CHECK-NEXT: %tmp0 = cmpxchg i64* %ptr, i64 %compare, i64 %new_value acq_rel monotonic 33 %tmp0 = cmpxchg i64* %ptr, i64 %compare, i64 %new_value acq_rel monotonic
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionValueString.cpp | 78 std::string new_value(m_current_value); in SetValueFromString() local 83 new_value.append(str); in SetValueFromString() 85 new_value.append(std::string(value)); in SetValueFromString() 88 error = m_validator(new_value.c_str(), m_validator_baton); in SetValueFromString() 92 m_current_value.assign(new_value); in SetValueFromString() 133 std::string new_value(m_current_value); in AppendToCurrentValue() local 134 new_value.append(value); in AppendToCurrentValue() 138 m_current_value.assign(new_value); in AppendToCurrentValue()
|
| H A D | OptionValue.cpp | 281 bool OptionValue::SetBooleanValue(bool new_value) { in SetBooleanValue() argument 284 option_value->SetCurrentValue(new_value); in SetBooleanValue() 297 char OptionValue::SetCharValue(char new_value) { in SetCharValue() argument 300 option_value->SetCurrentValue(new_value); in SetCharValue() 352 bool OptionValue::SetFormatValue(lldb::Format new_value) { in SetFormatValue() argument 355 option_value->SetCurrentValue(new_value); in SetFormatValue() 399 bool OptionValue::SetSInt64Value(int64_t new_value) { in SetSInt64Value() argument 402 option_value->SetCurrentValue(new_value); in SetSInt64Value() 418 option_value->SetCurrentValue(new_value); in SetStringValue() 431 bool OptionValue::SetUInt64Value(uint64_t new_value) { in SetUInt64Value() argument [all …]
|
| H A D | OptionValueProperties.cpp | 302 const ExecutionContext *exe_ctx, uint32_t idx, bool new_value) { in SetPropertyAtIndexAsBoolean() argument 307 value->SetBooleanValue(new_value); in SetPropertyAtIndexAsBoolean() 335 const ExecutionContext *exe_ctx, uint32_t idx, int64_t new_value) { in SetPropertyAtIndexAsEnumeration() argument 340 return value->SetEnumerationValue(new_value); in SetPropertyAtIndexAsEnumeration() 438 const ExecutionContext *exe_ctx, uint32_t idx, int64_t new_value) { in SetPropertyAtIndexAsSInt64() argument 443 return value->SetSInt64Value(new_value); in SetPropertyAtIndexAsSInt64() 461 const ExecutionContext *exe_ctx, uint32_t idx, llvm::StringRef new_value) { in SetPropertyAtIndexAsString() argument 466 return value->SetStringValue(new_value); in SetPropertyAtIndexAsString() 491 const ExecutionContext *exe_ctx, uint32_t idx, uint64_t new_value) { in SetPropertyAtIndexAsUInt64() argument 496 return value->SetUInt64Value(new_value); in SetPropertyAtIndexAsUInt64()
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/ |
| H A D | replace_copy.pass.cpp | 30 const T& old_value, const T& new_value, T trash) in operator ()() 36 auto i = std::replace_copy(first, last, expected_first, old_value, new_value); in operator ()() 37 auto k = std::replace_copy(exec, first, last, out_first, old_value, new_value); in operator ()() 45 i = replace_copy_if(first, last, expected_first, pred, new_value); in operator ()() 46 k = replace_copy_if(exec, first, last, out_first, pred, new_value); in operator ()() 54 test(T trash, const T& old_value, const T& new_value, Predicate pred, Convert convert) in test() argument 64 expected.end(), out.size(), pred, old_value, new_value, trash); in test() 66 expected.end(), out.size(), pred, old_value, new_value, trash); in test()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | inline-asm-label.ll | 12 …gnext i32 @NoBarrier_CompareAndSwap(i32* %ptr, i32 signext %old_value, i32 signext %new_value) #0 { 34 %new_value.addr = alloca i32, align 4 38 store i32 %new_value, i32* %new_value.addr, align 4 41 %2 = load i32, i32* %new_value.addr, align 4 48 …i32 @NoBarrier_CompareAndSwapExtMne(i32* %ptr, i32 signext %old_value, i32 signext %new_value) #0 { 70 %new_value.addr = alloca i32, align 4 74 store i32 %new_value, i32* %new_value.addr, align 4 77 %2 = load i32, i32* %new_value.addr, align 4
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ |
| H A D | ranges_replace_copy.pass.cpp | 99 int new_value; member 113 …nges::replace_copy(std::move(first), std::move(last), std::move(result), d.old_value, d.new_value); in test() 126 std::ranges::replace_copy(range, result, d.old_value, d.new_value); in test() 136 …test<InIter, Sent, OutIter, 4>({.input = {1, 2, 3, 4}, .old_value = 2, .new_value = 5, .expected =… in tests() 138 test<InIter, Sent, OutIter, 0>({.input = {}, .old_value = 2, .new_value = 5, .expected = {}}); in tests() 140 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .old_value = 1, .new_value = 2, .expected =… in tests() 142 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .old_value = 2, .new_value = 3, .expected =… in tests() 144 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .old_value = 1, .new_value = 1, .expected =… in tests() 149 …{.input = {1, 2, 3, 4, 5, 6, 7}, .old_value = 2, .new_value = 3, .expected = {1, 3, 3, 4, 5, 6, 7}… in tests() 151 test<InIter, Sent, OutIter, 1>({.input = {1}, .old_value = 1, .new_value = 5, .expected = {5}}); in tests() [all …]
|
| H A D | ranges_replace_copy_if.pass.cpp | 103 int new_value; member 119 …::ranges::replace_copy_if(std::move(first), std::move(last), std::move(result), pred, d.new_value); in test() 134 std::ranges::replace_copy_if(range, result, pred, d.new_value); in test() 144 …test<InIter, Sent, OutIter, 4>({.input = {1, 2, 3, 4}, .cutoff = 2, .new_value = 5, .expected = {5… in tests() 146 test<InIter, Sent, OutIter, 0>({.input = {}, .cutoff = 2, .new_value = 5, .expected = {}}); in tests() 148 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .cutoff = 2, .new_value = 2, .expected = {2… in tests() 150 …test<InIter, Sent, OutIter, 4>({.input = {1, 1, 1, 1}, .cutoff = 1, .new_value = 3, .expected = {1… in tests() 153 … {.input = {1, 2, 3, 4, 5, 6, 7}, .cutoff = 3, .new_value = 3, .expected = {3, 3, 3, 4, 5, 6, 7}}); in tests() 155 test<InIter, Sent, OutIter, 1>({.input = {1}, .cutoff = 2, .new_value = 5, .expected = {5}}); in tests() 157 test<InIter, Sent, OutIter, 1>({.input = {2}, .cutoff = 2, .new_value = 5, .expected = {2}}); in tests()
|
| /llvm-project-15.0.7/lldb/source/Host/macosx/cfcpp/ |
| H A D | CFCString.cpp | 42 CFStringRef new_value = NULL; in SetFileSystemRepresentation() local 44 new_value = in SetFileSystemRepresentation() 46 reset(new_value); in SetFileSystemRepresentation() 52 CFStringRef new_value = NULL; in SetFileSystemRepresentationFromCFType() local 58 new_value = (CFStringRef)::CFRetain(cf_type); in SetFileSystemRepresentationFromCFType() 60 new_value = in SetFileSystemRepresentationFromCFType() 64 reset(new_value); in SetFileSystemRepresentationFromCFType()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | CFString.cpp | 46 CFStringRef new_value = NULL; in SetFileSystemRepresentation() local 48 new_value = in SetFileSystemRepresentation() 50 reset(new_value); in SetFileSystemRepresentation() 55 CFStringRef new_value = NULL; in SetFileSystemRepresentationFromCFType() local 61 new_value = (CFStringRef)::CFRetain(cf_type); in SetFileSystemRepresentationFromCFType() 63 new_value = in SetFileSystemRepresentationFromCFType() 67 reset(new_value); in SetFileSystemRepresentationFromCFType()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Atomic.cpp | 45 sys::cas_flag new_value, in CompareAndSwap() argument 50 *ptr = new_value; in CompareAndSwap() 53 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap() 55 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
| H A D | reset.pass.cpp | 37 A* new_value = newValue<VT>(expect_alive); in test_reset_pointer() local 39 p.reset(new_value); in test_reset_pointer() 41 assert(p.get() == new_value); in test_reset_pointer() 49 A* new_value = newValue<VT>(expect_alive); in test_reset_pointer() local 51 p.reset(new_value); in test_reset_pointer() 53 assert(p.get() == new_value); in test_reset_pointer()
|
| /llvm-project-15.0.7/libcxxabi/test/vendor/ibm/ |
| H A D | vec_reg_restore.pass.cpp | 93 long long new_value; in main() local 95 getFirstValue(new_value); in main() 99 assert(old == new_value && old2 == new_value2); in main()
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionValue.h | 256 bool SetBooleanValue(bool new_value); 260 char SetCharValue(char new_value); 275 bool SetFormatValue(lldb::Format new_value); 288 bool SetSInt64Value(int64_t new_value); 293 bool SetStringValue(llvm::StringRef new_value); 297 bool SetUInt64Value(uint64_t new_value);
|
| H A D | OptionValueProperties.h | 130 uint32_t idx, bool new_value); 141 uint32_t idx, int64_t new_value); 163 int64_t new_value); 169 uint64_t new_value); 176 llvm::StringRef new_value);
|
| /llvm-project-15.0.7/lldb/test/API/commands/register/register/register_command/ |
| H A D | TestRegisters.py | 175 def write_and_read(self, frame, register, new_value, must_exist=True): argument 186 self.runCmd("re write " + register + " \'" + new_value + "\'") 193 new_value]) 409 …new_value = "{0x01 0x02 0x03 0x00 0x00 0x00 0x00 0x00 0x09 0x0a 0x2f 0x2f 0x2f 0x2f 0x0e 0x0f 0x00… 410 self.write_and_read(currentFrame, "ymm0", new_value) 411 self.write_and_read(currentFrame, "ymm7", new_value) 428 new_value = "{0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08}" 429 self.write_and_read(currentFrame, "bndstatus", new_value)
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/HWAddressSanitizer/X86/ |
| H A D | atomic.ll | 22 define void @cmpxchg(i64* %ptr, i64 %compare_to, i64 %new_value) sanitize_hwaddress { 28 ; CHECK: cmpxchg i64* %ptr, i64 %compare_to, i64 %new_value seq_cst seq_cst 32 %0 = cmpxchg i64* %ptr, i64 %compare_to, i64 %new_value seq_cst seq_cst
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/HWAddressSanitizer/ |
| H A D | atomic.ll | 20 define void @cmpxchg(i64* %ptr, i64 %compare_to, i64 %new_value) sanitize_hwaddress { 24 ; CHECK: cmpxchg i64* %ptr, i64 %compare_to, i64 %new_value seq_cst seq_cst 28 %0 = cmpxchg i64* %ptr, i64 %compare_to, i64 %new_value seq_cst seq_cst
|
| /llvm-project-15.0.7/libunwind/src/ |
| H A D | Unwind-sjlj.c | 428 uintptr_t new_value) { in _Unwind_SetGR() argument 431 (void *)context, index, new_value); in _Unwind_SetGR() 433 ufc->resumeParameters[index] = new_value; in _Unwind_SetGR() 462 uintptr_t new_value) { in _Unwind_SetIP() argument 464 (void *)context, new_value); in _Unwind_SetIP() 466 ufc->resumeLocation = new_value - 1; in _Unwind_SetIP()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/ |
| H A D | sort.pass.cpp | 101 int new_value = value.first + 1; in increment_or_reset() local 102 if (new_value == max_value) in increment_or_reset() 104 new_value = 0; in increment_or_reset() 106 return std::make_pair(new_value, new_value); in increment_or_reset()
|