Searched refs:PostNumbers (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopIterator.h | 53 DenseMap<BasicBlock*, unsigned> PostNumbers; variable 58 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS() 85 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder() 89 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB); in hasPostorder() 90 return I != PostNumbers.end() && I->second; in hasPostorder() 95 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB); in getPostorder() 96 assert(I != PostNumbers.end() && "block not visited by DFS"); in getPostorder() 107 PostNumbers.clear(); in clear() 148 return DFS.PostNumbers.insert(std::make_pair(BB, 0)).second; in visitPreorder() 154 assert(DFS.PostNumbers.count(BB) && "Loop DFS skipped preorder"); in finishPostorder() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | LoopIterator.h | 52 DenseMap<BasicBlock*, unsigned> PostNumbers; variable 57 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS() 84 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder() 88 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB); in hasPostorder() 89 return I != PostNumbers.end() && I->second; in hasPostorder() 94 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB); in getPostorder() 95 assert(I != PostNumbers.end() && "block not visited by DFS"); in getPostorder() 106 PostNumbers.clear(); in clear() 157 return DFS.PostNumbers.insert(std::make_pair(BB, 0)).second; in visitPreorder() 163 assert(DFS.PostNumbers.count(BB) && "Loop DFS skipped preorder"); in finishPostorder() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LoopIterator.h | 112 DenseMap<BasicBlock*, unsigned> PostNumbers; variable 117 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS() 144 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder() 148 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB); in hasPostorder() 149 return I != PostNumbers.end() && I->second; in hasPostorder() 154 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB); in getPostorder() 155 assert(I != PostNumbers.end() && "block not visited by DFS"); in getPostorder() 166 PostNumbers.clear(); in clear() 236 return DFS.PostNumbers.insert(std::make_pair(BB, 0)).second; in visitPreorder() 242 assert(DFS.PostNumbers.count(BB) && "Loop DFS skipped preorder"); in finishPostorder() [all …]
|