Lines Matching defs:Event
67 const HWInstructionIssuedEvent &Event) {
68 unsigned IID = Event.IR.getSourceIndex();
69 for (const ResourceUse &Use : Event.UsedResources) {
104 void PressureTracker::handlePressureEvent(const HWPressureEvent &Event) {
105 assert(Event.Reason != HWPressureEvent::INVALID &&
108 switch (Event.Reason) {
113 const uint64_t ResourceMask = Event.ResourceMask;
114 updateResourcePressureDistribution(Event.ResourceMask);
116 for (const InstRef &IR : Event.AffectedInstructions) {
129 for (const InstRef &IR : Event.AffectedInstructions) {
136 for (const InstRef &IR : Event.AffectedInstructions) {
489 void BottleneckAnalysis::onEvent(const HWInstructionEvent &Event) {
490 const unsigned IID = Event.IR.getSourceIndex();
491 if (Event.Type == HWInstructionEvent::Dispatched) {
495 if (Event.Type == HWInstructionEvent::Executed) {
500 if (Event.Type != HWInstructionEvent::Issued)
504 const Instruction &IS = *Event.IR.getInstruction();
534 static_cast<const HWInstructionIssuedEvent &>(Event));
541 void BottleneckAnalysis::onEvent(const HWPressureEvent &Event) {
542 assert(Event.Reason != HWPressureEvent::INVALID &&
545 Tracker.handlePressureEvent(Event);
547 switch (Event.Reason) {