Lines Matching defs:CPU
43 static const CPUInfo *getCPUInfoByName(StringRef CPU) {
45 if (C.Name == CPU)
50 bool hasFastScalarUnalignedAccess(StringRef CPU) {
51 const CPUInfo *Info = getCPUInfoByName(CPU);
55 bool hasFastVectorUnalignedAccess(StringRef CPU) {
56 const CPUInfo *Info = getCPUInfoByName(CPU);
60 bool hasValidCPUModel(StringRef CPU) {
61 const CPUModel Model = getCPUModel(CPU);
65 CPUModel getCPUModel(StringRef CPU) {
66 const CPUInfo *Info = getCPUInfoByName(CPU);
72 bool parseCPU(StringRef CPU, bool IsRV64) {
73 const CPUInfo *Info = getCPUInfoByName(CPU);
90 // Fallback to parsing as a CPU.
94 StringRef getMArchFromMcpu(StringRef CPU) {
95 const CPUInfo *Info = getCPUInfoByName(CPU);
118 void getFeaturesForCPU(StringRef CPU,
121 StringRef MarchFromCPU = llvm::RISCV::getMArchFromMcpu(CPU);