Generic base class for all target subtargets.
Synopsis
Declared in <llvm/MC/MCSubtargetInfo.h>
class MCSubtargetInfo;
Enums
Name |
Description |
Identify which kind of hardware‐mode ID to retrieve from a subtarget. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy the subtarget info. |
Assignment operators |
|
Apply a feature flag and return the re‐computed feature bits, including all feature bits implied by the flag. |
|
Clear feature bits and all other bits they imply. |
|
Set/clear additional feature bits, including all other bits they imply. |
|
|
|
Check whether the current subtarget satisfies a target feature expression. |
|
Check whether the subtarget features are enabled/disabled as per the provided string, ignoring all other features. |
|
|
Return true if prefetching should also be done for writes. |
Return processor descriptions. |
|
Return processor features. |
|
Return the CPU name being targeted. |
|
|
Return the cache associatvity for the given level of cache. Level is zero‐based, so a value of zero means the first level of cache. |
|
|
|
Return the cache size in bytes for the given level of cache. Level is zero‐based, so a value of zero means the first level of cache. |
Return the list of processor features currently enabled. |
|
Return the feature bitset for the current CPU and feature string. |
|
Return the feature string used to configure this subtarget. |
|
|
Return the HwMode ID for the requested |
|
Return a bit set containing all HwMode IDs of the current subtarget. |
Get scheduling itinerary of a CPU. |
|
|
Return the maximum prefetch distance in terms of loop iterations. |
|
Return the minimum stride necessary to trigger software prefetching. |
|
Return the preferred prefetch distance in terms of instructions. |
Return the read‐advance cycle count for a use of |
|
Return the set of ReadAdvance entries declared by the scheduling class descriptor in input. |
|
Get the machine model for this subtarget's CPU. |
|
Get the machine model of a CPU. |
|
Return the target triple for this subtarget. |
|
Return the CPU name being tuned for. |
|
Return the write‐latency entry for definition |
|
Return an iterator at the first process resource consumed by the given scheduling class. |
|
Return an iterator one past the last process resource for |
|
Return true if feature |
|
Initialize an InstrItineraryData instance. |
|
Check whether the CPU string is valid. |
|
Look up the processor entry for a CPU name, resolving aliases. Returns nullptr if the name matches neither a processor nor an alias. |
|
|
Resolve a variant scheduling class for the given MCInst and CPU. |
Set the features to the default for the given CPU and TuneCPU, with ano appended feature string. |
|
Replace the current feature bitset. |
|
|
Return true if the target wants to issue a prefetch in address space |
Protected Member Functions
Name |
Description |
Initialize the scheduling model and feature bits. |
Non-Member Functions
Name |
Description |
Create a default CustomBehaviour for llvm‐mca. |
|
Create a default InstrPostProcess for llvm‐mca. |
|
Create a default InstrumentManager for llvm‐mca. |
Derived Classes
Name |
Description |
Generic base class for all target‐specific subtarget information. |
Created with MrDocs