clang  6.0.0svn
Enumerations | Functions
clang::driver::tools::mips Namespace Reference

Enumerations

enum  IEEE754Standard { Legacy = 1, Std2008 = 2 }
 
enum  FloatABI { FloatABI::Invalid, FloatABI::Soft, FloatABI::Hard }
 

Functions

IEEE754Standard getIEEE754Standard (StringRef &CPU)
 
bool hasCompactBranches (StringRef &CPU)
 
void getMipsCPUAndABI (const llvm::opt::ArgList &Args, const llvm::Triple &Triple, StringRef &CPUName, StringRef &ABIName)
 
void getMIPSTargetFeatures (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, std::vector< StringRef > &Features)
 
StringRef getGnuCompatibleMipsABIName (StringRef ABI)
 
mips::FloatABI getMipsFloatABI (const Driver &D, const llvm::opt::ArgList &Args)
 
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

◆ FloatABI

Enumerator
Invalid 
Soft 
Hard 

Definition at line 29 of file Mips.h.

◆ IEEE754Standard

Enumerator
Legacy 
Std2008 

Definition at line 27 of file Mips.h.

Function Documentation

◆ getGnuCompatibleMipsABIName()

StringRef clang::driver::tools::mips::getGnuCompatibleMipsABIName ( StringRef  ABI)

◆ getIEEE754Standard()

mips::IEEE754Standard clang::driver::tools::mips::getIEEE754Standard ( StringRef &  CPU)

Definition at line 348 of file Mips.cpp.

References Legacy, and Std2008.

Referenced by getGnuCompatibleMipsABIName().

◆ getMipsABILibSuffix()

std::string clang::driver::tools::mips::getMipsABILibSuffix ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple 
)

◆ getMipsCPUAndABI()

void clang::driver::tools::mips::getMipsCPUAndABI ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple,
StringRef &  CPUName,
StringRef &  ABIName 
)

◆ getMipsFloatABI()

mips::FloatABI clang::driver::tools::mips::getMipsFloatABI ( const Driver D,
const llvm::opt::ArgList &  Args 
)

◆ getMIPSTargetFeatures()

void clang::driver::tools::mips::getMIPSTargetFeatures ( const Driver D,
const llvm::Triple &  Triple,
const llvm::opt::ArgList &  Args,
std::vector< StringRef > &  Features 
)

◆ hasCompactBranches()

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

Definition at line 372 of file Mips.cpp.

References clang::driver::tools::getCPUName(), hasMipsAbiArg(), isNaN2008(), and isUCLibc().

Referenced by isNoCommonDefault().

◆ hasMipsAbiArg()

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

◆ isFP64ADefault()

bool clang::driver::tools::mips::isFP64ADefault ( const llvm::Triple &  Triple,
StringRef  CPUName 
)

Definition at line 405 of file Mips.cpp.

Referenced by getGnuCompatibleMipsABIName().

◆ isFPXXDefault()

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

Definition at line 415 of file Mips.cpp.

References shouldUseFPXX(), and Soft.

◆ isNaN2008()

bool clang::driver::tools::mips::isNaN2008 ( const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple 
)

◆ isUCLibc()

bool clang::driver::tools::mips::isUCLibc ( const llvm::opt::ArgList &  Args)

◆ shouldUseFPXX()

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