Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Function

1 //===- CodeGenPrepare.cpp - Prepare a function for code generation --------===//
10 // This pass munges the code in the input function to better prepare it for
20 #include "llvm/Function.h"
95 bool runOnFunction(Function &F);
103 bool EliminateMostlyEmptyBlocks(Function &F);
114 bool PlaceDbgValues(Function &F);
126 bool CodeGenPrepare::runOnFunction(Function &F) {
145 for (Function::iterator I = F.begin(), E = F.end(); I != E; ) {
156 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
175 bool CodeGenPrepare::EliminateMostlyEmptyBlocks(Function &F) {
178 for (Function::iterator I = ++F.begin(), E = F.end(); I != E; ) {
296 // Remember if SinglePred was the entry block of the function. If so, we
614 const Function *F = BB->getParent();
1149 bool CodeGenPrepare::PlaceDbgValues(Function &F) {
1151 for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I) {