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

Method nextInCaller

lib/rootdefanalysis/RDSpace.cpp:109–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109std::set<llvm::Instruction *> RDSpace::nextInCaller(const llvm::Function &F) {
110 std::set<llvm::Instruction *> Result;
111
112 auto Iter = CallerMap.find(const_cast<llvm::Function *>(&F));
113 if (Iter == CallerMap.end())
114 return {};
115
116 for (auto *CB : Iter->second)
117 Result.insert(CB);
118
119 return Result;
120}
121
122std::set<llvm::Instruction *> RDSpace::nextInLink(const llvm::Function &F) {
123 auto Iter = LinkMap.find(const_cast<llvm::Function *>(&F));

Callers 1

traceCallerMethod · 0.80

Calls 2

endMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected