|
LLVM 24.0.0git
|
Enumerations | |
| enum | Fixups { fixup_sparc_call30 = FirstTargetFixupKind , fixup_sparc_13 , LastTargetFixupKind , NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind } |
Functions | |
| LLVM_ABI bool | isValidCPU (StringRef CPU) |
Return true if CPU is a processor known to the SPARC backend. | |
| LLVM_ABI void | fillValidCPUList (SmallVectorImpl< StringRef > &Values) |
Fill Values with the names of the processors known to the SPARC backend. | |
| LLVM_ABI StringRef | getNormalizedSparcTargetCPU (const Triple &T, StringRef CPUName="") |
Return CPUName, or the default CPU for T if CPUName is empty. | |
| 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 is not a known processor. | |
| LLVM_ABI bool | isValidFeatureName (StringRef Name) |
Return true if Name is a SPARC target feature. | |
| uint16_t | parseSpecifier (StringRef name) |
| uint16_t | parseDataSpecifier (StringRef name) |
| StringRef | getSpecifierName (uint16_t S) |
| enum llvm::Sparc::Fixups |
| Enumerator | |
|---|---|
| fixup_sparc_call30 | |
| fixup_sparc_13 | fixup_sparc_13 - 13-bit fixup |
| LastTargetFixupKind | |
| NumTargetFixupKinds | |
Definition at line 18 of file SparcFixupKinds.h.
| void llvm::Sparc::fillValidCPUList | ( | SmallVectorImpl< StringRef > & | Values | ) |
Fill Values with the names of the processors known to the SPARC backend.
Definition at line 31 of file SparcTargetParser.cpp.
References P, and llvm::Values.
Return CPUName, or the default CPU for T if CPUName is empty.
Definition at line 36 of file SparcTargetParser.cpp.
References llvm::StringRef::empty(), and T.
Referenced by createSparcMCSubtargetInfo(), and llvm::SparcSubtarget::initializeSubtargetDependencies().
Return the features enabled by default for CPU, including the ones they imply, or std::nullopt if CPU is not a known processor.
Definition at line 42 of file SparcTargetParser.cpp.
References llvm::getCPUDefaultTargetFeatures().
| StringRef llvm::Sparc::getSpecifierName | ( | uint16_t | S | ) |
Definition at line 22 of file SparcMCExpr.cpp.
References llvm_unreachable.
Referenced by llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo().
Return true if CPU is a processor known to the SPARC backend.
Definition at line 25 of file SparcTargetParser.cpp.
References A(), llvm::lower_bound(), and P.
Return true if Name is a SPARC target feature.
Definition at line 47 of file SparcTargetParser.cpp.
References A(), F, and llvm::lower_bound().
| uint16_t llvm::Sparc::parseDataSpecifier | ( | StringRef | name | ) |
Definition at line 125 of file SparcMCExpr.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), and name.
| uint16_t llvm::Sparc::parseSpecifier | ( | StringRef | name | ) |
Definition at line 77 of file SparcMCExpr.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), and name.