Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Function

64     bool runOnFunction(Function &F);
72 bool setupEntryBlockAndCallSites(Function &F);
75 Value *setupFunctionContext(Function &F, ArrayRef<LandingPadInst*> LPads);
76 void lowerIncomingArguments(Function &F);
77 void lowerAcrossUnwindEdges(Function &F, ArrayRef<InvokeInst*> Invokes);
91 // Build the function context structure.
125 /// function context
153 /// instruction with those returned by the personality function.
184 /// setupFunctionContext - Allocate the function context on the stack and fill
187 setupFunctionContext(Function &F, ArrayRef<LandingPadInst*> LPads) {
191 // that needs to be restored on all exits from the function. This is an alloca
198 // Fill in the function context structure.
219 // Personality function
239 void SjLjEHPrepare::lowerIncomingArguments(Function &F) {
245 for (Function::arg_iterator
283 void SjLjEHPrepare::lowerAcrossUnwindEdges(Function &F,
286 for (Function::iterator
379 /// the function context and marking the call sites with the appropriate
381 bool SjLjEHPrepare::setupEntryBlockAndCallSites(Function &F) {
387 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
389 if (Function *Callee = II->getCalledFunction())
435 // Store a pointer to the function context so that the back-end will know
454 // -1). Skip the entry block, as prior to then, no function context has been
455 // created for this function and any unexpected exceptions thrown will go
458 for (Function::iterator BB = F.begin(), E = F.end(); ++BB != E;)
467 // Register the function context and make sure it's known to not throw
474 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
491 // Finally, for any returns from this function, if this function contains an
492 // invoke, add a call to unregister the function context.
499 bool SjLjEHPrepare::runOnFunction(Function &F) {