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

References

lib/Transforms/Coroutines/CoroSplit.cpp
  128     assert(NewF != nullptr && "declaration not yet set");
  129     return NewF;
  424   for (auto I = std::next(NewF->arg_begin()), E = NewF->arg_end(); I != E; ++I)
  424   for (auto I = std::next(NewF->arg_begin()), E = NewF->arg_end(); I != E; ++I)
  556   ::replaceSwiftErrorOps(*NewF, Shape, &VMap);
  567   Entry->moveBefore(&NewF->getEntryBlock());
  616     return &*NewF->arg_begin();
  621     Argument *NewStorage = &*NewF->arg_begin();
  641   if (!NewF) {
  642     NewF = createCloneDeclaration(OrigF, Shape, Suffix,
  656   auto savedVisibility = NewF->getVisibility();
  657   auto savedUnnamedAddr = NewF->getUnnamedAddr();
  658   auto savedDLLStorageClass = NewF->getDLLStorageClass();
  663   auto savedLinkage = NewF->getLinkage();
  664   NewF->setLinkage(llvm::GlobalValue::ExternalLinkage);
  666   CloneFunctionInto(NewF, &OrigF, VMap, /*ModuleLevelChanges=*/true, Returns);
  668   NewF->setLinkage(savedLinkage);
  669   NewF->setVisibility(savedVisibility);
  670   NewF->setUnnamedAddr(savedUnnamedAddr);
  671   NewF->setDLLStorageClass(savedDLLStorageClass);
  673   auto &Context = NewF->getContext();
  676   auto OrigAttrs = NewF->getAttributes();
  718   NewF->setAttributes(NewAttrs);
  719   NewF->setCallingConv(Shape.getResumeFunctionCC());
  724   Builder.SetInsertPoint(&NewF->getEntryBlock().front());