Home | History | Annotate | Download | only in Utils

Lines Matching refs:Function

86     bool runOnFunction(Function &F);
95 bool insertCheapEHSupport(Function &F);
100 bool insertExpensiveEHSupport(Function &F);
172 bool LowerInvoke::insertCheapEHSupport(Function &F) {
174 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
214 /// rewriteExpensiveInvoke - Insert code and hack the function to replace the
280 // First thing we need to do is scan the whole function for values that are
297 Function *F = Invokes.back()->getParent()->getParent();
306 for (Function::arg_iterator AI = F->arg_begin(), E = F->arg_end();
338 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
405 bool LowerInvoke::insertExpensiveEHSupport(Function &F) {
411 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
414 // function.
429 // even though there are possibly paths through the function that do not
440 // First thing we need to do is scan the whole function for values that are
450 // that needs to be restored on all exits from the function. This is an
534 // is null. Add them at the end of the function because they are not hot.
540 // If this function contains an invoke, restore the old jumpbuf ptr.
588 // Finally, for any returns from this function, if this function contains an
603 bool LowerInvoke::runOnFunction(Function &F) {