Lines Matching defs:F1
167 FunctionComparator(const DataLayout *TD, const Function *F1,
169 : F1(F1), F2(F2), TD(TD) {}
200 const Function *F1, *F2;
395 if (V1 == F1 && V2 == F2)
397 if (V1 == F2 && V2 == F1)
404 // TODO: constant expressions with GEP or references to F1 or F2.
479 if (F1->getAttributes() != F2->getAttributes())
482 if (F1->hasGC() != F2->hasGC())
485 if (F1->hasGC() && F1->getGC() != F2->getGC())
488 if (F1->hasSection() != F2->hasSection())
491 if (F1->hasSection() && F1->getSection() != F2->getSection())
494 if (F1->isVarArg() != F2->isVarArg())
499 if (F1->getCallingConv() != F2->getCallingConv())
502 if (!isEquivalentType(F1->getFunctionType(), F2->getFunctionType()))
505 assert(F1->arg_size() == F2->arg_size() &&
510 for (Function::const_arg_iterator f1i = F1->arg_begin(),
511 f2i = F2->arg_begin(), f1e = F1->arg_end(); f1i != f1e; ++f1i, ++f2i) {
521 SmallSet<const BasicBlock *, 128> VisitedBBs; // in terms of F1.
523 F1BBs.push_back(&F1->getEntryBlock());