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

Enumerations

enum  FloatABI { FloatABI::Invalid, FloatABI::Soft, FloatABI::SoftFP, FloatABI::Hard }
 

Functions

std::string getARMTargetCPU (StringRef CPU, StringRef Arch, const llvm::Triple &Triple)
 getARMTargetCPU - Get the (LLVM) name of the ARM cpu we are targeting. More...
 
const std::string getARMArch (StringRef Arch, const llvm::Triple &Triple)
 
StringRef getARMCPUForMArch (StringRef Arch, const llvm::Triple &Triple)
 Get the (LLVM) name of the minimum ARM CPU for the arch we are targeting. More...
 
StringRef getLLVMArchSuffixForARM (StringRef CPU, StringRef Arch, const llvm::Triple &Triple)
 getLLVMArchSuffixForARM - Get the LLVM arch name to use for a particular CPU (or Arch, if CPU is generic). More...
 
void appendEBLinkFlags (const llvm::opt::ArgList &Args, ArgStringList &CmdArgs, const llvm::Triple &Triple)
 
FloatABI getARMFloatABI (const ToolChain &TC, const llvm::opt::ArgList &Args)
 

Enumeration Type Documentation

Enumerator
Invalid 
Soft 
SoftFP 
Hard 

Definition at line 760 of file Tools.h.

Function Documentation

void clang::driver::tools::arm::appendEBLinkFlags ( const llvm::opt::ArgList &  Args,
ArgStringList &  CmdArgs,
const llvm::Triple &  Triple 
)
const std::string clang::driver::tools::arm::getARMArch ( StringRef  Arch,
const llvm::Triple &  Triple 
)

Definition at line 7169 of file Tools.cpp.

References getLLVMArchSuffixForARM().

Referenced by checkARMArchName(), getARMCPUForMArch(), and getLLVMArchSuffixForARM().

StringRef clang::driver::tools::arm::getARMCPUForMArch ( StringRef  Arch,
const llvm::Triple &  Triple 
)

Get the (LLVM) name of the minimum ARM CPU for the arch we are targeting.

Definition at line 7196 of file Tools.cpp.

References getARMArch().

Referenced by clang::driver::ToolChain::ComputeLLVMTriple(), and getARMTargetCPU().

FloatABI clang::driver::tools::arm::getARMFloatABI ( const ToolChain &  TC,
const llvm::opt::ArgList &  Args 
)
std::string clang::driver::tools::arm::getARMTargetCPU ( StringRef  CPU,
StringRef  Arch,
const llvm::Triple &  Triple 
)

getARMTargetCPU - Get the (LLVM) name of the ARM cpu we are targeting.

Definition at line 7209 of file Tools.cpp.

References getARMCPUForMArch().

Referenced by checkARMCPUName(), clang::driver::ToolChain::ComputeLLVMTriple(), clang::driver::tools::netbsd::Assembler::ConstructJob(), and getCPUName().

StringRef clang::driver::tools::arm::getLLVMArchSuffixForARM ( StringRef  CPU,
StringRef  Arch,
const llvm::Triple &  Triple 
)

getLLVMArchSuffixForARM - Get the LLVM arch name to use for a particular CPU (or Arch, if CPU is generic).

Definition at line 7228 of file Tools.cpp.

References getARMArch().

Referenced by checkARMCPUName(), clang::driver::ToolChain::ComputeLLVMTriple(), and getARMArch().