LLVM: include/llvm/ExecutionEngine/JITEventListener.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_EXECUTIONENGINE_JITEVENTLISTENER_H
15#define LLVM_EXECUTIONENGINE_JITEVENTLISTENER_H
16
18#include "llvm/Config/llvm-config.h"
23#include
24
25namespace llvm {
26
29
31
33
34}
35
36
37
38
39
40
42public:
44
47
48
49
50
51
52
53
54
55
56
59
60
61
63
64
66
67#if LLVM_USE_INTEL_JITEVENTS
68
70
71
74#else
76
81#endif
82
83#if LLVM_USE_OPROFILE
84
86
87
90#else
92
97#endif
98
99#if LLVM_USE_PERF
101#else
103 {
104 return nullptr;
105 }
106#endif
107
108private:
109 virtual void anchor();
110};
111
113
114}
115
116#endif
#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref)
JITEventListener - Abstract interface for use by the JIT to notify clients about significant events d...
Definition JITEventListener.h:41
JITEventListener()=default
virtual void notifyFreeingObject(ObjectKey K)
notifyFreeingObject - Called just before the memory associated with a previously emitted object is re...
Definition JITEventListener.h:62
virtual void notifyObjectLoaded(ObjectKey K, const object::ObjectFile &Obj, const RuntimeDyld::LoadedObjectInfo &L)
notifyObjectLoaded - Called after an object has had its sections allocated and addresses assigned to ...
Definition JITEventListener.h:57
static JITEventListener * createIntelJITEventListener()
Definition JITEventListener.h:75
static JITEventListener * createIntelJITEventListener(IntelJITEventsWrapper *AlternativeImpl)
Definition JITEventListener.h:77
static JITEventListener * createPerfJITEventListener()
Definition JITEventListener.h:102
static JITEventListener * createOProfileJITEventListener()
Definition JITEventListener.h:91
static JITEventListener * createOProfileJITEventListener(OProfileWrapper *AlternativeImpl)
Definition JITEventListener.h:93
uint64_t ObjectKey
Definition JITEventListener.h:43
virtual ~JITEventListener()=default
Information about the loaded object.
This class is the base class for all object file types.
struct LLVMOpaqueJITEventListener * LLVMJITEventListenerRef
This is an optimization pass for GlobalISel generic memory operations.