clang 20.0.0git
Enumerations | Functions
clang::driver::tools::mips Namespace Reference

Enumerations

enum  IEEE754Standard { Legacy = 1 , Std2008 = 2 }
 
enum class  FloatABI { Invalid , Soft , 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, const llvm::Triple &Triple)
 
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 Driver &D, 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)
 
bool supportsIndirectJumpHazardBarrier (StringRef &CPU)
 

Enumeration Type Documentation

◆ FloatABI

Enumerator
Invalid 
Soft 
Hard 

Definition at line 26 of file Mips.h.

◆ IEEE754Standard

Enumerator
Legacy 
Std2008 

Definition at line 24 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 412 of file Mips.cpp.

References Legacy, and Std2008.

◆ 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,
const llvm::Triple &  Triple 
)

◆ 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 436 of file Mips.cpp.

◆ 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 468 of file Mips.cpp.

◆ isFPXXDefault()

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

Definition at line 478 of file Mips.cpp.

◆ isNaN2008()

bool clang::driver::tools::mips::isNaN2008 ( const Driver D,
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 
)

◆ supportsIndirectJumpHazardBarrier()

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

Definition at line 516 of file Mips.cpp.