| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_trace.h | 28 enum EventType { enum 73 enum class EventType : u64 { enum 90 EventType type : 3; 96 static constexpr Event NopEvent = {1, 0, EventType::kAccessExt, 0}; 136 EventType type : 3; // = EventType::kAccessExt 154 EventType type : 3; // = EventType::kAccessRange 177 EventType type : 3; // = EventType::kLock or EventType::kRLock 194 EventType type : 3; // = EventType::kUnlock 208 EventType type : 3; // = EventType::kTime
|
| H A D | tsan_rtl_report.cpp | 419 EventType typ = (EventType)(ev >> kEventPCBits); in RestoreStack() 476 case EventType::kTime: { in TraceReplay() 484 case EventType::kAccessExt: in TraceReplay() 486 case EventType::kAccessRange: in TraceReplay() 488 case EventType::kLock: in TraceReplay() 490 case EventType::kRLock: in TraceReplay() 494 case EventType::kUnlock: in TraceReplay() 634 case EventType::kLock: in RestoreStack() 636 case EventType::kRLock: { in RestoreStack() 652 case EventType::kUnlock: { in RestoreStack() [all …]
|
| H A D | tsan_rtl_access.cpp | 46 evex->type = EventType::kAccessExt; in TryTraceMemoryAccess() 67 ev->type = EventType::kAccessRange; in TryTraceMemoryAccessRange() 95 void TraceMutexLock(ThreadState *thr, EventType type, uptr pc, uptr addr, in TraceMutexLock() 97 DCHECK(type == EventType::kLock || type == EventType::kRLock); in TraceMutexLock() 118 ev.type = EventType::kUnlock; in TraceMutexUnlock() 130 ev.type = EventType::kTime; in TraceTime()
|
| H A D | tsan_rtl.h | 612 EventType typ, u64 addr) { in TraceAddEvent() 672 bool RestoreStack(Tid tid, EventType type, Sid sid, Epoch epoch, uptr addr, 744 void TraceMutexLock(ThreadState *thr, EventType type, uptr pc, uptr addr,
|
| H A D | tsan_rtl.cpp | 678 TraceMutexLock(thr, d.write ? EventType::kLock : EventType::kRLock, 0, in TraceSwitchPart()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_trace.h | 22 enum class EventType : u64 { enum 39 EventType type : 3; 45 static constexpr Event NopEvent = {1, 0, EventType::kAccessExt, 0}; 85 EventType type : 3; // = EventType::kAccessExt 103 EventType type : 3; // = EventType::kAccessRange 126 EventType type : 3; // = EventType::kLock or EventType::kRLock 143 EventType type : 3; // = EventType::kUnlock 157 EventType type : 3; // = EventType::kTime
|
| H A D | tsan_rtl_report.cpp | 374 case EventType::kTime: { in TraceReplay() 382 case EventType::kAccessExt: in TraceReplay() 384 case EventType::kAccessRange: in TraceReplay() 386 case EventType::kLock: in TraceReplay() 388 case EventType::kRLock: in TraceReplay() 392 case EventType::kUnlock: in TraceReplay() 532 case EventType::kAccessExt: { in RestoreStack() 561 case EventType::kLock: in RestoreStack() 563 case EventType::kRLock: { in RestoreStack() 579 case EventType::kUnlock: { in RestoreStack() [all …]
|
| H A D | tsan_rtl_access.cpp | 44 evex->type = EventType::kAccessExt; in TryTraceMemoryAccess() 67 ev->type = EventType::kAccessRange; in TryTraceMemoryAccessRange() 105 void TraceMutexLock(ThreadState* thr, EventType type, uptr pc, uptr addr, in TraceMutexLock() 107 DCHECK(type == EventType::kLock || type == EventType::kRLock); in TraceMutexLock() 128 ev.type = EventType::kUnlock; in TraceMutexUnlock() 141 ev.type = EventType::kTime; in TraceTime()
|
| H A D | tsan_rtl_mutex.cpp | 70 auto typ = write ? EventType::kLock : EventType::kRLock; in RecordMutexLock() 570 if (!RestoreStack(EventType::kLock, last_lock.sid(), last_lock.epoch(), addr, in ReportDestroyLocked()
|
| H A D | tsan_rtl.h | 683 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size, 758 void TraceMutexLock(ThreadState *thr, EventType type, uptr pc, uptr addr,
|
| H A D | tsan_rtl.cpp | 996 TraceMutexLock(thr, d.write ? EventType::kLock : EventType::kRLock, 0, in TraceSwitchPartImpl()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | xray-typedevent.cpp | 7 auto EventType = 1; in alwaysInstrument() local 9 __xray_typedevent(EventType, kPhase, 10); in alwaysInstrument() 15 auto EventType = 2; in neverInstrument() local 17 __xray_typedevent(EventType, kPhase, 5); in neverInstrument()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventsWrapper.h | 73 int iJIT_NotifyEvent(iJIT_JVM_EVENT EventType, void *EventSpecificData) { in iJIT_NotifyEvent() argument 76 return NotifyEventFunc(EventType, EventSpecificData); in iJIT_NotifyEvent() 79 int iJitIttNotifyInfo(IttEventType EventType, const char *Name, in iJitIttNotifyInfo() argument 83 return IttnotifyInfoFunc(EventType, Name, Size); in iJitIttNotifyInfo()
|
| H A D | IntelJITEventListener.cpp | 69 void reportSection(llvm::IttEventType EventType, const char *SectionName, in reportSection() argument 71 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/ |
| H A D | tsan_trace_test.cpp | 77 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST() 78 TraceMutexLock(thr, EventType::kLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST() 82 TraceMutexLock(thr, EventType::kRLock, 0x4002, 0x5002, 0x6002); in TRACE_TEST() 96 bool res = RestoreStack(EventType::kAccessExt, thr->fast_state.sid(), in TRACE_TEST() 157 RestoreStack(EventType::kAccessExt, thr->fast_state.sid(), in TRACE_TEST() 174 TraceMutexLock(thr, EventType::kLock, 0x4000, 0x5000, 0x6000); in TRACE_TEST() 175 TraceMutexLock(thr, EventType::kRLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST() 176 TraceMutexLock(thr, EventType::kRLock, 0x4002, 0x5001, 0x6002); in TRACE_TEST() 184 bool res = RestoreStack(EventType::kLock, thr->fast_state.sid(), in TRACE_TEST() 218 TraceMutexLock(thr, EventType::kRLock, 0x4001, 0x5001, 0x6001); in TRACE_TEST() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-jitlistener/ |
| H A D | llvm-jitlistener.cpp | 42 int NotifyEvent(iJIT_JVM_EVENT EventType, void *EventSpecificData) { in NotifyEvent() argument 43 switch (EventType) { in NotifyEvent() 91 int ittNotifyInfo(IttEventType EventType, const char *Name, unsigned int Size) { in ittNotifyInfo() argument 92 switch (EventType) { in ittNotifyInfo()
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_fdr_log_writer.h | 192 bool writeTypedEvent(int32_t Delta, uint16_t EventType, const void *Event, 198 EventSize, Delta, EventType);
|
| H A D | xray_fdr_controller.h | 347 bool typedEvent(uint64_t TSC, uint16_t CPU, uint16_t EventType, in typedEvent() argument 358 return W.writeTypedEvent(Delta, EventType, Event, EventSize); in typedEvent()
|
| H A D | xray_fdr_logging.cpp | 584 uint16_t EventType, const void *Event, in fdrLoggingHandleTypedEvent() argument 610 TLD.Controller->typedEvent(TSC, CPU, EventType, Event, ReducedEventSize); in fdrLoggingHandleTypedEvent()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyDiagnosticConsumer.cpp | 573 enum EventType { in removeIncompatibleErrors() enum 579 Event(unsigned Begin, unsigned End, EventType Type, unsigned ErrorId, in removeIncompatibleErrors() 625 EventType Type; in removeIncompatibleErrors() 630 std::tuple<unsigned, EventType, int, int, unsigned> Priority; in removeIncompatibleErrors()
|
| /llvm-project-15.0.7/llvm/include/llvm/XRay/ |
| H A D | FDRRecords.h | 265 uint16_t EventType = 0; variable 281 uint16_t eventType() const { return EventType; } in eventType()
|
| /llvm-project-15.0.7/llvm/lib/XRay/ |
| H A D | RecordInitializer.cpp | 272 R.EventType = E.getU16(&OffsetPtr); in visit()
|