mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Fix a bunch of namespace polution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -29,9 +29,9 @@ using namespace llvm;
|
||||
|
||||
// Always verify loopinfo if expensive checking is enabled.
|
||||
#ifdef XDEBUG
|
||||
bool VerifyLoopInfo = true;
|
||||
static bool VerifyLoopInfo = true;
|
||||
#else
|
||||
bool VerifyLoopInfo = false;
|
||||
static bool VerifyLoopInfo = false;
|
||||
#endif
|
||||
static cl::opt<bool,true>
|
||||
VerifyLoopInfoX("verify-loop-info", cl::location(VerifyLoopInfo),
|
||||
|
@@ -642,6 +642,8 @@ static const Loop *GetRelevantLoop(const SCEV *S, LoopInfo &LI,
|
||||
llvm_unreachable("Unexpected SCEV type!");
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
/// LoopCompare - Compare loops by PickMostRelevantLoop.
|
||||
class LoopCompare {
|
||||
DominatorTree &DT;
|
||||
@@ -668,6 +670,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) {
|
||||
const Type *Ty = SE.getEffectiveSCEVType(S->getType());
|
||||
|
||||
|
Reference in New Issue
Block a user