reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   68     if (!F.isDeclaration() || !F.hasFnAttribute("no-prototype"))
   68     if (!F.isDeclaration() || !F.hasFnAttribute("no-prototype"))
   71     LLVM_DEBUG(dbgs() << "Found no-prototype function: " << F.getName()
   77     if (!F.isVarArg())
   80           F.getName());
   81     unsigned NumParams = F.getFunctionType()->getNumParams();
   83       if (!(NumParams == 1 && F.arg_begin()->hasStructRetAttr()))
   86                            F.getName());
   92     for (Use &U : F.uses()) {
   93       LLVM_DEBUG(dbgs() << "prototype-less use: " << F.getName() << "\n");
  105                    << F.getName() << "\n";
  116                         F.getName() + "\n");
  122       NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false);
  126         Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig");
  126         Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig");
  127     NewF->setAttributes(F.getAttributes());
  129     Replacements.emplace_back(&F, NewF);