LLVM 24.0.0git
SparcTargetParser.cpp File Reference
#include "llvm/TargetParser/SparcTargetParser.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/TargetParser/TargetParser.h"
#include "llvm/TargetParser/SparcGenTargetFeatures.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::Sparc

Macros

#define GET_SUBTARGETFEATURES_ENUM
#define GET_SUBTARGETFEATURES_KV

Functions

LLVM_ABI bool llvm::Sparc::isValidCPU (StringRef CPU)
 Return true if CPU is a processor known to the SPARC backend.
LLVM_ABI void llvm::Sparc::fillValidCPUList (SmallVectorImpl< StringRef > &Values)
 Fill Values with the names of the processors known to the SPARC backend.
LLVM_ABI StringRef llvm::Sparc::getNormalizedSparcTargetCPU (const Triple &T, StringRef CPUName="")
 Return CPUName, or the default CPU for T if CPUName is empty.
LLVM_ABI std::optional< StringMap< bool > > llvm::Sparc::getSparcDefaultTargetFeatures (StringRef CPU)
 Return the features enabled by default for CPU, including the ones they imply, or std::nullopt if CPU is not a known processor.
LLVM_ABI bool llvm::Sparc::isValidFeatureName (StringRef Name)
 Return true if Name is a SPARC target feature.

Macro Definition Documentation

◆ GET_SUBTARGETFEATURES_ENUM

#define GET_SUBTARGETFEATURES_ENUM

Definition at line 18 of file SparcTargetParser.cpp.

◆ GET_SUBTARGETFEATURES_KV

#define GET_SUBTARGETFEATURES_KV

Definition at line 19 of file SparcTargetParser.cpp.