mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -109,7 +109,7 @@ void LoopInfo::Calculate(const DominatorSet &DS) {
|
||||
BasicBlock *RootNode = DS.getRoot();
|
||||
|
||||
for (df_iterator<BasicBlock*> NI = df_begin(RootNode),
|
||||
NE = df_end(RootNode); NI != NE; ++NI)
|
||||
NE = df_end(RootNode); NI != NE; ++NI)
|
||||
if (Loop *L = ConsiderForLoop(*NI, DS))
|
||||
TopLevelLoops.push_back(L);
|
||||
}
|
||||
@ -191,7 +191,7 @@ Loop *LoopInfo::ConsiderForLoop(BasicBlock *BB, const DominatorSet &DS) {
|
||||
|
||||
// If there are any loops nested within this loop, create them now!
|
||||
for (std::vector<BasicBlock*>::iterator I = L->Blocks.begin(),
|
||||
E = L->Blocks.end(); I != E; ++I)
|
||||
E = L->Blocks.end(); I != E; ++I)
|
||||
if (Loop *NewLoop = ConsiderForLoop(*I, DS)) {
|
||||
L->SubLoops.push_back(NewLoop);
|
||||
NewLoop->ParentLoop = L;
|
||||
@ -201,7 +201,7 @@ Loop *LoopInfo::ConsiderForLoop(BasicBlock *BB, const DominatorSet &DS) {
|
||||
// loop can be found for them.
|
||||
//
|
||||
for (std::vector<BasicBlock*>::iterator I = L->Blocks.begin(),
|
||||
E = L->Blocks.end(); I != E; ++I) {
|
||||
E = L->Blocks.end(); I != E; ++I) {
|
||||
std::map<BasicBlock*, Loop*>::iterator BBMI = BBMap.lower_bound(*I);
|
||||
if (BBMI == BBMap.end() || BBMI->first != *I) // Not in map yet...
|
||||
BBMap.insert(BBMI, std::make_pair(*I, L)); // Must be at this level
|
||||
|
Reference in New Issue
Block a user