Lines Matching refs:Function
85 bool runOnFunction(Function &F);
94 bool insertCheapEHSupport(Function &F);
99 bool insertExpensiveEHSupport(Function &F);
171 bool LowerInvoke::insertCheapEHSupport(Function &F) {
173 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
199 /// rewriteExpensiveInvoke - Insert code and hack the function to replace the
265 // First thing we need to do is scan the whole function for values that are
282 Function *F = Invokes.back()->getParent()->getParent();
291 for (Function::arg_iterator AI = F->arg_begin(), E = F->arg_end();
323 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
390 bool LowerInvoke::insertExpensiveEHSupport(Function &F) {
395 for (Function
398 // function.
410 // even though there are possibly paths through the function that do not
421 // First thing we need to do is scan the whole function for values that are
431 // that needs to be restored on all exits from the function. This is an
515 // is null. Add them at the end of the function because they are not hot.
521 // If this function contains an invoke, restore the old jumpbuf ptr.
562 // Finally, for any returns from this function, if this function contains an
577 bool LowerInvoke::runOnFunction(Function &F) {