Lines Matching refs:CPU
43 static const CPUInfo *getCPUInfoByName(StringRef CPU) { in getCPUInfoByName() argument
45 if (C.Name == CPU) in getCPUInfoByName()
50 bool hasFastScalarUnalignedAccess(StringRef CPU) { in hasFastScalarUnalignedAccess() argument
51 const CPUInfo *Info = getCPUInfoByName(CPU); in hasFastScalarUnalignedAccess()
55 bool hasFastVectorUnalignedAccess(StringRef CPU) { in hasFastVectorUnalignedAccess() argument
56 const CPUInfo *Info = getCPUInfoByName(CPU); in hasFastVectorUnalignedAccess()
60 bool hasValidCPUModel(StringRef CPU) { return getCPUModel(CPU).isValid(); } in hasValidCPUModel() argument
62 CPUModel getCPUModel(StringRef CPU) { in getCPUModel() argument
63 const CPUInfo *Info = getCPUInfoByName(CPU); in getCPUModel()
79 bool parseCPU(StringRef CPU, bool IsRV64) { in parseCPU() argument
80 const CPUInfo *Info = getCPUInfoByName(CPU); in parseCPU()
101 StringRef getMArchFromMcpu(StringRef CPU) { in getMArchFromMcpu() argument
102 const CPUInfo *Info = getCPUInfoByName(CPU); in getMArchFromMcpu()
125 void getFeaturesForCPU(StringRef CPU, in getFeaturesForCPU() argument
128 StringRef MarchFromCPU = llvm::RISCV::getMArchFromMcpu(CPU); in getFeaturesForCPU()