Skip to content

Commit

Permalink
Delete trailing whitespace; NFC
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256908 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
junmopark-sec committed Jan 6, 2016
1 parent 05e9984 commit da5ee8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ const AArch64NamedImmMapper::Mapping AArch64SysReg::SysRegMapper::SysRegMappings
};

uint32_t
AArch64SysReg::SysRegMapper::fromString(StringRef Name,
AArch64SysReg::SysRegMapper::fromString(StringRef Name,
const FeatureBitset& FeatureBits, bool &Valid) const {
std::string NameLower = Name.lower();

Expand Down Expand Up @@ -878,7 +878,7 @@ AArch64SysReg::SysRegMapper::fromString(StringRef Name,
}

std::string
AArch64SysReg::SysRegMapper::toString(uint32_t Bits,
AArch64SysReg::SysRegMapper::toString(uint32_t Bits,
const FeatureBitset& FeatureBits) const {
// First search the registers shared by all
for (unsigned i = 0; i < array_lengthof(SysRegMappings); ++i) {
Expand Down
12 changes: 6 additions & 6 deletions lib/Target/AArch64/Utils/AArch64BaseInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,17 +285,17 @@ struct AArch64NamedImmMapper {
// Zero value of FeatureBitSet means the mapping is always available
FeatureBitset FeatureBitSet;

bool isNameEqual(std::string Other,
bool isNameEqual(std::string Other,
const FeatureBitset& FeatureBits) const {
if (FeatureBitSet.any() &&
if (FeatureBitSet.any() &&
(FeatureBitSet & FeatureBits).none())
return false;
return Name == Other;
}

bool isValueEqual(uint32_t Other,
bool isValueEqual(uint32_t Other,
const FeatureBitset& FeatureBits) const {
if (FeatureBitSet.any() &&
if (FeatureBitSet.any() &&
(FeatureBitSet & FeatureBits).none())
return false;
return Value == Other;
Expand All @@ -310,7 +310,7 @@ struct AArch64NamedImmMapper {
StringRef toString(uint32_t Value, const FeatureBitset& FeatureBits,
bool &Valid) const;
// Maps string to value, depending on availability for FeatureBits given
uint32_t fromString(StringRef Name, const FeatureBitset& FeatureBits,
uint32_t fromString(StringRef Name, const FeatureBitset& FeatureBits,
bool &Valid) const;

/// Many of the instructions allow an alternative assembly form consisting of
Expand Down Expand Up @@ -1322,7 +1322,7 @@ namespace AArch64TLBI {
return true;
}
}
}
}

namespace AArch64II {
/// Target Operand Flag enum.
Expand Down

0 comments on commit da5ee8d

Please sign in to comment.