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

Method analyze

tests/propanalysis/TestArrayAnalyzer.cpp:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9protected:
10 std::unique_ptr<ArrayAnalyzer>
11 analyze(IRAccessHelper &IRAccess, const std::vector<std::string> &FuncNames,
12 const ArrayAnalysisReport *PreReport = nullptr) {
13 std::vector<const llvm::Function *> Funcs;
14 for (const auto &FuncName : FuncNames) {
15 const auto *Func = IRAccess.getFunction(FuncName);
16 if (!Func)
17 continue;
18
19 Funcs.push_back(Func);
20 }
21
22 IndCallSolverMgr Solver;
23 return std::make_unique<ArrayAnalyzer>(&Solver, Funcs, FAM, PreReport);
24 }
25
26 bool checkTrue(int Answer, const ArrayAnalysisReport &Report,
27 IRAccessHelper &IRAccess, std::string FuncName,

Callers

nothing calls this directly

Calls 1

getFunctionMethod · 0.80

Tested by

no test coverage detected