Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Function

49     virtual bool runOnFunction(Function &F);
74 Function *TrapFn =
127 // If we found a call to a no-return function, insert an unreachable
176 static bool RemoveUnreachableBlocksFromFn(Function &F) {
189 for (Function::iterator BB = ++F.begin(), E = F.end(); BB != E; ++BB) {
199 for (Function::iterator I = ++F.begin(); I != F.end();)
210 static bool MergeEmptyReturnBlocks(Function &F) {
215 // Scan all the blocks in the function, looking for empty return blocks.
216 for (Function::iterator BBI = F.begin(), E = F.end(); BBI != E; ) {
284 /// IterativeSimplifyCFG - Call SimplifyCFG on all the blocks in the function,
286 static bool IterativeSimplifyCFG(Function &F, const TargetData *TD) {
294 for (Function::iterator BBIt = F.begin(); BBIt != F.end(); ) {
308 bool CFGSimplifyPass::runOnFunction(Function &F) {