Lines Matching defs:CPU
46 static const CPUInfo *getCPUInfoByName(StringRef CPU) {
48 if (C.Name == CPU)
53 bool hasFastScalarUnalignedAccess(StringRef CPU) {
54 const CPUInfo *Info = getCPUInfoByName(CPU);
58 bool hasFastVectorUnalignedAccess(StringRef CPU) {
59 const CPUInfo *Info = getCPUInfoByName(CPU);
63 bool parseCPU(StringRef CPU, bool IsRV64) {
64 const CPUInfo *Info = getCPUInfoByName(CPU);
81 // Fallback to parsing as a CPU.
85 StringRef getMArchFromMcpu(StringRef CPU) {
86 const CPUInfo *Info = getCPUInfoByName(CPU);
109 void getFeaturesForCPU(StringRef CPU,
112 StringRef MarchFromCPU = llvm::RISCV::getMArchFromMcpu(CPU);