reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
731 if (LiveFunctions.count(F)) 736 FunctionType *FTy = F->getFunctionType(); 744 const AttributeList &PAL = F->getAttributes(); 752 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); 752 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); 754 RetOrArg Arg = CreateArg(F, i); 764 << F->getName() << "\n"); 771 unsigned RetCount = NumRetVals(F); 801 RetOrArg Ret = CreateRet(F, i); 803 RetTypes.push_back(getRetComponentType(F, i)); 809 << i << " from " << F->getName() << "\n"); 828 NRetTy = Type::getVoidTy(F->getContext()); 846 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); 850 F->getContext(), Attribute::AllocSize); 855 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); 865 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace()); 865 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace()); 866 NF->copyAttributesFrom(F); 867 NF->setComdat(F->getComdat()); 871 F->getParent()->getFunctionList().insert(F->getIterator(), NF); 871 F->getParent()->getFunctionList().insert(F->getIterator(), NF); 872 NF->takeName(F); 877 while (!F->use_empty()) { 878 CallSite CS(F->user_back()); 888 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); 908 F->getContext(), 928 F->getContext(), Attribute::AllocSize); 931 F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); 1010 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); 1015 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), 1015 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), 1032 if (F->getReturnType() != NF->getReturnType()) 1068 ReturnInst::Create(F->getContext(), RetVal, RI); 1074 F->getAllMetadata(MDs); 1079 F->eraseFromParent();