mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Don't include things in anonymous namespaces that don't need it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6118efa59e
commit
b6211710ac
@ -976,6 +976,8 @@ public:
|
||||
void dump() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
/// HasFormula - Test whether this use as a formula which has the same
|
||||
/// registers as the given formula.
|
||||
bool LSRUse::HasFormulaWithSameRegs(const Formula &F) const {
|
||||
@ -1203,6 +1205,8 @@ static bool isAlwaysFoldable(const SCEV *S,
|
||||
return isLegalUse(AM, MinOffset, MaxOffset, Kind, AccessTy, TLI);
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
/// FormulaSorter - This class implements an ordering for formulae which sorts
|
||||
/// the by their standalone cost.
|
||||
class FormulaSorter {
|
||||
|
Loading…
Reference in New Issue
Block a user