File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -643,6 +643,8 @@ class Instruction : public InstructionBase {
643643 // True if this instruction has been optimized at register renaming stage.
644644 bool IsEliminated;
645645
646+ std::optional<uint64_t > Identifier;
647+
646648public:
647649 Instruction (const InstrDesc &D, const unsigned Opcode)
648650 : InstructionBase(D, Opcode), Stage(IS_INVALID),
@@ -690,6 +692,9 @@ class Instruction : public InstructionBase {
690692 bool isRetired () const { return Stage == IS_RETIRED; }
691693 bool isEliminated () const { return IsEliminated; }
692694
695+ std::optional<uint64_t > getIdentifier () const { return Identifier; }
696+ void setIdentifier (uint64_t Id) { Identifier = Id; }
697+
693698 // Forces a transition from state IS_DISPATCHED to state IS_EXECUTED.
694699 void forceExecuted ();
695700 void setEliminated () { IsEliminated = true ; }
You can’t perform that action at this time.
0 commit comments