@@ -241,7 +241,7 @@ option specifies "``-``", then the output will also be sent to standard output.
241241.. option :: -disable-cb
242242
243243 Force usage of the generic CustomBehaviour and InstrPostProcess classes rather
244- than using the target specific implementation. The generic classes never
244+ than using the target- specific implementation. The generic classes never
245245 detect any custom hazards or make any post processing modifications to
246246 instructions.
247247
@@ -1125,9 +1125,9 @@ CustomBehaviour class can be used in these cases to enforce proper
11251125instruction modeling (often by customizing data dependencies and detecting
11261126hazards that :program: `llvm-mca ` has no way of knowing about).
11271127
1128- :program: `llvm-mca ` comes with one generic and multiple target specific
1128+ :program: `llvm-mca ` comes with one generic and multiple target- specific
11291129CustomBehaviour classes. The generic class will be used if the ``-disable-cb ``
1130- flag is used or if a target specific CustomBehaviour class doesn't exist for
1130+ flag is used or if a target- specific CustomBehaviour class doesn't exist for
11311131that target. (The generic class does nothing.) Currently, the CustomBehaviour
11321132class is only a part of the in-order pipeline, but there are plans to add it
11331133to the out-of-order pipeline in the future.
@@ -1141,7 +1141,7 @@ if you don't know the exact number and a value of 0 represents no stall).
11411141
11421142If you'd like to add a CustomBehaviour class for a target that doesn't
11431143already have one, refer to an existing implementation to see how to set it
1144- up. The classes are implemented within the target specific backend (for
1144+ up. The classes are implemented within the target- specific backend (for
11451145example `/llvm/lib/Target/AMDGPU/MCA/ `) so that they can access backend symbols.
11461146
11471147Instrument Manager
@@ -1177,12 +1177,12 @@ classes (MCSubtargetInfo, MCInstrInfo, etc.), please add it to the
11771177AND requires unexposed backend symbols or functionality, you can define it in
11781178the `/lib/Target/<TargetName>/MCA/ ` directory.
11791179
1180- To enable this target specific View, you will have to use this target's
1180+ To enable this target- specific View, you will have to use this target's
11811181CustomBehaviour class to override the `CustomBehaviour::getViews() ` methods.
11821182There are 3 variations of these methods based on where you want your View to
11831183appear in the output: `getStartViews() `, `getPostInstrInfoViews() `, and
11841184`getEndViews() `. These methods returns a vector of Views so you will want to
1185- return a vector containing all of the target specific Views for the target in
1185+ return a vector containing all of the target- specific Views for the target in
11861186question.
11871187
11881188Because these target specific (and backend dependent) Views require the
0 commit comments