Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 63) sorted by relevance

123

/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DPass.cpp98 MlirExternalPassCallbacks callbacks, void *userData) in ExternalPass() argument
101 callbacks(callbacks), userData(userData) { in ExternalPass()
102 callbacks.construct(userData); in ExternalPass()
105 ~ExternalPass() override { callbacks.destruct(userData); } in ~ExternalPass()
121 if (callbacks.initialize) in initialize()
122 return unwrap(callbacks.initialize(wrap(ctx), userData)); in initialize()
133 callbacks.run(wrap(getOperation()), wrap(this), userData); in runOnOperation()
137 void *clonedUserData = callbacks.clone(userData); in clonePass()
140 callbacks, clonedUserData); in clonePass()
149 MlirExternalPassCallbacks callbacks; member in mlir::ExternalPass
[all …]
/llvm-project-15.0.7/openmp/libompd/src/
H A Domp-debug.cpp54 callbacks = table; in ompd_initialize()
111 if (!callbacks) { in ompd_get_omp_version()
192 if (!callbacks) { in ompd_get_thread_in_parallel()
271 if (!callbacks) { in ompd_get_curr_parallel_handle()
323 if (!callbacks) { in ompd_get_enclosing_parallel_handle()
387 if (!callbacks) { in ompd_get_task_parallel_handle()
468 if (!callbacks) { in ompd_get_curr_task_handle()
523 if (!callbacks) { in ompd_get_generating_task_handle()
586 if (!callbacks) { in ompd_get_scheduling_task_handle()
631 if (!callbacks) { in ompd_get_task_in_parallel()
[all …]
H A DTargetValue.cpp20 const ompd_callbacks_t *TValue::callbacks = NULL; member in TValue
74 ret = TValue::callbacks->read_memory( in getSize()
79 ret = TValue::callbacks->device_to_host( in getSize()
105 ret = TValue::callbacks->read_memory( in getBitfieldMask()
110 ret = TValue::callbacks->device_to_host(context, &(tmpMask), in getBitfieldMask()
141 ret = TValue::callbacks->read_memory( in getElementOffset()
177 ret = TValue::callbacks->read_memory( in getElementSize()
199 errorState.errorCode = callbacks->symbol_addr_lookup( in TValue()
240 ret.errorState.errorCode = callbacks->read_memory( in dereference()
246 ret.errorState.errorCode = callbacks->device_to_host( in dereference()
[all …]
H A Domp-icv.cpp125 if (!callbacks) { in create_empty_string()
148 if (!callbacks) { in ompd_get_dynamic()
177 if (!callbacks) { in ompd_get_stacksize()
197 if (!callbacks) { in ompd_get_cancellation()
218 if (!callbacks) { in ompd_get_max_task_priority()
239 if (!callbacks) { in ompd_get_debug()
268 if (!callbacks) { in ompd_get_nthreads_aux()
415 if (!callbacks) { in ompd_get_display_affinity()
432 if (!callbacks) { in ompd_get_affinity_format()
453 if (!callbacks) { in ompd_get_tool_libraries()
[all …]
H A Domp-state.cpp17 void __ompd_init_states(const ompd_callbacks_t *table) { callbacks = table; } in __ompd_init_states()
48 ret = callbacks->alloc_memory(strlen(find_next_state_name) + 1, in ompd_enumerate_states()
H A Domp-debug.h53 static const ompd_callbacks_t *callbacks = nullptr; variable
58 ompd_rc_t _rc = callbacks->fn(__VA_ARGS__); \
/llvm-project-15.0.7/llvm/bindings/python/llvm/
H A Ddisassembler.py30 callbacks = {} variable
76 callbacks['op_info'](0), callbacks['symbol_lookup'](0))
150 callbacks['op_info'], callbacks['symbol_lookup']]
163 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
165 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DThreadPlanShouldStopHere.h69 const ThreadPlanShouldStopHereCallbacks *callbacks,
79 SetShouldStopHereCallbacks(const ThreadPlanShouldStopHereCallbacks *callbacks, in SetShouldStopHereCallbacks() argument
81 if (callbacks) { in SetShouldStopHereCallbacks()
82 m_callbacks = *callbacks; in SetShouldStopHereCallbacks()
H A DThreadPlanStepInRange.h62 ThreadPlanShouldStopHere::ThreadPlanShouldStopHereCallbacks callbacks( in SetCallbacks()
64 SetShouldStopHereCallbacks(&callbacks, nullptr); in SetCallbacks()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DMainLoop.cpp307 auto callback_it = signal_it->second.callbacks.insert(
308 signal_it->second.callbacks.end(), callback);
313 info.callbacks.push_back(callback);
346 *this, signo, insert_ret.first->second.callbacks.begin()));
368 it->second.callbacks.erase(callback_it);
370 if (!it->second.callbacks.empty())
422 it->second.callbacks.begin(), it->second.callbacks.end()};
/llvm-project-15.0.7/llvm/test/Instrumentation/HeapProfiler/
H A Dinstrumentation-use-callbacks.ll2 ; -memprof-use-callbacks
5 ; RUN: opt < %s -memprof -memprof-module -memprof-use-callbacks -S | FileCheck %s --check-prefix=CH…
6 ; RUN: opt < %s -memprof -memprof-module -memprof-use-callbacks -memprof-memory-access-callback-pre…
7 ; RUN: opt < %s -memprof -memprof-module -memprof-use-callbacks=false -S | FileCheck %s --check-pre…
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dpython.cc341 const set<FunctionDecl *> &callbacks = clazz.persistent_callbacks; in print_persistent_callback_failure_check() local
344 for (in = callbacks.begin(); in != callbacks.end(); ++in) { in print_persistent_callback_failure_check()
945 const set<FunctionDecl *> &callbacks = clazz.persistent_callbacks; in print_copy_callbacks() local
952 for (in = callbacks.begin(); in != callbacks.end(); ++in) { in print_copy_callbacks()
977 const set<FunctionDecl *> &callbacks = clazz.persistent_callbacks; in print_method_types() local
983 for (in = callbacks.begin(); in != callbacks.end(); ++in) in print_method_types()
1023 const set<FunctionDecl *> &callbacks = clazz.persistent_callbacks; in print() local
1054 for (in = callbacks.begin(); in != callbacks.end(); ++in) in print()
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanShouldStopHere.cpp30 ThreadPlan *owner, const ThreadPlanShouldStopHereCallbacks *callbacks, in ThreadPlanShouldStopHere() argument
34 SetShouldStopHereCallbacks(callbacks, baton); in ThreadPlanShouldStopHere()
/llvm-project-15.0.7/llvm/lib/Support/
H A DSignals.cpp91 static std::array<CallbackAndCookie, MaxSignalHandlerCallbacks> callbacks; in CallBacksToRun() local
92 return callbacks; in CallBacksToRun()
/llvm-project-15.0.7/clang/docs/
H A DDataFlowSanitizer.rst204 * ``-dfsan-event-callbacks`` -- An experimental feature that inserts callbacks for
205 certain data events. Currently callbacks are only inserted for loads, stores,
217 * ``-dfsan-conditional-callbacks`` -- An experimental feature that inserts
218 callbacks for control flow conditional expressions.
242 requires more than this number of origin stores, use callbacks instead of
243 inline checks (-1 means never use callbacks). Its default value is 3500.
H A DSanitizerCoverage.rst13 Default implementations of those callbacks are provided and implement
191 // callbacks (-fsanitize-coverage=trace-pc-guard).
204 These callbacks are not implemented in the Sanitizer run-time and should be defined
299 // These callbacks are emitted by -fsanitize-coverage=trace-cmp since 2017-08-11
398 default implementations of some of the coverage callbacks.
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/
H A Dsb_address_exception.test7 …b script command). For things like Python based commands and breakpoint callbacks use GetLoadAddre…
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp246 ThreadEventCallbacks callbacks = { in InitializePlatform() local
250 InstallPthreadIntrospectionHook(callbacks); in InitializePlatform()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.h74 void InstallPthreadIntrospectionHook(const ThreadEventCallbacks &callbacks);
/llvm-project-15.0.7/llvm/test/Instrumentation/DataFlowSanitizer/
H A Dcustom_fun_callback_attributes.ll23 ;; Call a custom function with two callbacks. Check their annotations.
H A Dcallback.ll1 ; RUN: opt < %s -dfsan -dfsan-event-callbacks=1 -S | FileCheck %s
/llvm-project-15.0.7/mlir/include/mlir-c/
H A DPass.h162 MlirExternalPassCallbacks callbacks, void *userData);
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DMainLoop.h103 std::list<Callback> callbacks; member
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dasan-optimize-callbacks.ll2 ; RUN: -asan-optimize-callbacks -S | FileCheck %s --check-prefixes=LOAD,STORE
4 ; RUN: -asan-optimize-callbacks --asan-kernel -S | \
/llvm-project-15.0.7/clang/bindings/python/clang/
H A Dcindex.py147 callbacks = {} variable
1841 conf.lib.clang_visitChildren(self, callbacks['cursor_visit'](visitor),
2416 callbacks['fields_visit'](visitor), fields)
2904 callbacks['translation_unit_includes'](visitor), includes)
3323 callbacks['translation_unit_includes'] = CFUNCTYPE(None, c_object_p,
3325 callbacks['cursor_visit'] = CFUNCTYPE(c_int, Cursor, Cursor, py_object)
3326 callbacks['fields_visit'] = CFUNCTYPE(c_int, Cursor, py_object)
3739 [TranslationUnit, callbacks['translation_unit_includes'], py_object]),
3962 [Cursor, callbacks['cursor_visit'], py_object],
4053 [Type, callbacks['fields_visit'], py_object],

123