| /llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_report.cpp | 264 static ReportStack *ChooseSummaryStack(const ReportDesc *rep) { in ChooseSummaryStack() argument 265 if (rep->mops.Size()) in ChooseSummaryStack() 266 return rep->mops[0]->stack; in ChooseSummaryStack() 267 if (rep->stacks.Size()) in ChooseSummaryStack() 268 return rep->stacks[0]; in ChooseSummaryStack() 269 if (rep->mutexes.Size()) in ChooseSummaryStack() 270 return rep->mutexes[0]->stack; in ChooseSummaryStack() 271 if (rep->threads.Size()) in ChooseSummaryStack() 272 return rep->threads[0]->stack; in ChooseSummaryStack() 282 void PrintReport(const ReportDesc *rep) { in PrintReport() argument [all …]
|
| H A D | tsan_debugging.cpp | 79 const ReportDesc *rep = (ReportDesc *)report; in __tsan_get_report_data() local 80 *description = ReportTypeDescription(rep->typ); in __tsan_get_report_data() 81 *count = rep->count; in __tsan_get_report_data() 82 *stack_count = rep->stacks.Size(); in __tsan_get_report_data() 83 *mop_count = rep->mops.Size(); in __tsan_get_report_data() 84 *loc_count = rep->locs.Size(); in __tsan_get_report_data() 85 *mutex_count = rep->mutexes.Size(); in __tsan_get_report_data() 86 *thread_count = rep->threads.Size(); in __tsan_get_report_data() 87 *unique_tid_count = rep->unique_tids.Size(); in __tsan_get_report_data() 88 if (rep->sleep) CopyTrace(rep->sleep->frames, sleep_trace, trace_size); in __tsan_get_report_data() [all …]
|
| H A D | tsan_rtl_report.cpp | 36 bool OnReport(const ReportDesc *rep, bool suppressed); 39 bool OnReport(const ReportDesc *rep, bool suppressed) { in OnReport() argument 40 (void)rep; in OnReport() 46 void __tsan_on_report(const ReportDesc *rep) { in __tsan_on_report() argument 47 (void)rep; in __tsan_on_report() 637 const ReportDesc *rep = srep.GetReport(); in OutputReport() local 639 thr->current_report = rep; in OutputReport() 642 for (uptr i = 0; pc_or_addr == 0 && i < rep->mops.Size(); i++) in OutputReport() 643 pc_or_addr = IsSuppressed(rep->typ, rep in OutputReport() 793 ScopedReport rep(rep_typ, tag); ReportRace() local [all...] |
| H A D | tsan_rtl_mutex.cpp | 59 ScopedReport rep(typ); in ReportMutexMisuse() local 60 rep.AddMutex(addr, creation_stack_id); in ReportMutexMisuse() 63 rep.AddStack(trace, true); in ReportMutexMisuse() 64 rep.AddLocation(addr, 1); in ReportMutexMisuse() 65 OutputReport(thr, rep); in ReportMutexMisuse() 532 ScopedReport rep(ReportTypeDeadlock); in ReportDeadlock() local 534 rep.AddMutex(r->loop[i].mtx_ctx0, r->loop[i].stk[0]); in ReportDeadlock() 535 rep.AddUniqueTid((int)r->loop[i].thr_ctx); in ReportDeadlock() 536 rep.AddThread((int)r->loop[i].thr_ctx); in ReportDeadlock() 543 rep.AddStack(StackDepotGet(stk), true); in ReportDeadlock() [all …]
|
| /llvm-project/llvm/test/MC/Disassembler/X86/ |
| H A D | prefixes-i386.txt | 6 # CHECK: rep insb %dx, %es:(%edi) 7 0xf3 0x6c #rep ins 8 # CHECK: rep insl %dx, %es:(%edi) 9 0xf3 0x6d #rep ins 10 # CHECK: rep movsb (%esi), %es:(%edi) 11 0xf3 0xa4 #rep movs 12 # CHECK: rep movsl (%esi), %es:(%edi) 13 0xf3 0xa5 #rep movs 14 # CHECK: rep outsb (%esi), %dx 15 0xf3 0x6e #rep outs [all …]
|
| H A D | prefixes.txt | 3 # CHECK: rep insb %dx, %es:(%rdi) 4 0xf3 0x6c #rep ins 5 # CHECK: rep insl %dx, %es:(%rdi) 6 0xf3 0x6d #rep ins 7 # CHECK: rep movsb (%rsi), %es:(%rdi) 8 0xf3 0xa4 #rep movs 9 # CHECK: rep movsl (%rsi), %es:(%rdi) 10 0xf3 0xa5 #rep movs 11 # CHECK: rep outsb (%rsi), %dx 12 0xf3 0x6e #rep outs [all …]
|
| /llvm-project/compiler-rt/test/builtins/Unit/ |
| H A D | fp_test.h | 89 uint16_t rep = toRep16(result); in compareResultH() 91 if (rep == expected){ in compareResultH() 96 if ((rep & 0x7c00U) == 0x7c00U && in compareResultH() 97 (rep & 0x3ffU) > 0){ in compareResultH() 107 uint32_t rep = toRep32(result); in compareResultF() 109 if (rep == expected){ in compareResultF() 114 if ((rep & 0x7f800000U) == 0x7f800000U && in compareResultF() 115 (rep & 0x7fffffU) > 0){ in compareResultF() 125 uint64_t rep = toRep64(result); in compareResultD() 127 if (rep in compareResultD() 88 uint16_t rep = toRep16(result); compareResultH() local 106 uint32_t rep = toRep32(result); compareResultF() local 124 uint64_t rep = toRep64(result); compareResultD() local 145 __uint128_t rep = toRep128(result); compareResultF128() local 249 __uint128_t rep = F80ToRep128(result); compareResultF80() local [all...] |
| /llvm-project/libcxx/src/include/ |
| H A D | refstring.h | 51 inline char* data_from_rep(_Rep_base* rep) noexcept { in data_from_rep() argument 52 char* data = reinterpret_cast<char*>(rep); in data_from_rep() 53 return data + sizeof(*rep); in data_from_rep() 80 _Rep_base* rep = static_cast<_Rep_base*>(::operator new(sizeof(*rep) + len + 1)); in __libcpp_refstring() local 81 rep->len = len; in __libcpp_refstring() 82 rep->cap = len; in __libcpp_refstring() 83 rep->count = 0; in __libcpp_refstring() 84 char* data = data_from_rep(rep); in __libcpp_refstring() 110 _Rep_base* rep in ~__libcpp_refstring() local [all...] |
| /llvm-project/libcxx/src/filesystem/ |
| H A D | time_utils.h | 122 template <class FileTimeT, class TimeT, bool IsFloat = is_floating_point<typename FileTimeT::rep>::value> 124 using rep = typename FileTimeT::rep; member 126 using fs_seconds = duration<rep>; 127 using fs_nanoseconds = duration<rep, nano>; 128 using fs_microseconds = duration<rep, micro>; 130 static constexpr rep max_seconds = duration_cast<fs_seconds>(FileTimeT::duration::max()).count(); 132 static constexpr rep max_nsec = 135 static constexpr rep min_seconds = duration_cast<fs_seconds>(FileTimeT::duration::min()).count(); 137 static constexpr rep min_nsec_timespe [all...] |
| H A D | filesystem_clock.cpp | 50 typedef chrono::duration<rep> __secs; in now() 52 typedef chrono::duration<rep, nano> __nsecs; in now() 58 typedef chrono::duration<rep, nano> __nsecs; in now() 64 typedef chrono::duration<rep, nano> __nsecs; 70 typedef chrono::duration<rep, micro> __microsecs;
|
| /llvm-project/libcxx/test/std/time/time.clock/time.clock.local/ |
| H A D | ostream.verify.cpp | 68 using rep = std::conditional_t<std::is_same_v<std::chrono::days::rep, int>, long, int>; in test() typedef 70 std::chrono::local_time<std::chrono::duration<rep, std::ratio<86400>>>{ in test() 71 std::chrono::duration<rep, std::ratio<86400>>{0}}; in test() 74 …std::chrono::local_time<std::chrono::duration<typename std::chrono::days::rep, std::ratio<86401>>>{ in test() 75 std::chrono::duration<typename std::chrono::days::rep, std::ratio<86401>>{0}}; in test() 81 std::chrono::local_time<std::chrono::duration<rep, std::ratio<20 * 86400>>>{ in test() 82 std::chrono::duration<rep, std::ratio<20 * 86400>>{0}}; in test()
|
| /llvm-project/llvm/test/MC/X86/ |
| H A D | I386-32.s | 245 rep cmpsb %es:(%edi), %es:(%esi) label 249 rep cmpsl %es:(%edi), %es:(%esi) label 253 rep cmpsw %es:(%edi), %es:(%esi) label 257 rep insb %dx, %es:(%edi) label 261 rep insl %dx, %es:(%edi) label 265 rep insw %dx, %es:(%edi) label 269 rep lodsl %es:(%esi), %eax label 273 rep movsb %es:(%esi), %es:(%edi) label 277 rep movsl %es:(%esi), %es:(%edi) label 281 rep movsw %es:(%esi), %es:(%edi) label [all …]
|
| H A D | I386-64.s | 426 rep cmpsb %es:(%rdi), %gs:(%rsi) label 430 rep cmpsl %es:(%rdi), %gs:(%rsi) label 434 rep cmpsq %es:(%rdi), %gs:(%rsi) label 438 rep cmpsw %es:(%rdi), %gs:(%rsi) label 442 rep insb %dx, %es:(%rdi) label 446 rep insl %dx, %es:(%rdi) label 450 rep insw %dx, %es:(%rdi) label 454 rep lodsl %gs:(%rsi), %eax label 458 rep movsb %gs:(%rsi), %es:(%rdi) label 462 rep movsl %gs:(%rsi), %es:(%rdi) label [all …]
|
| /llvm-project/compiler-rt/lib/tsan/dd/ |
| H A D | dd_rtl.cpp | 38 static void ReportDeadlock(Thread *thr, DDReport *rep) { in ReportDeadlock() argument 39 if (rep == 0) in ReportDeadlock() 44 for (int i = 0; i < rep->n; i++) { in ReportDeadlock() 46 rep->loop[i].thr_ctx, rep->loop[i].mtx_ctx1, rep->loop[i].mtx_ctx0); in ReportDeadlock() 47 PrintStackTrace(thr, rep->loop[i].stk[1]); in ReportDeadlock() 48 if (rep->loop[i].stk[0]) { in ReportDeadlock() 50 rep->loop[i].mtx_ctx0); in ReportDeadlock() 51 PrintStackTrace(thr, rep in ReportDeadlock() [all...] |
| /llvm-project/llvm/test/CodeGen/X86/ |
| H A D | known-never-zero.ll | 29 ; X86-NEXT: rep bsfl %eax, %eax 35 ; X64-NEXT: rep bsfl %edi, %eax 56 ; X64-NEXT: rep bsfl %edi, %eax 71 ; X86-NEXT: rep bsfl %ecx, %eax 80 ; X64-NEXT: rep bsfl %eax, %eax 108 ; X64-NEXT: rep bsfl %ecx, %eax 122 ; X86-NEXT: rep bsfl %eax, %eax 131 ; X64-NEXT: rep bsfl %eax, %eax 145 ; X86-NEXT: rep bsfl %eax, %eax 154 ; X64-NEXT: rep bsf [all...] |
| H A D | cttz.ll | 18 ; X86-NEXT: rep bsfl {{[0-9]+}}(%esp), %eax 24 ; X64-NEXT: rep bsfl %edi, %eax 58 ; X86-NEXT: rep bsfl {{[0-9]+}}(%esp), %eax 64 ; X64-NEXT: rep bsfl %edi, %eax 98 ; X86-NEXT: rep bsfl {{[0-9]+}}(%esp), %eax 103 ; X64-NEXT: rep bsfl %edi, %eax 136 ; X86-NOCMOV-NEXT: rep bsfl {{[0-9]+}}(%esp), %eax 141 ; X86-NOCMOV-NEXT: rep bsfl %eax, %eax 148 ; X86-CMOV-NEXT: rep bsfl %ecx, %edx 149 ; X86-CMOV-NEXT: rep bsf [all...] |
| H A D | memcpy-struct-by-value.ll | 26 ; NOFAST32-NEXT: rep;movsl (%esi), %es:(%edi) 41 ; FAST32-NEXT: rep;movsb (%esi), %es:(%edi) 54 ; NOFAST-NEXT: rep;movsq (%rsi), %es:(%rdi) 65 ; FAST-NEXT: rep;movsb (%rsi), %es:(%rdi) 83 ; NOFAST32-NEXT: rep;movsb (%esi), %es:(%edi) 98 ; FAST32-NEXT: rep;movsb (%esi), %es:(%edi) 111 ; NOFAST-NEXT: rep;movsb (%rsi), %es:(%rdi) 122 ; FAST-NEXT: rep;movsb (%rsi), %es:(%rdi) 144 ; NOFAST32-NEXT: rep;movsb (%esi), %es:(%edi) 159 ; FAST32-NEXT: rep;movs [all...] |
| H A D | pr89877.ll | 25 ; X64-NEXT: rep bsfl %ecx, %eax 40 ; X86-NEXT: rep bsfl %eax, %eax 50 ; X64-NEXT: rep bsfl %eax, %eax 65 ; X86-NEXT: rep bsfl %eax, %eax 75 ; X64-NEXT: rep bsfl %eax, %eax 90 ; X86-NEXT: rep bsfl %eax, %eax 100 ; X64-NEXT: rep bsfl %eax, %eax
|
| /llvm-project/libcxx/include/__chrono/ |
| H A D | duration.h | 73 return _ToDuration(static_cast<typename _ToDuration::rep>(__fd.count())); 80 typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::type _Ct; 82 static_cast<typename _ToDuration::rep>(static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den))); 89 typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::type _Ct; 91 static_cast<typename _ToDuration::rep>(static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); 98 typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::type _Ct; 99 return _ToDuration(static_cast<typename _ToDuration::rep>( [all...] |
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_deadlock_detector1.cpp | 31 DDReport rep; member 131 DDReport *rep = <->rep; in ReportDeadlock() local 132 rep->n = len; in ReportDeadlock() 144 rep->loop[i].thr_ctx = unique_tid; in ReportDeadlock() 145 rep->loop[i].mtx_ctx0 = m0->ctx; in ReportDeadlock() 146 rep->loop[i].mtx_ctx1 = m1->ctx; in ReportDeadlock() 147 rep->loop[i].stk[0] = stk_to; in ReportDeadlock() 148 rep->loop[i].stk[1] = stk_from; in ReportDeadlock() 190 return &cb->lt->rep; in GetReport()
|
| /llvm-project/compiler-rt/lib/builtins/ |
| H A D | fp_lib.h | 203 } rep = {.f = x}; 204 return rep.i; 211 } rep = {.i = x}; in toRep() 212 return rep.f; 263 rep_t rep = toRep(x); 264 int exp = (rep & exponentMask) >> significandBits; 270 if (((rep & signBit) == 0) || (x != x)) { in __compiler_rt_logbX() 285 rep &= absMask; in __compiler_rt_logbX() 286 const int shift = 1 - normalize(&rep); in __compiler_rt_logbX() 287 exp = (rep in __compiler_rt_logbX() 209 } rep = {.f = x}; toRep() local 217 } rep = {.i = x}; fromRep() local 269 rep_t rep = toRep(x); __compiler_rt_logbX() local 301 const rep_t rep = toRep(x); __compiler_rt_scalbnX() local [all...] |
| /llvm-project/libcxx/test/std/time/time.duration/time.duration.special/ |
| H A D | min.pass.cpp | 25 LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::min()); in test() 27 ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::min()); in test() 30 typedef typename D::rep DRep; in test() 36 typedef typename D::rep DRep; in test()
|
| H A D | zero.pass.cpp | 24 LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::zero()); in test() 26 ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::zero()); in test() 29 typedef typename D::rep DRep; in test() 35 typedef typename D::rep DRep; in test()
|
| H A D | max.pass.cpp | 25 LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::max()); in test() 27 ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::max()); in test() 30 typedef typename D::rep DRep; in test() 36 typedef typename D::rep DRep; in test()
|
| /llvm-project/clang/test/SemaOpenCLCXX/ |
| H A D | address-space-templates.clcpp | 32 struct rep { 34 // CHECK: |-CXXConstructorDecl {{.*}} rep 'void (const __generic rep &__private){{.*}} __generic' 36 rep(U&& v) {} 39 struct rep_outer : private rep { 41 : rep(0) {}
|