mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
[TargetParser] Properly attach functions of ARMTargetParser to the class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
474d2e0f05
commit
cdb8c729f2
@ -223,8 +223,6 @@ struct {
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// ======================================================= //
|
||||
// Information by ID
|
||||
// ======================================================= //
|
||||
@ -241,13 +239,13 @@ unsigned ARMTargetParser::getFPUVersion(unsigned FPUKind) {
|
||||
return FPUNames[FPUKind].FPUVersion;
|
||||
}
|
||||
|
||||
unsigned getFPUNeonSupportLevel(unsigned FPUKind) {
|
||||
unsigned ARMTargetParser::getFPUNeonSupportLevel(unsigned FPUKind) {
|
||||
if (FPUKind >= ARM::FK_LAST)
|
||||
return 0;
|
||||
return FPUNames[FPUKind].NeonSupport;
|
||||
}
|
||||
|
||||
unsigned getFPURestriction(unsigned FPUKind) {
|
||||
unsigned ARMTargetParser::getFPURestriction(unsigned FPUKind) {
|
||||
if (FPUKind >= ARM::FK_LAST)
|
||||
return 0;
|
||||
return FPUNames[FPUKind].Restriction;
|
||||
@ -587,5 +585,3 @@ unsigned ARMTargetParser::parseArchVersion(StringRef Arch) {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace llvm
|
||||
|
Loading…
Reference in New Issue
Block a user