clang  6.0.0svn
Functions
ARM.cpp File Reference
#include "ARM.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Options.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/TargetParser.h"
Include dependency graph for ARM.cpp:

Go to the source code of this file.

Functions

static void getARMHWDivFeatures (const Driver &D, const Arg *A, const ArgList &Args, StringRef HWDiv, std::vector< StringRef > &Features)
 
static void getARMFPUFeatures (const Driver &D, const Arg *A, const ArgList &Args, StringRef FPU, std::vector< StringRef > &Features)
 
static bool DecodeARMFeatures (const Driver &D, StringRef text, std::vector< StringRef > &Features)
 
static void DecodeARMFeaturesFromCPU (const Driver &D, StringRef CPU, std::vector< StringRef > &Features)
 
static void checkARMArchName (const Driver &D, const Arg *A, const ArgList &Args, llvm::StringRef ArchName, std::vector< StringRef > &Features, const llvm::Triple &Triple)
 
static void checkARMCPUName (const Driver &D, const Arg *A, const ArgList &Args, llvm::StringRef CPUName, llvm::StringRef ArchName, std::vector< StringRef > &Features, const llvm::Triple &Triple)
 

Function Documentation

◆ checkARMArchName()

static void checkARMArchName ( const Driver D,
const Arg *  A,
const ArgList &  Args,
llvm::StringRef  ArchName,
std::vector< StringRef > &  Features,
const llvm::Triple &  Triple 
)
static

◆ checkARMCPUName()

static void checkARMCPUName ( const Driver D,
const Arg *  A,
const ArgList &  Args,
llvm::StringRef  CPUName,
llvm::StringRef  ArchName,
std::vector< StringRef > &  Features,
const llvm::Triple &  Triple 
)
static

◆ DecodeARMFeatures()

static bool DecodeARMFeatures ( const Driver D,
StringRef  text,
std::vector< StringRef > &  Features 
)
static

Definition at line 75 of file ARM.cpp.

Referenced by checkARMArchName(), and checkARMCPUName().

◆ DecodeARMFeaturesFromCPU()

static void DecodeARMFeaturesFromCPU ( const Driver D,
StringRef  CPU,
std::vector< StringRef > &  Features 
)
static

Definition at line 90 of file ARM.cpp.

Referenced by clang::driver::tools::arm::useAAPCSForMachO().

◆ getARMFPUFeatures()

static void getARMFPUFeatures ( const Driver D,
const Arg *  A,
const ArgList &  Args,
StringRef  FPU,
std::vector< StringRef > &  Features 
)
static

Definition at line 66 of file ARM.cpp.

References clang::driver::Driver::Diag().

Referenced by clang::driver::tools::arm::useAAPCSForMachO().

◆ getARMHWDivFeatures()

static void getARMHWDivFeatures ( const Driver D,
const Arg *  A,
const ArgList &  Args,
StringRef  HWDiv,
std::vector< StringRef > &  Features 
)
static

Definition at line 57 of file ARM.cpp.

References clang::driver::Driver::Diag().

Referenced by clang::driver::tools::arm::useAAPCSForMachO().