Hardware identification fields matching the RISC-V mvendorid/marchid/mimpid CSRs.
Declared in <llvm/TargetParser/RISCVTargetParser.h>
struct CPUModel;
| Name | Description |
|---|---|
isValid | Return true if all three ID fields are non-zero. |
operator== | Return true if this model has the same IDs as Other. |
| Name | Description |
|---|---|
MArchID | Architecture ID from the marchid CSR. |
MImpID | Implementation ID from the mimpid CSR. |
MVendorID | Vendor ID from the mvendorid CSR. |
| Name | Description |
|---|---|
getCPUModel | Return the hardware model IDs for CPU CPU. |
getCPUNameFromCPUModel | Return the CPU name that matches hardware model Model. |