clang  3.9.0
Enumerations | Functions
clang::driver::tools::mips Namespace Reference

Enumerations

enum  NanEncoding { NanLegacy = 1, Nan2008 = 2 }
 
enum  FloatABI { FloatABI::Invalid, FloatABI::Soft, FloatABI::Hard }
 

Functions

NanEncoding getSupportedNanEncoding (StringRef &CPU)
 
bool hasCompactBranches (StringRef &CPU)
 
void getMipsCPUAndABI (const llvm::opt::ArgList &Args, const llvm::Triple &Triple, StringRef &CPUName, StringRef &ABIName)
 
std::string getMipsABILibSuffix (const llvm::opt::ArgList &Args, const llvm::Triple &Triple)
 
bool hasMipsAbiArg (const llvm::opt::ArgList &Args, const char *Value)
 
bool isUCLibc (const llvm::opt::ArgList &Args)
 
bool isNaN2008 (const llvm::opt::ArgList &Args, const llvm::Triple &Triple)
 
bool isFP64ADefault (const llvm::Triple &Triple, StringRef CPUName)
 
bool isFPXXDefault (const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI)
 
bool shouldUseFPXX (const llvm::opt::ArgList &Args, const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI)
 

Enumeration Type Documentation

Enumerator
Invalid 
Soft 
Hard 

Definition at line 286 of file Tools.h.

Enumerator
NanLegacy 
Nan2008 

Definition at line 284 of file Tools.h.

Function Documentation

std::string clang::driver::tools::mips::getMipsABILibSuffix ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple 
)
void clang::driver::tools::mips::getMipsCPUAndABI ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple,
StringRef &  CPUName,
StringRef &  ABIName 
)
mips::NanEncoding clang::driver::tools::mips::getSupportedNanEncoding ( StringRef &  CPU)

Definition at line 7261 of file Tools.cpp.

References Nan2008, and NanLegacy.

Referenced by getMIPSTargetFeatures().

bool clang::driver::tools::mips::hasCompactBranches ( StringRef &  CPU)

Definition at line 7284 of file Tools.cpp.

bool clang::driver::tools::mips::hasMipsAbiArg ( const llvm::opt::ArgList &  Args,
const char *  Value 
)
bool clang::driver::tools::mips::isFP64ADefault ( const llvm::Triple &  Triple,
StringRef  CPUName 
)

Definition at line 7317 of file Tools.cpp.

Referenced by getMIPSTargetFeatures().

bool clang::driver::tools::mips::isFPXXDefault ( const llvm::Triple &  Triple,
StringRef  CPUName,
StringRef  ABIName,
mips::FloatABI  FloatABI 
)

Definition at line 7327 of file Tools.cpp.

References Soft.

bool clang::driver::tools::mips::isNaN2008 ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple 
)
bool clang::driver::tools::mips::isUCLibc ( const llvm::opt::ArgList &  Args)
bool clang::driver::tools::mips::shouldUseFPXX ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple,
StringRef  CPUName,
StringRef  ABIName,
mips::FloatABI  FloatABI 
)