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

Enumerations

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

Functions

std::string getARMTargetCPU (StringRef CPU, llvm::StringRef Arch, const llvm::Triple &Triple)
 
const std::string getARMArch (llvm::StringRef Arch, const llvm::Triple &Triple)
 
StringRef getARMCPUForMArch (llvm::StringRef Arch, const llvm::Triple &Triple)
 
StringRef getLLVMArchSuffixForARM (llvm::StringRef CPU, llvm::StringRef Arch, const llvm::Triple &Triple)
 
void appendEBLinkFlags (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs, const llvm::Triple &Triple)
 
FloatABI getARMFloatABI (const ToolChain &TC, const llvm::opt::ArgList &Args)
 
ReadTPMode getReadTPMode (const ToolChain &TC, const llvm::opt::ArgList &Args)
 
bool useAAPCSForMachO (const llvm::Triple &T)
 
void getARMArchCPUFromArgs (const llvm::opt::ArgList &Args, llvm::StringRef &Arch, llvm::StringRef &CPU, bool FromAs=false)
 
void getARMTargetFeatures (const ToolChain &TC, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs, std::vector< llvm::StringRef > &Features, bool ForAS)
 
int getARMSubArchVersionNumber (const llvm::Triple &Triple)
 
bool isARMMProfile (const llvm::Triple &Triple)
 

Enumeration Type Documentation

◆ FloatABI

Enumerator
Invalid 
Soft 
SoftFP 
Hard 

Definition at line 41 of file ARM.h.

◆ ReadTPMode

Enumerator
Invalid 
Soft 
Cp15 

Definition at line 35 of file ARM.h.

Function Documentation

◆ appendEBLinkFlags()

void clang::driver::tools::arm::appendEBLinkFlags ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs,
const llvm::Triple &  Triple 
)

◆ getARMArch()

const std::string clang::driver::tools::arm::getARMArch ( llvm::StringRef  Arch,
const llvm::Triple &  Triple 
)

◆ getARMArchCPUFromArgs()

void clang::driver::tools::arm::getARMArchCPUFromArgs ( const llvm::opt::ArgList &  Args,
llvm::StringRef &  Arch,
llvm::StringRef &  CPU,
bool  FromAs = false 
)

◆ getARMCPUForMArch()

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

◆ getARMFloatABI()

FloatABI clang::driver::tools::arm::getARMFloatABI ( const ToolChain TC,
const llvm::opt::ArgList &  Args 
)

◆ getARMSubArchVersionNumber()

int clang::driver::tools::arm::getARMSubArchVersionNumber ( const llvm::Triple &  Triple)

Definition at line 24 of file ARM.cpp.

Referenced by useAAPCSForMachO().

◆ getARMTargetCPU()

std::string clang::driver::tools::arm::getARMTargetCPU ( StringRef  CPU,
llvm::StringRef  Arch,
const llvm::Triple &  Triple 
)

◆ getARMTargetFeatures()

void clang::driver::tools::arm::getARMTargetFeatures ( const ToolChain TC,
const llvm::Triple &  Triple,
const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs,
std::vector< llvm::StringRef > &  Features,
bool  ForAS 
)

◆ getLLVMArchSuffixForARM()

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

◆ getReadTPMode()

ReadTPMode clang::driver::tools::arm::getReadTPMode ( const ToolChain TC,
const llvm::opt::ArgList &  Args 
)

Referenced by useAAPCSForMachO().

◆ isARMMProfile()

bool clang::driver::tools::arm::isARMMProfile ( const llvm::Triple &  Triple)

Definition at line 30 of file ARM.cpp.

References getARMArchCPUFromArgs().

Referenced by useAAPCSForMachO().

◆ useAAPCSForMachO()

bool clang::driver::tools::arm::useAAPCSForMachO ( const llvm::Triple &  T)