MCPcopy Create free account
hub / github.com/Samsung/UTopia / isVisit

Method isVisit

lib/rootdefanalysis/RDNode.cpp:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174bool RDNode::isVisit(const RDTarget &T, const Instruction &I) const {
175 const auto *F = I.getFunction();
176 assert(F && "Unexpected Program State");
177
178 auto Iter = Visit.find(F);
179 if (Iter == Visit.end())
180 return false;
181
182 return Iter->second.find(RDVisitNode(T, I)) != Iter->second.end();
183}
184
185bool RDNode::isVisit(const Function &F) const {
186 return Visit.find(&F) != Visit.end();

Callers 3

traverseFunctionMethod · 0.80
traceMethod · 0.80
handleRegisterMethod · 0.80

Calls 4

RDVisitNodeClass · 0.85
getFunctionMethod · 0.80
endMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected