clang  3.7.0
Functions
clang::driver::tools::arm Namespace Reference

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)
 
const char * getARMCPUForMArch (StringRef Arch, const llvm::Triple &Triple)
 Get the (LLVM) name of the minimum ARM CPU for the arch we are targeting. More...
 
const char * getLLVMArchSuffixForARM (StringRef CPU, StringRef Arch)
 
void appendEBLinkFlags (const llvm::opt::ArgList &Args, ArgStringList &CmdArgs, const llvm::Triple &Triple)
 
StringRef getARMFloatABI (const Driver &D, const llvm::opt::ArgList &Args, const llvm::Triple &Triple)
 

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 
)
const char * 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 5908 of file Tools.cpp.

References getARMArch().

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

StringRef clang::driver::tools::arm::getARMFloatABI ( const Driver &  D,
const llvm::opt::ArgList &  Args,
const llvm::Triple &  Triple 
)
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 5925 of file Tools.cpp.

References getARMCPUForMArch().

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

const char * clang::driver::tools::arm::getLLVMArchSuffixForARM ( StringRef  CPU,
StringRef  Arch 
)

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

Definition at line 5944 of file Tools.cpp.

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