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

Method notfound

tests/indcallsolver/TestIndCallSolver.cpp:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 bool notfound(IndCallSolverMgr &Solver, std::string FuncName, unsigned BIdx,
42 unsigned IIdx) {
43 auto *CB = llvm::dyn_cast_or_null<llvm::CallBase>(
44 IRAH->getInstruction(FuncName, BIdx, IIdx));
45 if (!CB)
46 return false;
47
48 auto Result = Solver.getCalledFunctions(*CB);
49 return Result.size() == 0;
50 }
51};
52
53TEST_F(TestIndCallSolverMgr, getCalledFunctionP) {

Callers

nothing calls this directly

Calls 3

getInstructionMethod · 0.80
getCalledFunctionsMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected