18#define GET_SUBTARGETFEATURES_ENUM
19#define GET_SUBTARGETFEATURES_KV
20#include "llvm/TargetParser/SparcGenTargetFeatures.inc"
39 return T.isSPARC64() ?
"v9" :
"v8";
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
Represent a constant reference to an array (0 or more elements consecutively in memory),...
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Represent a constant reference to a string, i.e.
constexpr bool empty() const
Check if the string is empty.
Triple - Helper class for working with autoconf configuration names.
LLVM_ABI void fillValidCPUList(SmallVectorImpl< StringRef > &Values)
Fill Values with the names of the processors known to the SPARC backend.
LLVM_ABI std::optional< StringMap< bool > > getSparcDefaultTargetFeatures(StringRef CPU)
Return the features enabled by default for CPU, including the ones they imply, or std::nullopt if CPU...
LLVM_ABI StringRef getNormalizedSparcTargetCPU(const Triple &T, StringRef CPUName="")
Return CPUName, or the default CPU for T if CPUName is empty.
LLVM_ABI bool isValidCPU(StringRef CPU)
Return true if CPU is a processor known to the SPARC backend.
LLVM_ABI bool isValidFeatureName(StringRef Name)
Return true if Name is a SPARC target feature.
This is an optimization pass for GlobalISel generic memory operations.
RelativeUniformCounterPtr Values
auto lower_bound(R &&Range, T &&Value)
Provide wrappers to std::lower_bound which take ranges instead of having to pass begin/end explicitly...
LLVM_ABI std::optional< llvm::StringMap< bool > > getCPUDefaultTargetFeatures(StringRef CPU, ArrayRef< BasicSubtargetSubTypeKV > ProcDesc, ArrayRef< BasicSubtargetFeatureKV > ProcFeatures)
Used to provide key value pairs for feature and CPU bit flags.