clang  14.0.0git
Functions
RISCV.cpp File Reference
#include "RISCV.h"
#include "ToolChains/CommonArgs.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Options.h"
#include "llvm/ADT/Optional.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/RISCVISAInfo.h"
#include "llvm/Support/TargetParser.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for RISCV.cpp:

Go to the source code of this file.

Functions

static bool getArchFeatures (const Driver &D, StringRef Arch, std::vector< StringRef > &Features, const ArgList &Args)
 
static void getRISCFeaturesFromMcpu (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, const llvm::opt::Arg *A, StringRef Mcpu, std::vector< StringRef > &Features)
 

Function Documentation

◆ getArchFeatures()

static bool getArchFeatures ( const Driver D,
StringRef  Arch,
std::vector< StringRef > &  Features,
const ArgList &  Args 
)
static

Definition at line 28 of file RISCV.cpp.

Referenced by DecodeAArch64Mcpu(), and getAArch64ArchFeaturesFromMarch().

◆ getRISCFeaturesFromMcpu()

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

Definition at line 50 of file RISCV.cpp.

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