| 401 | } |
| 402 | |
| 403 | std::set<RDNode> RDAnalyzer::handleRegister(RDNode &Node, CallBase &CB) { |
| 404 | const auto *CF = util::getCalledFunction(CB); |
| 405 | bool Revisited = CF ? Node.isVisit(*CF) : false; |
| 406 | auto Result = handleRegisterInternal(Node, CB); |
| 407 | if (!Revisited) |
| 408 | assert(!Result.empty() && "Unexpected Program States"); |
| 409 | return Result; |
| 410 | } |
| 411 | |
| 412 | std::set<RDNode> RDAnalyzer::handleRegisterInternal(RDNode &Node, |
| 413 | CallBase &CB) { |
nothing calls this directly
no test coverage detected