| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
| H A D | try_lock_for.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 54 assert(m.try_lock_for(WaitTime + Tolerance) == true); in f1() 58 assert(d < Tolerance); // within tolerance in f1() 67 assert(d < Tolerance); // within tolerance in f2() 82 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
| H A D | try_lock_until.pass.cpp | 47 ms Tolerance = ms(50); variable 49 ms Tolerance = ms(50 * 5); variable 55 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 59 assert(d < Tolerance); // within tolerance in f1() 68 assert(d < Tolerance); // within tolerance in f2() 83 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
| H A D | try_lock_shared_for.pass.cpp | 47 ms Tolerance = ms(50); variable 49 ms Tolerance = ms(50 * 5); variable 55 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1() 59 assert(d < Tolerance); // within 50ms in f1() 68 assert(d < Tolerance); // within 50ms in f2() 88 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
| H A D | try_lock_shared.pass.cpp | 42 ms Tolerance = ms(200); variable 44 ms Tolerance = ms(200 * 5); variable 58 assert(d < Tolerance); // within tolerance in f()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
| H A D | lock_shared.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 58 assert(d < Tolerance); // within tolerance in f() 68 assert(d < Tolerance); // within tolerance in g()
|
| H A D | lock.pass.cpp | 45 ms Tolerance = ms(50); variable 47 ms Tolerance = ms(50 * 5); variable 57 assert(d < Tolerance); // within tolerance in f()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
| H A D | mutex.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 62 assert(d < Tolerance); // within tolerance in f() 74 assert(d < Tolerance); // within tolerance in g()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MisExpect.cpp | 205 auto Tolerance = getMisExpectTolerance(I.getContext()); in verifyMisExpect() local 206 Tolerance = clamp(Tolerance, 0, 99); in verifyMisExpect() 210 if (Tolerance > 0) in verifyMisExpect() 211 ScaledThreshold *= (1.0 - Tolerance / 100.0); in verifyMisExpect()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
| H A D | lock.pass.cpp | 45 ms Tolerance = ms(25); variable 47 ms Tolerance = ms(25 * 5); variable 59 assert(d < Tolerance); // within tolerance in f()
|
| /llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/X86/ |
| H A D | vector-reductions.ll | 61 define i32 @TestVectorsEqual(i32* noalias %Vec0, i32* noalias %Vec1, i32 %Tolerance) { 115 %cmp5 = icmp sle i32 %sum.0, %Tolerance 121 define i32 @TestVectorsEqual_alt(i32* noalias %Vec0, i32* noalias %Vec1, i32 %Tolerance) { 162 %cmp3 = icmp ule i32 %sum.0, %Tolerance 168 define i32 @TestVectorsEqualFP(float* noalias %Vec0, float* noalias %Vec1, float %Tolerance) { 222 %cmp4 = fcmp fast ole float %sum.0, %Tolerance 228 define i32 @TestVectorsEqualFP_alt(float* noalias %Vec0, float* noalias %Vec1, float %Tolerance) { 269 %cmp3 = fcmp fast ole float %sum.0, %Tolerance
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 151 Optional<uint64_t> Tolerance) { in setDiagnosticsMisExpectTolerance() argument 152 pImpl->DiagnosticsMisExpectTolerance = Tolerance; in setDiagnosticsMisExpectTolerance()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | LLVMContext.h | 208 void setDiagnosticsMisExpectTolerance(Optional<uint64_t> Tolerance);
|