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

Method analyzeFilePath

lib/propanalysis/FilePathAnalyzer.cpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void FilePathAnalyzer::analyzeFilePath(llvm::Argument &A) {
42 std::set<Value *> VisitedNodes;
43 ArgFlow &AF = getOrCreateArgFlow(A);
44 std::stack<StackFrame> DefUseChains;
45 DefUseChains.emplace(&A, AF);
46 while (!DefUseChains.empty()) {
47 auto Frame = DefUseChains.top();
48 DefUseChains.pop();
49 handleStackFrame(Frame, DefUseChains, VisitedNodes);
50 }
51}
52
53void FilePathAnalyzer::handleStackFrame(StackFrame &Frame,
54 std::stack<StackFrame> &DefUseChains,

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected