clang 20.0.0git
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/TargetParser/ARMTargetParser.h"
#include "llvm/TargetParser/Host.h"

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 llvm::ARM::FPUKind getARMFPUFeatures (const Driver &D, const Arg *A, const ArgList &Args, StringRef FPU, std::vector< StringRef > &Features)
 
static bool DecodeARMFeatures (const Driver &D, StringRef text, StringRef CPU, llvm::ARM::ArchKind ArchKind, std::vector< StringRef > &Features, llvm::ARM::FPUKind &ArgFPUKind)
 
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, llvm::StringRef CPUName, std::vector< StringRef > &Features, const llvm::Triple &Triple, llvm::ARM::FPUKind &ArgFPUKind)
 
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, llvm::ARM::FPUKind &ArgFPUKind)
 
static void checkARMFloatABI (const Driver &D, const ArgList &Args, bool HasFPRegs)
 
static bool hasIntegerMVE (const std::vector< StringRef > &F)
 

Function Documentation

◆ checkARMArchName()

static void checkARMArchName ( const Driver D,
const Arg *  A,
const ArgList &  Args,
llvm::StringRef  ArchName,
llvm::StringRef  CPUName,
std::vector< StringRef > &  Features,
const llvm::Triple &  Triple,
llvm::ARM::FPUKind &  ArgFPUKind 
)
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,
llvm::ARM::FPUKind &  ArgFPUKind 
)
static

◆ checkARMFloatABI()

static void checkARMFloatABI ( const Driver D,
const ArgList &  Args,
bool  HasFPRegs 
)
static

Definition at line 183 of file ARM.cpp.

References D.

◆ DecodeARMFeatures()

static bool DecodeARMFeatures ( const Driver D,
StringRef  text,
StringRef  CPU,
llvm::ARM::ArchKind  ArchKind,
std::vector< StringRef > &  Features,
llvm::ARM::FPUKind &  ArgFPUKind 
)
static

Definition at line 119 of file ARM.cpp.

References clang::driver::tools::Split.

Referenced by checkARMArchName(), and checkARMCPUName().

◆ DecodeARMFeaturesFromCPU()

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

Definition at line 133 of file ARM.cpp.

◆ getARMFPUFeatures()

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

Definition at line 109 of file ARM.cpp.

References D.

◆ getARMHWDivFeatures()

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

Definition at line 100 of file ARM.cpp.

References D.

◆ hasIntegerMVE()

static bool hasIntegerMVE ( const std::vector< StringRef > &  F)
static

Definition at line 507 of file ARM.cpp.