Lines Matching defs:SF
519 Function *copyFunctionProto(const Function *SF);
690 Function *IRLinker::copyFunctionProto(const Function *SF) {
692 // bring SF over.
693 auto *F = Function::Create(TypeMap.get(SF->getFunctionType()),
695 SF->getAddressSpace(), SF->getName(), &DstM);
696 F->copyAttributesFrom(SF);
698 F->IsNewDbgInfoFormat = SF->IsNewDbgInfoFormat;
733 } else if (auto *SF = dyn_cast<Function>(SGV)) {
734 NewGV = copyFunctionProto(SF);