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

References

lib/Transforms/IPO/ArgumentPromotion.cpp
  111   FunctionType *FTy = F->getFunctionType();
  135   AttributeList PAL = F->getAttributes();
  139   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  139   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  218   Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(),
  218   Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(),
  219                                   F->getName());
  220   NF->copyAttributesFrom(F);
  223   NF->setSubprogram(F->getSubprogram());
  224   F->setSubprogram(nullptr);
  227                     << "From: " << *F);
  231   NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttributes(),
  235   F->getParent()->getFunctionList().insert(F->getIterator(), NF);
  235   F->getParent()->getFunctionList().insert(F->getIterator(), NF);
  236   NF->takeName(F);
  242   while (!F->use_empty()) {
  243     CallSite CS(F->user_back());
  244     assert(CS.getCalledFunction() == F);
  253     for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  253     for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  263             ConstantInt::get(Type::getInt32Ty(F->getContext()), 0), nullptr};
  265           Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i);
  290                   (ElTy->isStructTy() ? Type::getInt32Ty(F->getContext())
  291                                       : Type::getInt64Ty(F->getContext()));
  338         AttributeList::get(F->getContext(), CallPAL.getFnAttributes(),
  361   const DataLayout &DL = F->getParent()->getDataLayout();
  366   NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
  370   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(),
  370   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(),
  393       Value *Idxs[2] = {ConstantInt::get(Type::getInt32Ty(F->getContext()), 0),
  397         Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i);
  436                           << "' in function '" << F->getName() << "'\n");