Home
last modified time | relevance | path

Searched full:observer (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/sys/dev/isci/scil/
H A Dsci_base_subject.c61 * A subject is a participant in the observer design pattern. A
102 SCI_BASE_OBSERVER_T *observer in sci_base_subject_attach_observer() argument
105 observer->next = this_subject->observer_list; in sci_base_subject_attach_observer()
107 this_subject->observer_list = observer; in sci_base_subject_attach_observer()
114 SCI_BASE_OBSERVER_T *observer in sci_base_subject_detach_observer() argument
123 && current_observer != observer in sci_base_subject_detach_observer()
130 // Was this observer in the list? in sci_base_subject_detach_observer()
131 if (current_observer == observer) in sci_base_subject_detach_observer()
136 previous_observer->next = observer->next; in sci_base_subject_detach_observer()
141 this_subject->observer_list = observer->next; in sci_base_subject_detach_observer()
[all …]
H A Dsci_base_observer.h61 * common to all base observer object definitions.
77 * that is invoked for all observers participating in the observer
89 * intends to participate as an observer.
94 * This filed points to the next observer if there is one
100 * notify the observer of a change in the subject (i.e. observed object).
107 * @brief This method is the basic constructor for the observer
109 * @param[in] this_observer This parameter specifies the observer to
112 * invoked for this observer.
127 * @param[in] this_observer This parameter specifies the observer to construct
142 * @param[in] this_observer This parameter specifies the observer to be
H A Dsci_base_state_machine_observer.h61 * common to all state machine observer object definitions.
76 * @brief The base state machine observer structure defines the fields
84 * machine observer is the base observer itself.
97 * @brief This method provides default behavior for a state machine observer.
102 * observer in which to record the state change from the subject.
114 * @brief This method constructs the supplied state machine observer.
117 * observer to be constructed.
H A Dsci_base_subject.h62 * participant in the observer pattern. A subject represents the
80 * participate in the observer design pattern
115 * @brief This method will add an observer to the subject.
118 * an observer is being added.
119 * @param[in] observer This parameter specifies the observer that wishes
126 struct SCI_BASE_OBSERVER *observer
130 * @brief This method will remove the observer from the subject.
H A Dsci_base_state_machine_logger.c74 * this observer that there has been a state change.
76 * @param[in] observer The state machine logger that is observing the state
82 SCI_BASE_OBSERVER_T *observer, in sci_base_state_machine_logger_update() argument
87 this_observer = (SCI_BASE_STATE_MACHINE_LOGGER_T *)observer; in sci_base_state_machine_logger_update()
196 * This is a helper function that will detach this observer from the state
199 * @param[in] this_observer This is the observer to detach from the state
H A Dsci_base_state_machine_observer.c59 * @brief This file provides the implementation for the observer role
60 * for a state machine. A state machine observer is notified when
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelChangeObserver.h27 /// the result. The observer would likely need to check if it was already
62 /// Simple wrapper observer that takes several observers, and calls
74 // Adds an observer.
76 // Removes an observer from the list and does nothing if observer is not
83 // API for Observer.
117 /// A simple RAII based Observer installer.
118 /// Use this in a scope to install the Observer to the MachineFunction and reset
124 RAIIMFObserverInstaller(MachineFunction &MF, GISelChangeObserver &Observer);
H A DLegalizationArtifactCombiner.h62 GISelObserverWrapper &Observer) { in tryCombineAnyExt() argument
76 Observer); in tryCombineAnyExt()
121 GISelObserverWrapper &Observer) { in tryCombineZExt() argument
156 Observer); in tryCombineZExt()
169 Observer.changingInstr(MI); in tryCombineZExt()
171 Observer.changedInstr(MI); in tryCombineZExt()
196 GISelObserverWrapper &Observer) { in tryCombineSExt() argument
220 Observer); in tryCombineSExt()
261 GISelObserverWrapper &Observer) { in tryCombineTrunc() argument
312 Observer); in tryCombineTrunc()
[all …]
H A DGIMatchTableExecutorImpl.h60 GISelChangeObserver *Observer = Builder.getObserver(); in executeMatchTable() local
86 if (Observer) in executeMatchTable()
87 Observer->changingInstr(*MIB); in executeMatchTable()
89 if (Observer) in executeMatchTable()
90 Observer->changedInstr(*MIB); in executeMatchTable()
136 if (Observer) in executeMatchTable()
137 Observer->erasingInstr(*MI); in executeMatchTable()
1031 if (Observer) in executeMatchTable()
1032 Observer->changingInstr(*OldMI); in executeMatchTable()
1035 if (Observer) in executeMatchTable()
[all …]
H A DGISelKnownBits.h95 // Observer API. No-op for non-caching implementation.
107 /// Add to observer if the Info is caching.
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Combine.td25 (apply [{ applyICmpRedundantTrunc(*${root}, MRI, B, Observer, ${matchinfo}); }])>;
33 (apply [{ applyFoldGlobalOffset(*${root}, MRI, B, Observer, ${matchinfo});}])
43 (apply [{ applyExtAddvToUdotAddv(*${root}, MRI, B, Observer, STI, ${matchinfo}); }])
52 (apply [{ applyExtUaddvToUaddlv(*${root}, MRI, B, Observer, ${matchinfo}); }])
183 (apply [{ applyAdjustICmpImmAndPred(*${root}, ${matchinfo}, B, Observer); }])
190 (apply [{ applySwapICmpOperands(*${root}, Observer); }])
215 (apply [{ applyExtMulToMULL(*${root}, MRI, B, Observer); }])
238 (apply [{ applyFormTruncstore(*${root}, MRI, B, Observer, ${matchinfo}); }])
245 (apply [{ applyFoldMergeToZext(*${d}, MRI, B, Observer); }])
252 (apply [{ applyMutateAnyExtToZExt(*${d}, MRI, B, Observer); }])
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp46 LiveVariables::Observer *obs = nullptr);
99 void LiveVariables::Observer::anchor() { } in anchor()
161 LiveVariables::Observer *observer; member in __anon9166e1760311::TransferFunctions
166 LiveVariables::Observer *Observer, in TransferFunctions() argument
168 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {} in TransferFunctions()
218 if (observer) in Visit()
219 observer->observeStmt(S, currentBlock, val); in Visit()
365 if (Killed && observer) in VisitBinaryOperator()
366 observer->observerKill(DR); in VisitBinaryOperator()
431 if (observer && DR) in VisitObjCForCollectionStmt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp105 GISelChangeObserver &Observer, in LegalizerHelper() argument
107 : MIRBuilder(Builder), Observer(Observer), MRI(MF.getRegInfo()), in LegalizerHelper()
112 GISelChangeObserver &Observer, in LegalizerHelper() argument
114 : MIRBuilder(B), Observer(Observer), MRI(MF.getRegInfo()), LI(LI), in LegalizerHelper()
1462 Observer.changingInstr(MI); in narrowScalar()
1464 Observer.changedInstr(MI); in narrowScalar()
1470 Observer.changingInstr(MI); in narrowScalar()
1472 Observer.changedInstr(MI); in narrowScalar()
1478 Observer.changingInstr(MI); in narrowScalar()
1480 Observer.changedInstr(MI); in narrowScalar()
[all …]
H A DLegalizer.cpp68 // Always disable it for release builds by preventing the observer from being
209 // This observer keeps the worklists updated. in legalizeMachineFunction()
212 // CSEInfo) to observe all changes. Use the wrapper observer. in legalizeMachineFunction()
214 for (GISelChangeObserver *Observer : AuxObservers) in legalizeMachineFunction()
215 WrapperObserver.addObserver(Observer); in legalizeMachineFunction()
217 // Now install the observer as the delegate to MF. in legalizeMachineFunction()
H A DCombiner.cpp51 /// observer subclass will act on these events. In this case, instruction
104 Observer(*ObserverWrapper), B(*Builder), MF(MF), MRI(MF.getRegInfo()), in Combiner()
113 // Setup observer. in Combiner()
207 "observer on mutations."); in combineMachineInstrs()
H A DCSEMIRBuilder.cpp163 GISelChangeObserver *Observer = getState().Observer; in generateCopiesIfRequired() local
164 if (Observer) in generateCopiesIfRequired()
165 Observer->changingInstr(*MIB); in generateCopiesIfRequired()
168 if (Observer) in generateCopiesIfRequired()
169 Observer->changedInstr(*MIB); in generateCopiesIfRequired()
H A DGISelChangeObserver.cpp43 GISelChangeObserver &Observer) in RAIIMFObserverInstaller() argument
45 MF.setObserver(&Observer); in RAIIMFObserverInstaller()
H A DCombinerHelper.cpp56 CombinerHelper::CombinerHelper(GISelChangeObserver &Observer, in CombinerHelper() argument
60 : Builder(B), MRI(Builder.getMF().getRegInfo()), Observer(Observer), KB(KB), in CombinerHelper()
166 Observer.changingAllUsesOfReg(MRI, FromReg); in replaceRegWith()
173 Observer.finishedChangingAllUsesOfReg(); in replaceRegWith()
180 Observer.changingInstr(*FromRegOp.getParent()); in replaceRegOpWith()
184 Observer.changedInstr(*FromRegOp.getParent()); in replaceRegOpWith()
189 Observer.changingInstr(FromMI); in replaceOpcodeWith()
193 Observer.changedInstr(FromMI); in replaceOpcodeWith()
271 Observer.changingInstr(*OrigDef); in matchFreezeOfSingleMaybePoisonOperand()
273 Observer.changedInstr(*OrigDef); in matchFreezeOfSingleMaybePoisonOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.h41 GISelChangeObserver &Observer) const;
44 GISelChangeObserver &Observer) const;
48 GISelChangeObserver &Observer) const;
57 GISelChangeObserver &Observer,
H A DAArch64PreLegalizerCombiner.cpp107 GISelChangeObserver &Observer, Register &WideReg) { in applyICmpRedundantTrunc() argument
115 Observer.changingInstr(MI); in applyICmpRedundantTrunc()
118 Observer.changedInstr(MI); in applyICmpRedundantTrunc()
194 MachineIRBuilder &B, GISelChangeObserver &Observer, in applyFoldGlobalOffset() argument
219 Observer.changingInstr(MI); in applyFoldGlobalOffset()
226 Observer.changedInstr(MI); in applyFoldGlobalOffset()
292 GISelChangeObserver &Observer, in applyExtAddvToUdotAddv() argument
448 MachineIRBuilder &B, GISelChangeObserver &Observer, in applyExtUaddvToUaddlv() argument
609 CombinerHelper &Helper, GISelChangeObserver &Observer) { in tryToSimplifyUADDO() argument
713 Observer.erasingInstr(*U.getParent()); in tryToSimplifyUADDO()
[all …]
H A DAArch64PostLegalizerLowering.cpp677 MachineIRBuilder &MIB, GISelChangeObserver &Observer) { in applyAdjustICmpImmAndPred() argument
683 Observer.changingInstr(MI); in applyAdjustICmpImmAndPred()
686 Observer.changedInstr(MI); in applyAdjustICmpImmAndPred()
904 void applySwapICmpOperands(MachineInstr &MI, GISelChangeObserver &Observer) { in applySwapICmpOperands() argument
908 Observer.changedInstr(MI); in applySwapICmpOperands()
912 Observer.changedInstr(MI); in applySwapICmpOperands()
1065 MachineIRBuilder &B, GISelChangeObserver &Observer, in applyFormTruncstore() argument
1068 Observer.changingInstr(MI); in applyFormTruncstore()
1070 Observer.changedInstr(MI); in applyFormTruncstore()
1084 MachineIRBuilder &B, GISelChangeObserver &Observer) { in applyVectorSextInReg() argument
[all …]
H A DAArch64PostLegalizerCombiner.cpp268 MachineIRBuilder &B, GISelChangeObserver &Observer) { in applyFoldMergeToZext() argument
272 Observer.changingInstr(MI); in applyFoldMergeToZext()
275 Observer.changedInstr(MI); in applyFoldMergeToZext()
299 GISelChangeObserver &Observer) { in applyMutateAnyExtToZExt() argument
300 Observer.changingInstr(MI); in applyMutateAnyExtToZExt()
302 Observer.changedInstr(MI); in applyMutateAnyExtToZExt()
327 GISelChangeObserver &Observer) { in applySplitStoreZero128() argument
477 Helper(Observer, B, /*IsPreLegalize*/ false, &KB, MDT, LI), in AArch64PostLegalizerCombinerImpl()
H A DAArch64LegalizerInfo.cpp1302 GISelChangeObserver &Observer = Helper.Observer; in legalizeCustom() local
1311 return legalizeLoadStore(MI, MRI, MIRBuilder, Observer); in legalizeCustom()
1315 return legalizeShlAshrLshr(MI, MRI, MIRBuilder, Observer); in legalizeCustom()
1317 return legalizeSmallCMGlobalValue(MI, MRI, MIRBuilder, Observer); in legalizeCustom()
1323 return legalizeFunnelShift(MI, MRI, MIRBuilder, Observer, Helper); in legalizeCustom()
1355 GISelChangeObserver &Observer, in legalizeFunnelShift() argument
1390 Observer.changingInstr(MI); in legalizeFunnelShift()
1392 Observer.changedInstr(MI); in legalizeFunnelShift()
1446 Helper.Observer.changingInstr(MI); in legalizeRotate()
1448 Helper.Observer.changedInstr(MI); in legalizeRotate()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h54 class Observer {
57 virtual ~Observer() {} in ~Observer()
98 void runOnAllBlocks(Observer &obs);
/freebsd/crypto/krb5/src/lib/rpc/
H A Ddyn.h65 int DynInsert (DynObject obj, int idx, /*@observer@*/void *els, int num);
68 /*@observer@*/ DynPtr DynArray (DynObject obj);

1234