#include "llvm/TargetParser/PPCTargetParser.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/TargetParser/Host.h"
namespace llvm {
namespace PPC {
struct CPUInfo { … };
constexpr CPUInfo PPCCPUInfo[] = …;
static const CPUInfo *getCPUInfoByName(StringRef CPU) { … }
StringRef normalizeCPUName(StringRef CPUName) { … }
void fillValidCPUList(SmallVectorImpl<StringRef> &Values) { … }
void fillValidTuneCPUList(SmallVectorImpl<StringRef> &Values) { … }
bool isValidCPU(StringRef CPU) { … }
StringRef getNormalizedPPCTargetCPU(const Triple &T, StringRef CPUName) { … }
StringRef getNormalizedPPCTuneCPU(const Triple &T, StringRef CPUName) { … }
}
}