| 173 | } |
| 174 | |
| 175 | std::set<RDNode> RDAnalyzer::next(RDNode &Node) { |
| 176 | if (Node.isMemory()) { |
| 177 | if (auto *SI = dyn_cast<StoreInst>(&Node.getLocation())) |
| 178 | return handleStoreInst(Node, *SI); |
| 179 | |
| 180 | if (auto *CB = dyn_cast<CallBase>(&Node.getLocation())) |
| 181 | return handleMemoryCall(Node, *CB); |
| 182 | } |
| 183 | return {Node}; |
| 184 | } |
| 185 | |
| 186 | std::set<RDNode> RDAnalyzer::getPrevs(RDNode &Node) { |
| 187 |
no test coverage detected