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

Method collectRelatedLengthArg

lib/propanalysis/ArgFlow.cpp:326–330  ·  view source on GitHub ↗

* Trace backward using use-def chains until we reach argument definition(s). */

Source from the content-addressed store, hash-verified

324 * Trace backward using use-def chains until we reach argument definition(s).
325 */
326void ArgFlow::collectRelatedLengthArg(Value &V) {
327 std::set<llvm::Value *> Visit;
328 if (auto *RelatedArg = findRelatedArg(V, Visit))
329 this->SizeArgs.insert(RelatedArg);
330}
331
332ArgFlow &ArgFlow::operator|=(const ArgDir &ArgDir) {
333 Direction |= ArgDir;

Callers 2

analyzeArrayLenMethod · 0.80
updateDefaultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected