#include "Mips.h"
#include "ToolChains/CommonArgs.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Options.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Option/ArgList.h"
usingnamespaceclang::driver;
usingnamespaceclang::driver::tools;
usingnamespaceclang;
usingnamespacellvm::opt;
void mips::getMipsCPUAndABI(const ArgList &Args, const llvm::Triple &Triple,
StringRef &CPUName, StringRef &ABIName) { … }
std::string mips::getMipsABILibSuffix(const ArgList &Args,
const llvm::Triple &Triple) { … }
StringRef mips::getGnuCompatibleMipsABIName(StringRef ABI) { … }
mips::FloatABI mips::getMipsFloatABI(const Driver &D, const ArgList &Args,
const llvm::Triple &Triple) { … }
void mips::getMIPSTargetFeatures(const Driver &D, const llvm::Triple &Triple,
const ArgList &Args,
std::vector<StringRef> &Features) { … }
mips::IEEE754Standard mips::getIEEE754Standard(StringRef &CPU) { … }
bool mips::hasCompactBranches(StringRef &CPU) { … }
bool mips::hasMipsAbiArg(const ArgList &Args, const char *Value) { … }
bool mips::isUCLibc(const ArgList &Args) { … }
bool mips::isNaN2008(const Driver &D, const ArgList &Args,
const llvm::Triple &Triple) { … }
bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) { … }
bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
StringRef ABIName, mips::FloatABI FloatABI) { … }
bool mips::shouldUseFPXX(const ArgList &Args, const llvm::Triple &Triple,
StringRef CPUName, StringRef ABIName,
mips::FloatABI FloatABI) { … }
bool mips::supportsIndirectJumpHazardBarrier(StringRef &CPU) { … }