Lines Matching defs:CPU
46 BPFSubtarget &BPFSubtarget::initializeSubtargetDependencies(StringRef CPU,
49 initSubtargetFeatures(CPU, FS);
50 ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS);
67 void BPFSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
68 if (CPU.empty())
69 CPU = "v3";
70 if (CPU == "probe")
71 CPU = sys::detail::getHostCPUNameForBPF();
72 if (CPU == "generic" || CPU == "v1")
74 if (CPU == "v2") {
78 if (CPU == "v3") {
84 if (CPU == "v4") {
98 BPFSubtarget::BPFSubtarget(const Triple &TT, const std::string &CPU,
100 : BPFGenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS),
101 FrameLowering(initializeSubtargetDependencies(CPU, FS)),