mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-27 15:57:30 +00:00
[TargetParser] Properly attach functions of ARMTargetParser to the class
llvm-svn: 239158
This commit is contained in:
parent
eaeddf4864
commit
41beb8bbfc
@ -223,8 +223,6 @@ struct {
|
|||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
namespace llvm {
|
|
||||||
|
|
||||||
// ======================================================= //
|
// ======================================================= //
|
||||||
// Information by ID
|
// Information by ID
|
||||||
// ======================================================= //
|
// ======================================================= //
|
||||||
@ -241,13 +239,13 @@ unsigned ARMTargetParser::getFPUVersion(unsigned FPUKind) {
|
|||||||
return FPUNames[FPUKind].FPUVersion;
|
return FPUNames[FPUKind].FPUVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned getFPUNeonSupportLevel(unsigned FPUKind) {
|
unsigned ARMTargetParser::getFPUNeonSupportLevel(unsigned FPUKind) {
|
||||||
if (FPUKind >= ARM::FK_LAST)
|
if (FPUKind >= ARM::FK_LAST)
|
||||||
return 0;
|
return 0;
|
||||||
return FPUNames[FPUKind].NeonSupport;
|
return FPUNames[FPUKind].NeonSupport;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned getFPURestriction(unsigned FPUKind) {
|
unsigned ARMTargetParser::getFPURestriction(unsigned FPUKind) {
|
||||||
if (FPUKind >= ARM::FK_LAST)
|
if (FPUKind >= ARM::FK_LAST)
|
||||||
return 0;
|
return 0;
|
||||||
return FPUNames[FPUKind].Restriction;
|
return FPUNames[FPUKind].Restriction;
|
||||||
@ -587,5 +585,3 @@ unsigned ARMTargetParser::parseArchVersion(StringRef Arch) {
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace llvm
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user