LLVM 24.0.0git
SparcTargetParser.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/TargetParser/Triple.h"
#include <optional>

Go to the source code of this file.

Namespaces

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

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.