Home
last modified time | relevance | path

Searched refs:EventType (Results 1 – 21 of 21) sorted by relevance

/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h22 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 Dtsan_rtl_report.cpp373 case EventType::kTime: { in TraceReplay()
381 case EventType::kAccessExt: in TraceReplay()
383 case EventType::kAccessRange: in TraceReplay()
385 case EventType::kLock: in TraceReplay()
387 case EventType::kRLock: in TraceReplay()
391 case EventType::kUnlock: in TraceReplay()
432 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size, in RestoreStack()
498 if (evp->is_func == 0 && evp->type == EventType::kAccessExt && in RestoreStack()
509 if (match && type == EventType::kAccessExt && in RestoreStack()
531 case EventType in RestoreStack()
[all...]
H A Dtsan_rtl_access.cpp44 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 Dtsan_rtl_mutex.cpp70 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 Dtsan_rtl.h694 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size,
769 void TraceMutexLock(ThreadState *thr, EventType type, uptr pc, uptr addr,
H A Dtsan_rtl.cpp1006 TraceMutexLock(thr, d.write ? EventType::kLock : EventType::kRLock, 0, in TraceSwitchPartImpl()
/llvm-project/clang/test/CodeGen/
H A Dxray-typedevent.cpp7 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/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_trace_test.cpp77 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/llvm/lib/ExecutionEngine/IntelJITProfiling/
H A DIntelJITEventsWrapper.h73 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()
/llvm-project/lldb/source/Core/
H A DProgress.cpp160 ReportProgress(progress_data, EventType::Begin); in Decrement()
170 ReportProgress(progress_data, EventType::Begin); in ReportProgress()
206 const Progress::ProgressData &progress_data, EventType type) {
211 (type == EventType::Begin) ? 0 : Progress::kNonDeterministicTotal;
234 ReportProgress(m_entries[key].data, EventType::End);
/llvm-project/llvm/tools/llvm-jitlistener/
H A Dllvm-jitlistener.cpp42 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/lldb/include/lldb/Core/
H A DProgress.h183 enum class EventType {
188 EventType type);
160 enum class EventType { global() enum
/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderVTune.cpp120 static int NotifyEvent(iJIT_JVM_EVENT EventType, void *EventSpecificData) { in NotifyEvent() argument
121 switch (EventType) { in NotifyEvent()
/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h192 bool writeTypedEvent(int32_t Delta, uint16_t EventType, const void *Event,
198 EventSize, Delta, EventType);
H A Dxray_fdr_controller.h347 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 Dxray_fdr_logging.cpp580 void fdrLoggingHandleTypedEvent(size_t EventType, const void *Event, in fdrLoggingHandleTypedEvent() argument
607 TLD.Controller->typedEvent(TSC, CPU, static_cast<uint16_t>(EventType), Event, in fdrLoggingHandleTypedEvent()
/llvm-project/clang-tools-extra/clang-tidy/
H A DClangTidyDiagnosticConsumer.cpp596 enum EventType { in removeIncompatibleErrors()
602 Event(unsigned Begin, unsigned End, EventType Type, unsigned ErrorId, in removeIncompatibleErrors()
648 EventType Type; in removeIncompatibleErrors()
653 std::tuple<unsigned, EventType, int, int, unsigned> Priority; in removeIncompatibleErrors()
598 enum EventType { removeIncompatibleErrors() enum
/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp69 void reportSection(llvm::IttEventType EventType, const char *SectionName, in reportSection() argument
71 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
/llvm-project/llvm/include/llvm/XRay/
H A DFDRRecords.h265 uint16_t EventType = 0; variable
281 uint16_t eventType() const { return EventType; } in eventType()
/llvm-project/llvm/include/llvm/Target/
H A DTargetPfmCounters.td55 ValidationEvent EventType = event_type;
/llvm-project/llvm/lib/XRay/
H A DRecordInitializer.cpp272 R.EventType = E.getU16(&OffsetPtr); in visit()