Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
DScheduler.h36 virtual bool compare(const InstRef &Lhs, const InstRef &Rhs) const = 0;
43 int computeRank(const InstRef &Lhs) const { in computeRank()
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,
144 void updateIssuedSet(SmallVectorImpl<InstRef> &Executed);
149 bool promoteToReadySet(SmallVectorImpl<InstRef> &Ready);
[all …]
DLSUnit.h49 InstRef CriticalMemoryInstruction;
75 const InstRef &getCriticalMemoryInstruction() const { in getCriticalMemoryInstruction()
115 void onGroupIssued(const InstRef &IR, bool ShouldUpdateCriticalDep) { in onGroupIssued()
135 void onInstructionIssued(const InstRef &IR) { in onInstructionIssued()
251 virtual Status isAvailable(const InstRef &IR) const = 0;
259 virtual unsigned dispatch(const InstRef &IR) = 0;
271 bool isReady(const InstRef &IR) const { in isReady()
279 bool isPending(const InstRef &IR) const { in isPending()
287 bool isWaiting(const InstRef &IR) const { in isWaiting()
293 bool hasDependentUsers(const InstRef &IR) const { in hasDependentUsers()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DScheduler.h36 virtual bool compare(const InstRef &Lhs, const InstRef &Rhs) const = 0;
43 int computeRank(const InstRef &Lhs) const { in computeRank()
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,
144 void updateIssuedSet(SmallVectorImpl<InstRef> &Executed);
149 bool promoteToReadySet(SmallVectorImpl<InstRef> &Ready);
[all …]
DLSUnit.h48 InstRef CriticalMemoryInstruction;
73 const InstRef &getCriticalMemoryInstruction() const { in getCriticalMemoryInstruction()
103 void onGroupIssued(const InstRef &IR) { in onGroupIssued()
120 void onInstructionIssued(const InstRef &IR) { in onInstructionIssued()
230 virtual Status isAvailable(const InstRef &IR) const = 0;
238 virtual unsigned dispatch(const InstRef &IR) = 0;
250 bool isReady(const InstRef &IR) const { in isReady()
258 bool isPending(const InstRef &IR) const { in isPending()
266 bool isWaiting(const InstRef &IR) const { in isWaiting()
272 bool hasDependentUsers(const InstRef &IR) const { in hasDependentUsers()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DScheduler.cpp40 Scheduler::Status Scheduler::isAvailable(const InstRef &IR) { in isAvailable()
71 InstRef &IR, in issueInstructionImpl()
100 InstRef &IR, in issueInstruction()
102 SmallVectorImpl<InstRef> &PendingInstructions, in issueInstruction()
103 SmallVectorImpl<InstRef> &ReadyInstructions) { in issueInstruction()
119 bool Scheduler::promoteToReadySet(SmallVectorImpl<InstRef> &Ready) { in promoteToReadySet()
124 InstRef &IR = *I; in promoteToReadySet()
155 bool Scheduler::promoteToPendingSet(SmallVectorImpl<InstRef> &Pending) { in promoteToPendingSet()
160 InstRef &IR = *I; in promoteToPendingSet()
192 InstRef Scheduler::select() { in select()
[all …]
DLSUnit.cpp69 unsigned LSUnit::dispatch(const InstRef &IR) { in dispatch()
153 LSUnit::Status LSUnit::isAvailable(const InstRef &IR) const { in isAvailable()
162 void LSUnitBase::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted()
171 void LSUnitBase::onInstructionRetired(const InstRef &IR) { in onInstructionRetired()
190 void LSUnit::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted()
/external/llvm-project/llvm/lib/MCA/HardwareUnits/
DScheduler.cpp40 Scheduler::Status Scheduler::isAvailable(const InstRef &IR) { in isAvailable()
71 InstRef &IR, in issueInstructionImpl()
100 InstRef &IR, in issueInstruction()
102 SmallVectorImpl<InstRef> &PendingInstructions, in issueInstruction()
103 SmallVectorImpl<InstRef> &ReadyInstructions) { in issueInstruction()
119 bool Scheduler::promoteToReadySet(SmallVectorImpl<InstRef> &Ready) { in promoteToReadySet()
124 InstRef &IR = *I; in promoteToReadySet()
155 bool Scheduler::promoteToPendingSet(SmallVectorImpl<InstRef> &Pending) { in promoteToPendingSet()
160 InstRef &IR = *I; in promoteToPendingSet()
192 InstRef Scheduler::select() { in select()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DExecuteStage.cpp43 bool ExecuteStage::isAvailable(const InstRef &IR) const { in isAvailable()
53 Error ExecuteStage::issueInstruction(InstRef &IR) { in issueInstruction()
55 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()
95 SmallVector<InstRef, 4> Executed; in cycleStart()
96 SmallVector<InstRef, 4> Pending; in cycleStart()
97 SmallVector<InstRef, 4> Ready; in cycleStart()
[all …]
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()
154 CarriedOver = InstRef(); in cycleStart()
158 bool DispatchStage::isAvailable(const InstRef &IR) const { in isAvailable()
175 Error DispatchStage::execute(InstRef &IR) { in execute()
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
/external/llvm-project/llvm/lib/MCA/Stages/
DExecuteStage.cpp43 bool ExecuteStage::isAvailable(const InstRef &IR) const { in isAvailable()
53 Error ExecuteStage::issueInstruction(InstRef &IR) { in issueInstruction()
55 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()
95 SmallVector<InstRef, 4> Executed; in cycleStart()
96 SmallVector<InstRef, 4> Pending; in cycleStart()
97 SmallVector<InstRef, 4> Ready; in cycleStart()
[all …]
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()
154 CarriedOver = InstRef(); in cycleStart()
158 bool DispatchStage::isAvailable(const InstRef &IR) const { in isAvailable()
175 Error DispatchStage::execute(InstRef &IR) { in execute()
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
/external/llvm-project/llvm/include/llvm/MCA/Stages/
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;
76 const InstRef &IR,
78 void notifyInstructionExecuted(const InstRef &IR) const;
79 void notifyInstructionPending(const InstRef &IR) const;
80 void notifyInstructionReady(const InstRef &IR) const;
84 void notifyReservedOrReleasedBuffers(const InstRef &IR, bool Reserved) const;
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;
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()
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;
DEntryStage.h27 InstRef CurrentInstruction;
41 bool isAvailable(const InstRef &IR) const override;
43 Error execute(InstRef &IR) override;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/Stages/
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;
76 const InstRef &IR,
78 void notifyInstructionExecuted(const InstRef &IR) const;
79 void notifyInstructionPending(const InstRef &IR) const;
80 void notifyInstructionReady(const InstRef &IR) const;
84 void notifyReservedOrReleasedBuffers(const InstRef &IR, bool Reserved) const;
DDispatchStage.h54 InstRef CarriedOver;
59 bool checkRCU(const InstRef &IR) const;
60 bool checkPRF(const InstRef &IR) const;
61 bool canDispatch(const InstRef &IR) const;
62 Error dispatch(InstRef IR);
64 void notifyInstructionDispatched(const InstRef &IR,
73 bool isAvailable(const InstRef &IR) const override;
79 Error execute(InstRef &IR) override;
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()
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;
DEntryStage.h27 InstRef CurrentInstruction;
41 bool isAvailable(const InstRef &IR) const override;
43 Error execute(InstRef &IR) override;
/external/llvm-project/llvm/include/llvm/MCA/
DHWEventListener.h52 HWInstructionEvent(unsigned type, const InstRef &Inst) in HWInstructionEvent()
59 const InstRef &IR;
65 HWInstructionIssuedEvent(const InstRef &IR, in HWInstructionIssuedEvent()
74 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent()
95 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent()
120 HWStallEvent(unsigned type, const InstRef &Inst) : Type(type), IR(Inst) {} in HWStallEvent()
126 const InstRef &IR;
144 HWPressureEvent(GenericReason reason, ArrayRef<InstRef> Insts,
152 ArrayRef<InstRef> AffectedInstructions;
173 virtual void onReservedBuffers(const InstRef &Inst, in onReservedBuffers()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DHWEventListener.h52 HWInstructionEvent(unsigned type, const InstRef &Inst) in HWInstructionEvent()
59 const InstRef &IR;
65 HWInstructionIssuedEvent(const InstRef &IR, in HWInstructionIssuedEvent()
74 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent()
95 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent()
120 HWStallEvent(unsigned type, const InstRef &Inst) : Type(type), IR(Inst) {} in HWStallEvent()
126 const InstRef &IR;
144 HWPressureEvent(GenericReason reason, ArrayRef<InstRef> Insts,
152 ArrayRef<InstRef> AffectedInstructions;
173 virtual void onReservedBuffers(const InstRef &Inst, in onReservedBuffers()
[all …]

123