/external/llvm/test/Bitcode/ |
D | atomic.ll | 4 define void @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) { 5 cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 6 ; CHECK: cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 8 cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic 9 ; CHECK: cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic 11 cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire 12 ; CHECK: cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire 14 cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic 15 ; CHECK: cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/ |
D | atomic.ll | 4 define void @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) { 5 cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 6 ; CHECK: cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 8 cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic 9 ; CHECK: cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic 11 cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire 12 ; CHECK: cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire 14 …cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new syncscope("singlethread") release monoton… 15 …; CHECK: cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new syncscope("singlethread") releas…
|
/external/webrtc/talk/media/base/ |
D | videocapturer_unittest.cc | 340 cricket::VideoFormat desired(640, 480, in TEST_F() local 344 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F() 349 desired.fourcc = cricket::FOURCC_MJPG; in TEST_F() 350 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F() 352 desired.fourcc = cricket::FOURCC_I420; in TEST_F() 353 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F() 357 cricket::VideoFormat desired(1920, 1080, in TEST_F() local 362 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F() 367 desired.width = 360; in TEST_F() 368 desired.height = 250; in TEST_F() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | cas.ll | 4 ;bool cas(float volatile *p, float *expected, float desired) { 6 ; __asm__ __volatile__("lock; cmpxchg %[desired], %[mem]; " 12 ; [desired] "q" (desired), 18 define zeroext i1 @cas(float* %p, float* %expected, float %desired) nounwind { 22 %desired.addr = alloca float, align 4 26 store float %desired, float* %desired.addr, align 4 30 %3 = load float, float* %desired.addr, align 4 45 define zeroext i1 @cas2(i8* %p, i8* %expected, i1 zeroext %desired) nounwind { 49 %desired.addr = alloca i8, align 1 53 %frombool = zext i1 %desired to i8 [all …]
|
D | cmpxchg-i128-i1.ll | 3 define i1 @try_cmpxchg(i128* %addr, i128 %desired, i128 %new) { 9 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 14 define void @cmpxchg_flow(i128* %addr, i128 %desired, i128 %new) { 20 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 34 define i1 @cmpxchg_arithcmp(i128* %addr, i128 %desired, i128 %new) { 39 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 41 %success = icmp sge i128 %oldval, %desired 45 define i128 @cmpxchg_zext(i128* %addr, i128 %desired, i128 %new) { 51 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst
|
D | cmpxchg-i1.ll | 3 define i1 @try_cmpxchg(i32* %addr, i32 %desired, i32 %new) { 9 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 14 define void @cmpxchg_flow(i64* %addr, i64 %desired, i64 %new) { 20 %pair = cmpxchg i64* %addr, i64 %desired, i64 %new seq_cst seq_cst 33 define i64 @cmpxchg_sext(i32* %addr, i32 %desired, i32 %new) { 39 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 45 define i32 @cmpxchg_zext(i32* %addr, i32 %desired, i32 %new) { 51 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | cas.ll | 4 ;bool cas(float volatile *p, float *expected, float desired) { 6 ; __asm__ __volatile__("lock; cmpxchg %[desired], %[mem]; " 12 ; [desired] "q" (desired), 18 define zeroext i1 @cas(float* %p, float* %expected, float %desired) nounwind { 22 %desired.addr = alloca float, align 4 26 store float %desired, float* %desired.addr, align 4 30 %3 = load float, float* %desired.addr, align 4 45 define zeroext i1 @cas2(i8* %p, i8* %expected, i1 zeroext %desired) nounwind { 49 %desired.addr = alloca i8, align 1 53 %frombool = zext i1 %desired to i8 [all …]
|
D | cmpxchg-i1.ll | 3 define i1 @try_cmpxchg(i32* %addr, i32 %desired, i32 %new) { 9 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 14 define void @cmpxchg_flow(i64* %addr, i64 %desired, i64 %new) { 20 %pair = cmpxchg i64* %addr, i64 %desired, i64 %new seq_cst seq_cst 33 define i64 @cmpxchg_sext(i32* %addr, i32 %desired, i32 %new) { 39 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 45 define i32 @cmpxchg_zext(i32* %addr, i32 %desired, i32 %new) { 51 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
|
/external/libcxx/test/support/ |
D | cmpxchg_loop.h | 13 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { in cmpxchg_weak_loop() argument 15 if (atomic.compare_exchange_weak(expected, desired) == true) { in cmpxchg_weak_loop() 24 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, in cmpxchg_weak_loop() argument 28 if (atomic.compare_exchange_weak(expected, desired, success, in cmpxchg_weak_loop() 38 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { in c_cmpxchg_weak_loop() argument 40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop() 49 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, in c_cmpxchg_weak_loop() argument 53 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired, in c_cmpxchg_weak_loop()
|
/external/webrtc/talk/media/devices/ |
D | filevideocapturer_unittest.cc | 112 cricket::VideoFormat desired( in TEST_F() local 114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F() 119 desired.width = 0; in TEST_F() 120 desired.height = 0; in TEST_F() 121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F() 129 cricket::VideoFormat desired = capturer_->GetSupportedFormats()->at(0); in TEST_F() local 130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F() 131 EXPECT_TRUE(desired == capture_format_); in TEST_F() 134 desired.fourcc = cricket::FOURCC_ANY; in TEST_F() 135 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | LanguageInfoTest.java | 48 String desired = foo.get0(); in testGetData() local 52 assertEquals("Same number of fields", count('_', desired), count('_', supported)); in testGetData() 54 Pair<String, String> source = Pair.of(desired, supported); in testGetData() 61 + "\t" + desired + "\t" + getName(desired) in testGetData() 141 ULocale desired = new ULocale(rawDesired); in testFallbacks() local 158 ULocale bestMatch = matcher.getBestMatch(desired); in testFallbacks() 159 if (!assertEquals("fallback for " + desired + ", " + score, supported, bestMatch)) { in testFallbacks() 160 ULocale max = ULocale.addLikelySubtags(desired); in testFallbacks() 163 + desired.getLanguage() + "_" + max.getScript() in testFallbacks() 165 bestMatch = matcher.getBestMatch(desired); // for debugging in testFallbacks()
|
D | XLocaleMatcherTest.java | 184 final ULocale desired = new ULocale("sv"); in testPerf() local 200 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf() 201 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf() 202 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf() 212 …timeShortNew = timeXLocaleMatcher("Duration (few supported):\t", desired, matcherShort, showMessa… in testPerf() 213 …timeMediumNew = timeXLocaleMatcher("Duration (med. supported):\t", desired, matcherLong, showMessa… in testPerf() 214 …timeLongNew = timeXLocaleMatcher("Duration (many supported):\t", desired, matcherVeryLong, showMes… in testPerf() 224 …timeShortOld = timeLocaleMatcher("Old Duration (few supported):\t", desired, matcherShortOld, sho… in testPerf() 225 …timeMediumOld = timeLocaleMatcher("Old Duration (med. supported):\t", desired, matcherLongOld, sho… in testPerf() 226 …timeLongOld = timeLocaleMatcher("Old Duration (many supported):\t", desired, matcherVeryLongOld, s… in testPerf() [all …]
|
D | XLocaleDistanceTest.java | 41 final ULocale desired; field in XLocaleDistanceTest.Arguments 47 …this.desired = new ULocale.Builder().setLanguageTag(args.get(0)).build(); // use more complicated … in Arguments() 75 final ULocale desired = test.desired; in testTiming() local 81 final ULocale desiredMax = ULocale.addLikelySubtags(desired); in testTiming() 86 … double distOld1 = oldLocaleMatcher.match(desired, desiredMax, supported, supportedMax); in testTiming() 87 … double distOld2 = oldLocaleMatcher.match(supported, supportedMax, desired, desiredMax); in testTiming() 91 final LSR desiredLSR = LSR.fromMaximalized(desired); in testTiming() 175 …int supportedToDesiredActual = distance.distance(args.supported, args.desired, threshold, distance… in handle() 176 …int desiredToSupportedActual = distance.distance(args.desired, args.supported, threshold, distance… in handle() 177 String desiredTag = args.desired.toLanguageTag(); in handle()
|
/external/spirv-llvm/test/SPIRV/transcoding/ |
D | AtomicCompareExchangeExplicit_cl20.ll | 4 ;; int desired) 7 ;; atomic_compare_exchange_strong_explicit(object, expected, desired, 11 ;; atomic_compare_exchange_strong_explicit(object, expected, desired, 16 ;; atomic_compare_exchange_weak_explicit(object, expected, desired, 20 ;; atomic_compare_exchange_weak_explicit(object, expected, desired, 47 …licitPVU3AS4U7_AtomiciPiiiii(i32 addrspace(4)* %0, i32* %expected1, i32 %desired, i32 2, i32 0, i3… 48 …licitPVU3AS4U7_AtomiciPiiiii(i32 addrspace(4)* %0, i32* %expected2, i32 %desired, i32 3, i32 0, i3… 49 …licitPVU3AS4U7_AtomiciPiiiii(i32 addrspace(4)* %0, i32* %expected3, i32 %desired, i32 2, i32 0, i3… 50 …licitPVU3AS4U7_AtomiciPiiiii(i32 addrspace(4)* %0, i32* %expected4, i32 %desired, i32 3, i32 0, i3… 56 …areExchangeExplicit_cl20(i32 addrspace(1)* %object, i32 addrspace(1)* %expected, i32 %desired) #0 { [all …]
|
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/ |
D | network_WiFi_UpdateRouter.py | 121 desired = self.STABLE_VERSIONS.get(device_board, None) 122 if desired is None: 127 device_host.hostname, desired.release_version) 129 if desired.release_version == current_release_version: 132 desired.release_version)) 135 device_host.hostname, desired.release_version, 139 ds = dev_server.ImageServer.resolve(desired.builder_version, 141 ds.stage_artifacts(desired.builder_version, 147 url = self.get_update_url(ds.url(), desired.builder_version)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | XLocaleMatcherTest.java | 198 final ULocale desired = new ULocale("sv"); in testPerf() local 214 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf() 215 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf() 216 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf() 226 …timeShortNew = timeXLocaleMatcher("Duration (few supported):\t", desired, matcherShort, showMessa… in testPerf() 227 …timeMediumNew = timeXLocaleMatcher("Duration (med. supported):\t", desired, matcherLong, showMessa… in testPerf() 228 …timeLongNew = timeXLocaleMatcher("Duration (many supported):\t", desired, matcherVeryLong, showMes… in testPerf() 238 …timeShortOld = timeLocaleMatcher("Old Duration (few supported):\t", desired, matcherShortOld, sho… in testPerf() 239 …timeMediumOld = timeLocaleMatcher("Old Duration (med. supported):\t", desired, matcherLongOld, sho… in testPerf() 240 …timeLongOld = timeLocaleMatcher("Old Duration (many supported):\t", desired, matcherVeryLongOld, s… in testPerf() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | XLocaleMatcherTest.java | 195 final ULocale desired = new ULocale("sv"); in testPerf() local 211 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf() 212 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf() 213 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf() 223 …timeShortNew = timeXLocaleMatcher("Duration (few supported):\t", desired, matcherShort, showMessa… in testPerf() 224 …timeMediumNew = timeXLocaleMatcher("Duration (med. supported):\t", desired, matcherLong, showMessa… in testPerf() 225 …timeLongNew = timeXLocaleMatcher("Duration (many supported):\t", desired, matcherVeryLong, showMes… in testPerf() 235 …timeShortOld = timeLocaleMatcher("Old Duration (few supported):\t", desired, matcherShortOld, sho… in testPerf() 236 …timeMediumOld = timeLocaleMatcher("Old Duration (med. supported):\t", desired, matcherLongOld, sho… in testPerf() 237 …timeLongOld = timeLocaleMatcher("Old Duration (many supported):\t", desired, matcherVeryLongOld, s… in testPerf() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | cmpxchg-O0.ll | 3 define { i8, i1 } @test_cmpxchg_8(i8* %addr, i8 %desired, i8 %new) nounwind { 15 %res = cmpxchg i8* %addr, i8 %desired, i8 %new seq_cst monotonic 19 define { i16, i1 } @test_cmpxchg_16(i16* %addr, i16 %desired, i16 %new) nounwind { 31 %res = cmpxchg i16* %addr, i16 %desired, i16 %new seq_cst monotonic 35 define { i32, i1 } @test_cmpxchg_32(i32* %addr, i32 %desired, i32 %new) nounwind { 47 %res = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst monotonic 51 define { i64, i1 } @test_cmpxchg_64(i64* %addr, i64 %desired, i64 %new) nounwind { 63 %res = cmpxchg i64* %addr, i64 %desired, i64 %new seq_cst monotonic 67 define { i128, i1 } @test_cmpxchg_128(i128* %addr, i128 %desired, i128 %new) nounwind { 79 %res = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst monotonic [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | cmpxchg-O0.ll | 3 define { i8, i1 } @test_cmpxchg_8(i8* %addr, i8 %desired, i8 %new) nounwind { 14 %res = cmpxchg i8* %addr, i8 %desired, i8 %new seq_cst monotonic 18 define { i16, i1 } @test_cmpxchg_16(i16* %addr, i16 %desired, i16 %new) nounwind { 29 %res = cmpxchg i16* %addr, i16 %desired, i16 %new seq_cst monotonic 33 define { i32, i1 } @test_cmpxchg_32(i32* %addr, i32 %desired, i32 %new) nounwind { 44 %res = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst monotonic 48 define { i64, i1 } @test_cmpxchg_64(i64* %addr, i64 %desired, i64 %new) nounwind { 59 %res = cmpxchg i64* %addr, i64 %desired, i64 %new seq_cst monotonic 63 define { i128, i1 } @test_cmpxchg_128(i128* %addr, i128 %desired, i128 %new) nounwind { 73 %res = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst monotonic
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | XLocaleDistance.java | 447 …public int getDistance(String desired, String supported, Output<DistanceTable> distanceTable, bool… in getDistance() argument 450 desired, supported, Boolean.toString(starEquals)); in getDistance() 453 Map<String, DistanceNode> sub2 = subtables.get(desired); in getDistance() 473 int result = starEquals && star && desired.equals(supported) ? 0 : value.distance; in getDistance() 491 DistanceNode addSubtable(String desired, String supported, int distance) { in addSubtable() argument 492 Map<String, DistanceNode> sub2 = subtables.get(desired); in addSubtable() 494 subtables.put(desired, sub2 = newMap()); in addSubtable() 509 private DistanceNode getNode(String desired, String supported) { in getNode() argument 510 Map<String, DistanceNode> sub2 = subtables.get(desired); in getNode() 521 String desired, String supported, in addSubtables() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | XLocaleDistance.java | 458 …public int getDistance(String desired, String supported, Output<DistanceTable> distanceTable, bool… in getDistance() argument 461 desired, supported, Boolean.toString(starEquals)); in getDistance() 464 Map<String, DistanceNode> sub2 = subtables.get(desired); in getDistance() 484 int result = starEquals && star && desired.equals(supported) ? 0 : value.distance; in getDistance() 502 DistanceNode addSubtable(String desired, String supported, int distance) { in addSubtable() argument 503 Map<String, DistanceNode> sub2 = subtables.get(desired); in addSubtable() 505 subtables.put(desired, sub2 = newMap()); in addSubtable() 520 private DistanceNode getNode(String desired, String supported) { in getNode() argument 521 Map<String, DistanceNode> sub2 = subtables.get(desired); in getNode() 532 String desired, String supported, in addSubtables() argument [all …]
|
/external/cldr/tools/java/com/ibm/icu/util/ |
D | LocaleMatcher.java | 141 …public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) { in match() argument 142 return matcherData.match(desired, desiredMax, supported, supportedMax); in match() 302 String desired = desiredToMatchingLanguages.getKey(); in processMapping() local 308 addFiltered(desired, localeToMaxAndWeight); in processMapping() 320 private void addFiltered(String desired, R3<ULocale, ULocale, Double> localeToMaxAndWeight) { in addFiltered() argument 321 …R3<ULocale, ULocale, Double>> map = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(desired); in addFiltered() 323 …desiredLanguageToPossibleLocalesToMaxLocaleToData.put(desired, map = new LinkedHashSet<R3<ULocale,… in addFiltered() 327 System.out.println(desired + ", " + localeToMaxAndWeight); in addFiltered() 493 …void addDataToScores(String desired, String supported, R3<LocalePatternMatcher, LocalePatternMatch… in addDataToScores() argument 573 LocalePatternMatcher desired = item.get0(); in getMatchingLanguages() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 151 …public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) { in match() argument 152 return matcherData.match(desired, desiredMax, supported, supportedMax); in match() 313 String desired = desiredToMatchingLanguages.getKey(); in processMapping() local 319 addFiltered(desired, localeToMaxAndWeight); in processMapping() 331 private void addFiltered(String desired, R3<ULocale, ULocale, Double> localeToMaxAndWeight) { in addFiltered() argument 332 …R3<ULocale, ULocale, Double>> map = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(desired); in addFiltered() 334 … desiredLanguageToPossibleLocalesToMaxLocaleToData.put(desired, map = new LinkedHashSet<>()); in addFiltered() 338 System.out.println(desired + ", " + localeToMaxAndWeight); in addFiltered() 512 …void addDataToScores(String desired, String supported, R3<LocalePatternMatcher,LocalePatternMatche… in addDataToScores() argument 597 LocalePatternMatcher desired = item.get0(); in getMatchingLanguages() local [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 153 …public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) { in match() argument 154 return matcherData.match(desired, desiredMax, supported, supportedMax); in match() 320 String desired = desiredToMatchingLanguages.getKey(); in processMapping() local 326 addFiltered(desired, localeToMaxAndWeight); in processMapping() 338 private void addFiltered(String desired, R3<ULocale, ULocale, Double> localeToMaxAndWeight) { in addFiltered() argument 339 …R3<ULocale, ULocale, Double>> map = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(desired); in addFiltered() 341 … desiredLanguageToPossibleLocalesToMaxLocaleToData.put(desired, map = new LinkedHashSet<>()); in addFiltered() 345 System.out.println(desired + ", " + localeToMaxAndWeight); in addFiltered() 519 …void addDataToScores(String desired, String supported, R3<LocalePatternMatcher,LocalePatternMatche… in addDataToScores() argument 604 LocalePatternMatcher desired = item.get0(); in getMatchingLanguages() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/AtomicExpand/ARM/ |
D | cmpxchg-weak.ll | 3 define i32 @test_cmpxchg_seq_cst(i32* %addr, i32 %desired, i32 %new) { 10 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[LOADED]], %desired 38 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 43 define i1 @test_cmpxchg_weak_fail(i32* %addr, i32 %desired, i32 %new) { 49 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[LOADED]], %desired 77 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic 82 define i32 @test_cmpxchg_monotonic(i32* %addr, i32 %desired, i32 %new) { 89 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[LOADED]], %desired 113 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new monotonic monotonic 118 define i32 @test_cmpxchg_seq_cst_minsize(i32* %addr, i32 %desired, i32 %new) minsize { [all …]
|