Home
last modified time | relevance | path

Searched refs:Listener (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DListener.cpp21 Listener::Listener(const char *name) : m_name(name) { in Listener() function in Listener
26 Listener::~Listener() { in ~Listener()
33 void Listener::Clear() { in Clear()
58 uint32_t Listener::StartListeningForEvents(Broadcaster *broadcaster, in StartListeningForEvents()
86 uint32_t Listener::StartListeningForEvents(Broadcaster *broadcaster, in StartListeningForEvents()
120 bool Listener::StopListeningForEvents(Broadcaster *broadcaster, in StopListeningForEvents()
137 void Listener::BroadcasterWillDestruct(Broadcaster *broadcaster) { in BroadcasterWillDestruct()
158 void Listener::BroadcasterManagerWillDestruct(BroadcasterManagerSP manager_sp) { in BroadcasterManagerWillDestruct()
167 void Listener::AddEvent(EventSP &event_sp) { in AddEvent()
179 bool Listener::FindNextEventInternal( in FindNextEventInternal()
[all …]
H A DBroadcaster.cpp187 lldb_private::Listener *listener, uint32_t event_mask) { in RemoveListener()
478 void BroadcasterManager::RemoveListener(Listener *listener) { in RemoveListener()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DPipeline.cpp24 void Pipeline::addEventListener(HWEventListener *Listener) { in addEventListener() argument
25 if (Listener) in addEventListener()
26 Listeners.insert(Listener); in addEventListener()
28 S->addListener(Listener); in addEventListener()
98 for (HWEventListener *Listener : Listeners) in notifyCycleBegin()
99 Listener->onCycleBegin(); in notifyCycleBegin()
104 for (HWEventListener *Listener : Listeners) in notifyCycleEnd()
105 Listener->onCycleEnd(); in notifyCycleEnd()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DListener.h35 class Listener : public std::enable_shared_from_this<Listener> {
47 Listener(const char *name);
52 ~Listener();
144 Listener(const Listener &) = delete;
145 const Listener &operator=(const Listener &) = delete;
H A DBroadcaster.h30 class Listener; variable
77 friend class Listener;
97 void RemoveListener(Listener *listener);
147 friend class Listener; variable
337 friend class Listener; variable
385 bool RemoveListener(lldb_private::Listener *listener,
H A DEvent.h181 friend class Listener; variable
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachinePassRegistry.h78 *Listener; // Listener for list adds are removes. variable
102 void setListener(MachinePassRegistryListener<PassCtorTy> *L) { Listener = L; } in setListener()
109 if (Listener) in Add()
110 Listener->NotifyAdd(Node->getName(), Node->getCtor(), in Add()
120 if (Listener) in Remove()
121 Listener->NotifyRemove(Node->getName()); in Remove()
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DExecuteStage.cpp248 for (HWEventListener *Listener : getListeners()) in notifyResourceAvailable()
249 Listener->onResourceAvailable(RR); in notifyResourceAvailable()
285 for (HWEventListener *Listener : getListeners()) in notifyReservedOrReleasedBuffers()
286 Listener->onReservedBuffers(IR, BufferIDs); in notifyReservedOrReleasedBuffers()
290 for (HWEventListener *Listener : getListeners()) in notifyReservedOrReleasedBuffers()
291 Listener->onReleasedBuffers(IR, BufferIDs); in notifyReservedOrReleasedBuffers()
H A DStage.cpp23 void Stage::addListener(HWEventListener *Listener) { in addListener() argument
24 Listeners.insert(Listener); in addListener()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DMultiplexConsumer.cpp45 for (auto &Listener : Listeners) in MacroRead() local
46 Listener->MacroRead(ID, MI); in MacroRead()
75 for (auto &Listener : Listeners) in ModuleRead() local
76 Listener->ModuleRead(ID, Mod); in ModuleRead()
81 for (auto &Listener : Listeners) in ModuleImportRead() local
82 Listener->ModuleImportRead(ID, ImportLoc); in ModuleImportRead()
169 for (auto &Listener : Listeners) in ResolvedExceptionSpec() local
170 Listener->ResolvedExceptionSpec(FD); in ResolvedExceptionSpec()
198 for (auto &Listener : Listeners) in FunctionDefinitionInstantiated() local
199 Listener->FunctionDefinitionInstantiated(D); in FunctionDefinitionInstantiated()
H A DCompilerInstance.cpp518 for (auto &Listener : DependencyCollectors) in createPreprocessor() local
519 Listener->attachToPreprocessor(*PP); in createPreprocessor()
651 for (auto &Listener : DependencyCollectors) in createPCHExternalASTSource() local
652 Listener->attachToASTReader(*Reader); in createPCHExternalASTSource()
654 auto Listener = std::make_unique<ReadModuleNames>(PP); in createPCHExternalASTSource() local
655 auto &ListenerRef = *Listener; in createPCHExternalASTSource()
657 std::move(Listener)); in createPCHExternalASTSource()
1754 for (auto &Listener : DependencyCollectors) in createASTReader() local
1755 Listener->attachToASTReader(*TheASTReader); in createASTReader()
1777 auto Listener = std::make_unique<ReadModuleNames>(*PP); in loadModuleFile() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DStage.h79 void addListener(HWEventListener *Listener);
83 for (HWEventListener *Listener : Listeners) in notifyEvent()
84 Listener->onEvent(Event); in notifyEvent()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBListener.h96 lldb_private::Listener *operator->() const;
98 lldb_private::Listener *get() const;
103 lldb_private::Listener *m_unused_ptr = nullptr;
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp464 MigrationProcess::RewriteListener *Listener; member in __anon76387d3f0411::RewritesApplicator
469 : rewriter(rewriter), Listener(listener) { in RewritesApplicator()
470 if (Listener) in RewritesApplicator()
471 Listener->start(ctx); in RewritesApplicator()
474 if (Listener) in ~RewritesApplicator()
475 Listener->finish(); in ~RewritesApplicator()
481 if (!err && Listener) in insert()
482 Listener->insert(loc, text); in insert()
492 if (!err && Listener) in remove()
493 Listener->remove(range); in remove()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h422 std::unique_ptr<ASTReaderListener> Listener; variable
1371 bool AllowCompatibleConfigurationMismatch, ASTReaderListener &Listener,
1385 ASTReaderListener *Listener,
1400 ASTReaderListener &Listener,
1403 ASTReaderListener &Listener,
1406 ASTReaderListener &Listener);
1408 ASTReaderListener &Listener);
1410 ASTReaderListener &Listener);
1412 ASTReaderListener &Listener);
1414 ASTReaderListener &Listener,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPassRegistry.cpp58 for (auto *Listener : Listeners) in registerPass() local
59 Listener->passRegistered(&PI); in registerPass()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBListener.cpp26 : m_opaque_sp(Listener::MakeListener(name)) { in SBListener()
288 Listener *SBListener::operator->() const { return m_opaque_sp.get(); } in operator ->()
290 Listener *SBListener::get() const { return m_opaque_sp.get(); } in get()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DOrcEE.h95 LLVMJITEventListenerRef Listener);
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DPipeline.h78 void addEventListener(HWEventListener *Listener);
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp144 PrebuiltModuleListener Listener(ModuleFiles, Worklist, PrebuiltModuleVFSMap, in visitPrebuiltModule() local
148 Listener.visitModuleFile(PrebuiltModuleFilename, in visitPrebuiltModule()
153 /*FindModuleFileExtensions=*/false, Listener, in visitPrebuiltModule()
158 Listener.visitModuleFile(Worklist.back(), serialization::MK_ExplicitModule); in visitPrebuiltModule()
162 /*FindModuleFileExtensions=*/false, Listener, in visitPrebuiltModule()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DThreadedCommunication.cpp109 Listener::MakeListener("ThreadedCommunication::Read")); in Read()
356 ListenerSP listener_sp(Listener::MakeListener( in SynchronizeWithReadThread()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp901 void ASTReader::setDeserializationListener(ASTDeserializationListener *Listener, in setDeserializationListener() argument
903 DeserializationListener = Listener; in setDeserializationListener()
2763 bool AllowCompatibleConfigurationMismatch, ASTReaderListener &Listener, in ReadOptionsBlock() argument
2807 if (ParseLanguageOptions(Record, Complain, Listener, in ReadOptionsBlock()
2815 if (ParseTargetOptions(Record, Complain, Listener, in ReadOptionsBlock()
2824 ParseFileSystemOptions(Record, Complain, Listener)) in ReadOptionsBlock()
2832 ParseHeaderSearchOptions(Record, Complain, Listener)) in ReadOptionsBlock()
2840 ParsePreprocessorOptions(Record, Complain, Listener, in ReadOptionsBlock()
2930 if (Listener) in ReadControlBlock()
2931 Listener->visitModuleFile(F.FileName, F.Kind); in ReadControlBlock()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DProcessTrace.cpp61 Listener::MakeListener("lldb.process_trace.did_attach_listener")); in DidAttach()
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h122 class Listener; variable
365 typedef std::shared_ptr<lldb_private::Listener> ListenerSP;
366 typedef std::weak_ptr<lldb_private::Listener> ListenerWP;
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h888 void addDependencyCollector(std::shared_ptr<DependencyCollector> Listener) { in addDependencyCollector() argument
889 DependencyCollectors.push_back(std::move(Listener)); in addDependencyCollector()

12