Home | History | Annotate | Download | only in Driver

Lines Matching defs:CPU

433 /// getARMTargetCPU - Get the (LLVM) name of the ARM cpu we are targeting.
446 // Otherwise, if we have -march= choose the base CPU for that arch.
472 // If all else failed, return the most base CPU LLVM supports.
477 /// CPU.
481 static const char *getLLVMArchSuffixForARM(StringRef CPU) {
482 return llvm::StringSwitch<const char *>(CPU)
544 // Set the CPU based on -march= and -mcpu=.
545 CmdArgs.push_back("-target-cpu");
713 "Unexpected cpu name.");
718 // Get default target cpu.
747 // Set target cpu and architecture.
757 CmdArgs.push_back("-target-cpu");
804 CmdArgs.push_back("-target-cpu");
864 std::string CPU = llvm::sys::getHostCPUName();
865 if (!CPU.empty())
866 CPUName = Args.MakeArgString(CPU);
871 // Select the default CPU if none was given (or detection failed).
908 CmdArgs.push_back("-target-cpu");
1390 // Add target specific cpu and features flags.