Home
last modified time | relevance | path

Searched refs:InstRef (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DScheduler.h36 virtual bool compare(const InstRef &Lhs, const InstRef &Rhs) const = 0;
51 bool compare(const InstRef &Lhs, const InstRef &Rhs) const override { in compare()
111 std::vector<InstRef> WaitSet;
112 std::vector<InstRef> PendingSet;
113 std::vector<InstRef> ReadySet;
114 std::vector<InstRef> IssuedSet;
138 InstRef &IR,
198 bool dispatch(InstRef &IR);
204 InstRef &IR,
207 SmallVectorImpl<InstRef> &Ready);
[all …]
H A DLSUnit.h49 InstRef CriticalMemoryInstruction;
75 const InstRef &getCriticalMemoryInstruction() const { in getCriticalMemoryInstruction()
135 void onInstructionIssued(const InstRef &IR) { in onInstructionIssued()
163 void onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted()
264 virtual unsigned dispatch(const InstRef &IR) = 0;
276 bool isReady(const InstRef &IR) const { in isReady()
284 bool isPending(const InstRef &IR) const { in isPending()
292 bool isWaiting(const InstRef &IR) const { in isWaiting()
298 bool hasDependentUsers(const InstRef &IR) const { in hasDependentUsers()
326 virtual void onInstructionRetired(const InstRef &IR);
[all …]
H A DRetireControlUnit.h52 InstRef IR;
91 unsigned dispatch(const InstRef &IS);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DInOrderIssueStage.h35 InstRef IR;
44 InstRef &getInstruction() { return IR; } in getInstruction()
59 SmallVector<InstRef, 4> IssuedInst;
67 InstRef CarriedOver;
85 bool canExecute(const InstRef &IR);
88 Error tryIssue(InstRef &IR);
100 void notifyInstructionIssued(const InstRef &IR,
105 void notifyInstructionRetired(const InstRef &IR,
109 void retireInstruction(InstRef &IR);
116 bool isAvailable(const InstRef &) const override;
[all …]
H A DExecuteStage.h37 Error issueInstruction(InstRef &IR);
44 Error handleInstructionEliminated(InstRef &IR);
62 bool isAvailable(const InstRef &IR) const override;
73 Error execute(InstRef &IR) override;
75 void notifyInstructionIssued(const InstRef &IR,
77 void notifyInstructionExecuted(const InstRef &IR) const;
78 void notifyInstructionPending(const InstRef &IR) const;
79 void notifyInstructionReady(const InstRef &IR) const;
83 void notifyReservedOrReleasedBuffers(const InstRef &IR, bool Reserved) const;
H A DDispatchStage.h53 InstRef CarriedOver;
58 bool checkRCU(const InstRef &IR) const;
59 bool checkPRF(const InstRef &IR) const;
60 bool canDispatch(const InstRef &IR) const;
61 Error dispatch(InstRef IR);
63 void notifyInstructionDispatched(const InstRef &IR,
72 bool isAvailable(const InstRef &IR) const override;
78 Error execute(InstRef &IR) override;
H A DStage.h25 class InstRef; variable
42 virtual bool isAvailable(const InstRef &IR) const { return true; } in isAvailable()
55 virtual Error execute(InstRef &IR) = 0;
62 bool checkNextStage(const InstRef &IR) const { in checkNextStage()
70 Error moveToTheNextStage(InstRef &IR) { in moveToTheNextStage()
H A DMicroOpQueueStage.h27 SmallVector<InstRef, 8> Buffer;
54 unsigned getNormalizedOpcodes(const InstRef &IR) const { in getNormalizedOpcodes()
67 bool isAvailable(const InstRef &IR) const override { in isAvailable()
80 Error execute(InstRef &IR) override;
H A DEntryStage.h27 InstRef CurrentInstruction;
41 bool isAvailable(const InstRef &IR) const override;
43 Error execute(InstRef &IR) override;
H A DRetireStage.h44 Error execute(InstRef &IR) override;
45 void notifyInstructionRetired(const InstRef &IR) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DScheduler.cpp71 InstRef &IR, in issueInstructionImpl()
100 InstRef &IR, in issueInstruction()
124 InstRef &IR = *I; in promoteToReadySet()
160 InstRef &IR = *I; in promoteToPendingSet()
192 InstRef Scheduler::select() { in select()
195 InstRef &IR = ReadySet[I]; in select()
209 return InstRef(); in select()
221 InstRef &IR = *I; in updateIssuedSet()
273 for (InstRef &IR : IssuedSet) in cycleEvent()
277 for (InstRef &IR : PendingSet) in cycleEvent()
[all …]
H A DLSUnit.cpp69 unsigned LSUnit::dispatch(const InstRef &IR) { in dispatch()
195 LSUnit::Status LSUnit::isAvailable(const InstRef &IR) const { in isAvailable()
204 void LSUnitBase::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted()
213 void LSUnitBase::onInstructionRetired(const InstRef &IR) { in onInstructionRetired()
232 void LSUnit::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DExecuteStage.cpp55 SmallVector<InstRef, 4> Pending; in issueInstruction()
56 SmallVector<InstRef, 4> Ready; in issueInstruction()
72 for (const InstRef &I : Pending) in issueInstruction()
75 for (const InstRef &I : Ready) in issueInstruction()
81 InstRef IR = HWS.select(); in issueReadyInstructions()
96 SmallVector<InstRef, 4> Pending; in cycleStart()
97 SmallVector<InstRef, 4> Ready; in cycleStart()
106 for (InstRef &IR : Executed) { in cycleStart()
116 for (const InstRef &IR : Ready) in cycleStart()
131 SmallVector<InstRef, 8> Insts; in cycleEnd()
[all …]
H A DInOrderIssueStage.cpp58 bool InOrderIssueStage::isAvailable(const InstRef &IR) const { in isAvailable()
87 static unsigned findFirstWriteBackCycle(const InstRef &IR) { in findFirstWriteBackCycle()
104 const InstRef &IR) { in checkRegisterHazard()
114 bool InOrderIssueStage::canExecute(const InstRef &IR) { in canExecute()
190 llvm::Error InOrderIssueStage::execute(InstRef &IR) { in execute()
200 llvm::Error InOrderIssueStage::tryIssue(InstRef &IR) { in tryIssue()
270 InstRef &IR = *I; in updateIssuedInst()
315 CarriedOver = InstRef(); in updateCarriedOver()
319 void InOrderIssueStage::retireInstruction(InstRef &IR) { in retireInstruction()
334 const InstRef &IR = SI.getInstruction(); in notifyStallEvent()
[all …]
H A DDispatchStage.cpp38 void DispatchStage::notifyInstructionDispatched(const InstRef &IR, in notifyInstructionDispatched()
46 bool DispatchStage::checkPRF(const InstRef &IR) const { in checkPRF()
62 bool DispatchStage::checkRCU(const InstRef &IR) const { in checkRCU()
71 bool DispatchStage::canDispatch(const InstRef &IR) const { in canDispatch()
78 Error DispatchStage::dispatch(InstRef IR) { in dispatch()
151 CarriedOver = InstRef(); in cycleStart()
155 bool DispatchStage::isAvailable(const InstRef &IR) const { in isAvailable()
176 Error DispatchStage::execute(InstRef &IR) { in execute()
H A DEntryStage.cpp25 bool EntryStage::isAvailable(const InstRef & /* unused */) const { in isAvailable()
37 CurrentInstruction = InstRef(SR.first, Inst.get()); in getNextInstruction()
42 llvm::Error EntryStage::execute(InstRef & /*unused */) { in execute() argument
H A DMicroOpQueueStage.cpp22 InstRef IR = Buffer[CurrentInstructionSlotIdx]; in moveInstructions()
46 Error MicroOpQueueStage::execute(InstRef &IR) { in execute()
H A DRetireStage.cpp49 llvm::Error RetireStage::execute(InstRef &IR) { in execute()
60 void RetireStage::notifyInstructionRetired(const InstRef &IR) const { in notifyInstructionRetired()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/
H A DHWEventListener.h52 HWInstructionEvent(unsigned type, const InstRef &Inst) in HWInstructionEvent()
59 const InstRef &IR;
67 HWInstructionIssuedEvent(const InstRef &IR, ArrayRef<ResourceUse> UR) in HWInstructionIssuedEvent()
75 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent()
96 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent()
122 HWStallEvent(unsigned type, const InstRef &Inst) : Type(type), IR(Inst) {} in HWStallEvent()
128 const InstRef &IR;
146 HWPressureEvent(GenericReason reason, ArrayRef<InstRef> Insts,
154 ArrayRef<InstRef> AffectedInstructions;
174 virtual void onReservedBuffers(const InstRef &Inst, in onReservedBuffers()
[all …]
H A DInstruction.h686 class InstRef {
690 InstRef() : Data(std::make_pair(0, nullptr)) {} in InstRef() function
691 InstRef(unsigned Index, Instruction *I) : Data(std::make_pair(Index, I)) {} in InstRef() function
693 bool operator==(const InstRef &Other) const { return Data == Other.Data; }
694 bool operator!=(const InstRef &Other) const { return Data != Other.Data; }
695 bool operator<(const InstRef &Other) const {
715 inline raw_ostream &operator<<(raw_ostream &OS, const InstRef &IR) {
H A DCustomBehaviour.h79 virtual unsigned checkCustomHazard(ArrayRef<InstRef> IssuedInst,
80 const InstRef &IR);
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/
H A DCustomBehaviour.cpp21 unsigned CustomBehaviour::checkCustomHazard(ArrayRef<InstRef> IssuedInst, in checkCustomHazard()
22 const InstRef &IR) { in checkCustomHazard()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/lib/AMDGPU/
H A DAMDGPUCustomBehaviour.cpp27 unsigned AMDGPUCustomBehaviour::checkCustomHazard(ArrayRef<InstRef> IssuedInst, in checkCustomHazard()
28 const InstRef &IR) { in checkCustomHazard()
H A DAMDGPUCustomBehaviour.h50 unsigned checkCustomHazard(ArrayRef<InstRef> IssuedInst,
51 const InstRef &IR) override;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSchedulerStatistics.h82 void onReservedBuffers(const InstRef &IR,
87 void onReleasedBuffers(const InstRef &IR,

12