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

Method analyzeTargetCallArgs

lib/inputanalysis/DefAnalyzer.cpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162std::vector<DefAnalyzer::ArgDef>
163DefAnalyzer::analyzeTargetCallArgs(llvm::CallBase &CB) {
164 std::vector<DefAnalyzer::ArgDef> Result;
165 for (unsigned S = ASTMap->getDiffNumArgs(CB), E = CB.getNumArgOperands();
166 S < E; ++S) {
167 llvm::outs() << "[I] Analyze APIArg (" << S + 1 << " / " << E << ")\n";
168 Result.push_back(analyzeTargetCallArg(CB, S));
169 }
170 return Result;
171}
172
173DefAnalyzer::ArgDef DefAnalyzer::analyzeTargetCallArg(llvm::CallBase &CB,
174 unsigned ArgIdx) {

Callers

nothing calls this directly

Calls 1

getDiffNumArgsMethod · 0.80

Tested by

no test coverage detected