Lines Matching refs:Function
50 virtual bool runOnFunction(Function &F);
82 Function *TrapFn =
132 // If we found a call to a no-return function, insert an unreachable
193 static bool removeUnreachableBlocksFromFn(Function &F) {
206 for (Function::iterator BB = ++F.begin(), E = F.end(); BB != E; ++BB) {
216 for (Function::iterator I = ++F.begin(); I != F.end();)
227 static bool mergeEmptyReturnBlocks(Function &F) {
232 // Scan all the blocks in the function, looking for empty return blocks.
233 for (Function::iterator BBI = F.begin(), E = F.end(); BBI != E; ) {
301 /// iterativelySimplifyCFG - Call SimplifyCFG on all the blocks in the function,
303 static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI,
312 for (Function::iterator BBIt = F.begin(); BBIt != F.end(); ) {
326 bool CFGSimplifyPass::runOnFunction(Function &F) {