/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | UnreachableBlockElim.cpp | 75 std::vector<BasicBlock*> DeadBlocks; in runOnFunction() local 79 DeadBlocks.push_back(BB); in runOnFunction() 91 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in runOnFunction() 92 if (PI) PI->removeBlock(DeadBlocks[i]); in runOnFunction() 93 DeadBlocks[i]->eraseFromParent(); in runOnFunction() 96 return DeadBlocks.size(); in runOnFunction() 139 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local 145 DeadBlocks.push_back(BB); in runOnMachineFunction() 172 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) in runOnMachineFunction() 173 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction() [all …]
|
/external/llvm/lib/CodeGen/ |
D | UnreachableBlockElim.cpp | 51 std::vector<BasicBlock*> DeadBlocks; in eliminateUnreachableBlock() local 55 DeadBlocks.push_back(BB); in eliminateUnreachableBlock() 66 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in eliminateUnreachableBlock() 67 DeadBlocks[i]->eraseFromParent(); in eliminateUnreachableBlock() 70 return !DeadBlocks.empty(); in eliminateUnreachableBlock() 146 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local 152 DeadBlocks.push_back(BB); in runOnMachineFunction() 179 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) in runOnMachineFunction() 180 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction() 219 return (!DeadBlocks.empty() || ModifiedPHI); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | UnreachableBlockElim.cpp | 52 std::vector<BasicBlock*> DeadBlocks; in eliminateUnreachableBlock() local 56 DeadBlocks.push_back(BB); in eliminateUnreachableBlock() 67 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in eliminateUnreachableBlock() 68 DeadBlocks[i]->eraseFromParent(); in eliminateUnreachableBlock() 71 return !DeadBlocks.empty(); in eliminateUnreachableBlock() 147 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local 153 DeadBlocks.push_back(BB); in runOnMachineFunction() 180 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) in runOnMachineFunction() 181 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction() 234 return (!DeadBlocks.empty() || ModifiedPHI); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 578 const SmallPtrSetImpl<BasicBlock *> &DeadBlocks) { in removeBlocks() argument 580 for (BasicBlock *BB : DeadBlocks) { in removeBlocks() 584 if (!DeadBlocks.count(Succ)) in removeBlocks() 597 for (BasicBlock *BB : DeadBlocks) { in removeBlocks()
|
D | InlineCost.cpp | 171 SetVector<BasicBlock *> DeadBlocks; member in __anon5999813e0111::CallAnalyzer 472 if (DeadBlocks.count(Pred)) in visitPHI() 1665 return (DeadBlocks.count(Pred) || in findDeadBlocks() 1671 return (!DeadBlocks.count(BB) && in findDeadBlocks() 1683 if (DeadBlocks.insert(Dead)) in findDeadBlocks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SimpleLoopUnswitch.cpp | 1356 SmallVector<BasicBlock *, 16> DeadBlocks; in deleteDeadClonedBlocks() local 1363 DeadBlocks.push_back(ClonedBB); in deleteDeadClonedBlocks() 1367 for (BasicBlock *BB : DeadBlocks) in deleteDeadClonedBlocks() 1370 for (BasicBlock *BB : DeadBlocks) in deleteDeadClonedBlocks() 1379 SmallVector<BasicBlock *, 16> DeadBlocks; in deleteDeadBlocksFromLoop() local 1384 DeadBlocks.push_back(BB); in deleteDeadBlocksFromLoop() 1387 SmallPtrSet<BasicBlock *, 16> DeadBlockSet(DeadBlocks.begin(), in deleteDeadBlocksFromLoop() 1388 DeadBlocks.end()); in deleteDeadBlocksFromLoop() 1397 for (auto *BB : DeadBlocks) in deleteDeadBlocksFromLoop() 1422 for (auto *BB : DeadBlocks) { in deleteDeadBlocksFromLoop() [all …]
|
D | GVN.cpp | 1010 if (DeadBlocks.count(DepBB)) { in AnalyzeLoadAvailability() 2071 DeadBlocks.clear(); in runImpl() 2081 if (DeadBlocks.count(BB)) in processBlock() 2500 if (DeadBlocks.count(D)) in addDeadBlock() 2506 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock() 2511 if (DeadBlocks.count(S)) in addDeadBlock() 2516 if (!DeadBlocks.count(P)) { in addDeadBlock() 2540 if (DeadBlocks.count(B)) in addDeadBlock() 2545 if (!DeadBlocks.count(P)) in addDeadBlock() 2550 DeadBlocks.insert(P = S); in addDeadBlock() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | SafepointIRVerifier.cpp | 72 SetVector<const BasicBlock *> DeadBlocks; member in __anon8716459d0111::CFGDeadness 101 return DeadBlocks.count(BB); in isDeadBlock() 131 DeadBlocks.insert(&BB); in processFunction() 174 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 1361 if (DeadBlocks.count(DepBB)) { in AnalyzeLoadAvailability() 2240 DeadBlocks.clear(); in runImpl() 2250 if (DeadBlocks.count(BB)) in processBlock() 2579 if (DeadBlocks.count(D)) in addDeadBlock() 2585 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock() 2590 if (DeadBlocks.count(S)) in addDeadBlock() 2595 if (!DeadBlocks.count(P)) { in addDeadBlock() 2619 if (DeadBlocks.count(B)) in addDeadBlock() 2624 if (!DeadBlocks.count(P)) in addDeadBlock() 2629 DeadBlocks.insert(P = S); in addDeadBlock() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | MemorySSAUpdater.h | 199 void removeBlocks(const SmallPtrSetImpl<BasicBlock *> &DeadBlocks);
|
/external/llvm/include/llvm/Transforms/Scalar/ |
D | GVN.h | 111 SetVector<BasicBlock *> DeadBlocks;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVN.h | 159 SetVector<BasicBlock *> DeadBlocks;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | DominatorTreeBatchUpdatesTest.cpp | 291 TEST(DominatorTreeBatchUpdates, DeadBlocks) { in TEST() argument
|