• Home
  • Raw
  • Download

Lines Matching refs:Function

78 static unsigned profileFunction(const Function *F) {  in profileFunction()
102 ComparableFunction(Function *Func, TargetData *TD) in ComparableFunction()
105 Function *getFunc() const { return Func; } in getFunc()
121 AssertingVH<Function> Func;
158 FunctionComparator(const TargetData *TD, const Function *F1, in FunctionComparator()
159 const Function *F2) in FunctionComparator()
191 const Function *F1, *F2;
492 for (Function::const_arg_iterator f1i = F1->arg_begin(), in compare()
561 void remove(Function *F);
569 void replaceDirectCallers(Function *Old, Function *New);
574 void mergeTwoFunctions(Function *F, Function *G);
577 void writeThunkOrAlias(Function *F, Function *G);
581 void writeThunk(Function *F, Function *G);
584 void writeAlias(Function *F, Function *G);
628 Function *F = cast<Function>(*I); in runOnModule()
643 Function *F = cast<Function>(*I); in runOnModule()
679 void MergeFunctions::replaceDirectCallers(Function *Old, Function *New) { in replaceDirectCallers()
694 void MergeFunctions::writeThunkOrAlias(Function *F, Function *G) { in writeThunkOrAlias()
708 void MergeFunctions::writeThunk(Function *F, Function *G) { in writeThunk()
721 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk()
729 for (Function::arg_iterator AI = NewG->arg_begin(), AE = NewG->arg_end(); in writeThunk()
755 void MergeFunctions::writeAlias(Function *F, Function *G) { in writeAlias()
771 void MergeFunctions::mergeTwoFunctions(Function *F, Function *G) { in mergeTwoFunctions()
777 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
823 Function *DeleteF = NewF.getFunc(); in insert()
831 void MergeFunctions::remove(Function *F) { in remove()