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

Method LoopAnalyzer

lib/propanalysis/LoopAnalyzer.cpp:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace ftg {
8
9LoopAnalyzer::LoopAnalyzer(IndCallSolverMgr *Solver,
10 std::vector<const llvm::Function *> Funcs,
11 llvm::FunctionAnalysisManager &FAM,
12 const LoopAnalysisReport *PreReport)
13 : ArgFlowAnalyzer(Solver, Funcs), FAM(FAM) {
14 if (PreReport) {
15 for (const auto &Iter : PreReport->get())
16 Report.set(Iter.first, Iter.second);
17 }
18 analyze(Funcs);
19}
20
21std::unique_ptr<AnalyzerReport> LoopAnalyzer::getReport() {
22 return std::make_unique<LoopAnalysisReport>(Report);

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected