Lines Matching refs:Function

37 #include "llvm/IR/Function.h"
126 unsigned getFunctionLoc(Function &F);
127 bool emitAnnotations(Function &F, DominatorTree *DomTree,
141 bool computeBlockWeights(Function &F);
142 void findEquivalenceClasses(Function &F);
146 void propagateWeights(Function &F);
148 void buildEdges(Function &F);
149 bool propagateThroughEdges(Function &F);
250 SampleFunctionProfile &getProfile(const Function &F) {
302 bool runOnFunction(Function &F) override;
372 OS << "Function: " << FName << ":\n";
402 /// Function names must be mangled in order for the profile loader to
591 bool SampleFunctionProfile::computeBlockWeights(Function &F) {
594 for (Function::iterator B = F.begin(), E = F.end(); B != E; ++B) {
663 void SampleFunctionProfile::findEquivalenceClasses(Function &F) {
667 for (Function::iterator B = F.begin(), E = F.end(); B != E; ++B) {
715 for (Function::iterator B = F.begin(), E = F.end(); B != E; ++B) {
753 /// \param F Function to process.
756 bool SampleFunctionProfile::propagateThroughEdges(Function &F) {
759 for (Function::iterator BI = F.begin(), EI = F.end(); BI != EI; ++BI) {
860 void SampleFunctionProfile::buildEdges(Function &F) {
861 for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I) {
903 void SampleFunctionProfile::propagateWeights(Function &F) {
923 for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I) {
964 /// \param F Function object to query.
968 unsigned SampleFunctionProfile::getFunctionLoc(Function &F) {
1036 bool SampleFunctionProfile::emitAnnotations(Function &F, DominatorTree *DomTree,
1091 bool SampleProfileLoader::runOnFunction(Function &F) {