Home
last modified time | relevance | path

Searched refs:DeadBlocks (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp72 std::vector<BasicBlock*> DeadBlocks; in runOnFunction() local
76 DeadBlocks.push_back(BB); in runOnFunction()
87 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in runOnFunction()
88 DeadBlocks[i]->eraseFromParent(); in runOnFunction()
91 return !DeadBlocks.empty(); in runOnFunction()
132 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local
138 DeadBlocks.push_back(BB); in runOnMachineFunction()
165 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) in runOnMachineFunction()
166 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction()
207 return (!DeadBlocks.empty() || ModifiedPHI); in runOnMachineFunction()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp602 SetVector<BasicBlock *> DeadBlocks; member in __anon4436d4200211::GVN
1379 if (DeadBlocks.count(DepBB)) { in AnalyzeLoadAvailability()
2480 DeadBlocks.clear(); in runOnFunction()
2490 if (DeadBlocks.count(BB)) in processBlock()
2821 if (DeadBlocks.count(D)) in addDeadBlock()
2827 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
2832 if (DeadBlocks.count(S)) in addDeadBlock()
2837 if (!DeadBlocks.count(P)) { in addDeadBlock()
2861 if (DeadBlocks.count(B)) in addDeadBlock()
2866 if (!DeadBlocks.count(P)) in addDeadBlock()
[all …]