clang 20.0.0git
Functions
Hexagon.cpp File Reference
#include "Hexagon.h"
#include "CommonArgs.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/InputInfo.h"
#include "clang/Driver/Options.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/VirtualFileSystem.h"

Go to the source code of this file.

Functions

static StringRef getDefaultHvxLength (StringRef HvxVer)
 
static void handleHVXWarnings (const Driver &D, const ArgList &Args)
 
static void handleHVXTargetFeatures (const Driver &D, const ArgList &Args, std::vector< StringRef > &Features, StringRef Cpu, bool &HasHVX)
 
static void constructHexagonLinkArgs (Compilation &C, const JobAction &JA, const toolchains::HexagonToolChain &HTC, const InputInfo &Output, const InputInfoList &Inputs, const ArgList &Args, ArgStringList &CmdArgs, const char *LinkingOutput)
 

Function Documentation

◆ constructHexagonLinkArgs()

static void constructHexagonLinkArgs ( Compilation C,
const JobAction JA,
const toolchains::HexagonToolChain HTC,
const InputInfo Output,
const InputInfoList Inputs,
const ArgList &  Args,
ArgStringList &  CmdArgs,
const char *  LinkingOutput 
)
static

◆ getDefaultHvxLength()

static StringRef getDefaultHvxLength ( StringRef  HvxVer)
static

Definition at line 29 of file Hexagon.cpp.

Referenced by handleHVXTargetFeatures().

◆ handleHVXTargetFeatures()

static void handleHVXTargetFeatures ( const Driver D,
const ArgList &  Args,
std::vector< StringRef > &  Features,
StringRef  Cpu,
bool HasHVX 
)
static

Definition at line 48 of file Hexagon.cpp.

References D, getDefaultHvxLength(), handleHVXWarnings(), and clang::T.

◆ handleHVXWarnings()

static void handleHVXWarnings ( const Driver D,
const ArgList &  Args 
)
static

Definition at line 37 of file Hexagon.cpp.

References D.

Referenced by handleHVXTargetFeatures().