Home
last modified time | relevance | path

Searched refs:Observer (Results 1 – 25 of 42) sorted by relevance

12

/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/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 …]
H A DAArch64O0PreLegalizerCombiner.cpp80 Helper(Observer, B, /*IsPreLegalize*/ true, &KB), RuleConfig(RuleConfig), in AArch64O0PreLegalizerCombinerImpl()
/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 DGISelChangeObserver.cpp43 GISelChangeObserver &Observer) in RAIIMFObserverInstaller() argument
45 MF.setObserver(&Observer); in RAIIMFObserverInstaller()
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 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 …]
H A DLegalizer.cpp214 for (GISelChangeObserver *Observer : AuxObservers) in legalizeMachineFunction()
215 WrapperObserver.addObserver(Observer); in legalizeMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
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 DMachineIRBuilder.h65 GISelChangeObserver *Observer = nullptr; member
241 if (State.Observer) in recordInsertion()
242 State.Observer->createdInstr(*InsertedInstr); in recordInsertion()
261 MachineIRBuilder(MachineInstr &MI, GISelChangeObserver &Observer) : in MachineIRBuilder() argument
263 setChangeObserver(Observer); in MachineIRBuilder()
370 void setChangeObserver(GISelChangeObserver &Observer) { in setChangeObserver() argument
371 State.Observer = &Observer; in setChangeObserver()
374 GISelChangeObserver *getObserver() { return State.Observer; } in getObserver()
376 void stopObservingChanges() { State.Observer = nullptr; } in stopObservingChanges()
378 bool isObservingChanges() const { return State.Observer != nullptr; } in isObservingChanges()
H A DLegalizerHelper.h54 GISelChangeObserver &Observer; variable
81 LegalizerHelper(MachineFunction &MF, GISelChangeObserver &Observer,
84 GISelChangeObserver &Observer, MachineIRBuilder &B,
H A DGISelChangeObserver.h124 RAIIMFObserverInstaller(MachineFunction &MF, GISelChangeObserver &Observer);
/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/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;
166 LiveVariables::Observer *Observer, in TransferFunctions() argument
168 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {} in TransferFunctions()
481 LiveVariables::Observer *obs) { in runOnBlock()
510 void LiveVariables::runOnAllBlocks(LiveVariables::Observer &obs) { in runOnAllBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.h42 GISelChangeObserver &Observer) const;
H A DRISCVLegalizerInfo.cpp513 GISelChangeObserver &Observer) const { in legalizeShlAshrLshr()
529 Observer.changingInstr(MI); in legalizeShlAshrLshr()
531 Observer.changedInstr(MI); in legalizeShlAshrLshr()
770 GISelChangeObserver &Observer = Helper.Observer; in legalizeCustom() local
792 return legalizeShlAshrLshr(MI, MIRBuilder, Observer); in legalizeCustom()
H A DRISCVPostLegalizerCombiner.cpp83 Helper(Observer, B, /*IsPreLegalize*/ false, &KB, MDT, LI), in RISCVPostLegalizerCombinerImpl()
H A DRISCVPreLegalizerCombiner.cpp78 Helper(Observer, B, /*IsPreLegalize*/ true, &KB, MDT, LI), in RISCVPreLegalizerCombinerImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPreLegalizerCombiner.cpp51 Helper(Observer, B, /*IsPreLegalize*/ true, &KB, MDT, LI) {} in MipsPreLegalizerCombinerImpl()
H A DMipsPostLegalizerCombiner.cpp78 Helper(Observer, B, /*IsPreLegalize*/ false, &KB, MDT, LI), in MipsPostLegalizerCombinerImpl()

12