diff options
Diffstat (limited to 'tools/llvm-mca/Instruction.h')
-rw-r--r-- | tools/llvm-mca/Instruction.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/llvm-mca/Instruction.h b/tools/llvm-mca/Instruction.h index 59134bc33de..21fec94eeb5 100644 --- a/tools/llvm-mca/Instruction.h +++ b/tools/llvm-mca/Instruction.h @@ -30,7 +30,7 @@ class ReadState; constexpr int UNKNOWN_CYCLES = -512; -/// \brief A register write descriptor. +/// A register write descriptor. struct WriteDescriptor { // Operand index. -1 if this is an implicit write. int OpIndex; @@ -59,7 +59,7 @@ struct WriteDescriptor { bool IsOptionalDef; }; -/// \brief A register read descriptor. +/// A register read descriptor. struct ReadDescriptor { // A MCOperand index. This is used by the Dispatch logic to identify register // reads. This field defaults to -1 if this is an implicit read. @@ -79,7 +79,7 @@ struct ReadDescriptor { bool HasReadAdvanceEntries; }; -/// \brief Tracks uses of a register definition (e.g. register write). +/// Tracks uses of a register definition (e.g. register write). /// /// Each implicit/explicit register write is associated with an instance of /// this class. A WriteState object tracks the dependent users of a @@ -128,7 +128,7 @@ public: #endif }; -/// \brief Tracks register operand latency in cycles. +/// Tracks register operand latency in cycles. /// /// A read may be dependent on more than one write. This occurs when some /// writes only partially update the register associated to this read. @@ -160,7 +160,7 @@ public: void setDependentWrites(unsigned Writes) { DependentWrites = Writes; } }; -/// \brief A sequence of cycles. +/// A sequence of cycles. /// /// This class can be used as a building block to construct ranges of cycles. class CycleSegment { @@ -205,7 +205,7 @@ public: void setReserved() { Reserved = true; } }; -/// \brief Helper used by class InstrDesc to describe how hardware resources +/// Helper used by class InstrDesc to describe how hardware resources /// are used. /// /// This class describes how many resource units of a specific resource kind @@ -220,7 +220,7 @@ struct ResourceUsage { void setReserved() { CS.setReserved(); } }; -/// \brief An instruction descriptor +/// An instruction descriptor struct InstrDesc { std::vector<WriteDescriptor> Writes; // Implicit writes are at the end. std::vector<ReadDescriptor> Reads; // Implicit reads are at the end. |