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

Method updateArgFlow

lib/propanalysis/DirectionAnalyzer.cpp:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248bool DirectionAnalyzer::updateArgFlow(Argument &A) {
249 if (!Report->has(A))
250 return false;
251
252 auto &AF = getOrCreateArgFlow(A);
253 AF.setArgDir(Report->get(A));
254 updateFieldFlow(AF);
255 return true;
256}
257
258void DirectionAnalyzer::updateFieldFlow(ArgFlow &AF, std::vector<int> Indices) {
259 auto &A = AF.getLLVMArg();

Callers

nothing calls this directly

Calls 3

setArgDirMethod · 0.80
hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected