58 std::set<FunctionSpecialization *> inserted;
60 void add(
const IR::MethodCallExpression *mce,
const IR::Function *func,
const IR::Node *insert,
62 cstring name = nameGen->newName(func->name.string_view());
66 return ::get(map, mce);
71 if (inserted.find(s.second) != inserted.end())
continue;
72 if (s.second->insertBefore == insertionPoint) {
74 LOG2(
"Will insert " << dbp(s.second->specialized) <<
" before "
75 << dbp(insertionPoint));
76 result->push_back(s.second->specialized);
77 inserted.emplace(s.second);
Visitor mixin for looking up names in enclosing scopes from the Visitor::Context.
Definition resolveReferences.h:32