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

Method checkFalse

tests/propanalysis/TestLoopAnalyzer.cpp:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 bool checkFalse(const LoopAnalysisReport &Report, IRAccessHelper &IRAccess,
43 std::string FuncName, unsigned ArgIndex,
44 std::vector<int> Indices = {}) {
45 const auto *A = getArg(IRAccess, FuncName, ArgIndex);
46 if (!A)
47 return false;
48
49 if (!Report.has(*A, Indices))
50 return false;
51
52 return !Report.get(*A, Indices).LoopExit;
53 }
54};
55
56TEST_F(TestLoopAnalyzer, AnalyzeP) {

Callers

nothing calls this directly

Calls 2

hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected