Lines Matching refs:SampleProfileLoader
77 class SampleProfileLoader : public FunctionPass { class
82 SampleProfileLoader(StringRef Name = SampleProfileFile) in SampleProfileLoader() function in __anon71199e280111::SampleProfileLoader
183 void SampleProfileLoader::printEdgeWeight(raw_ostream &OS, Edge E) { in printEdgeWeight()
192 void SampleProfileLoader::printBlockEquivalence(raw_ostream &OS, in printBlockEquivalence()
203 void SampleProfileLoader::printBlockWeight(raw_ostream &OS, BasicBlock *BB) { in printBlockWeight()
218 unsigned SampleProfileLoader::getInstWeight(Instruction &Inst) { in getInstWeight()
246 unsigned SampleProfileLoader::getBlockWeight(BasicBlock *BB) { in getBlockWeight()
270 bool SampleProfileLoader::computeBlockWeights(Function &F) { in computeBlockWeights()
305 void SampleProfileLoader::findEquivalencesFor( in findEquivalencesFor()
339 void SampleProfileLoader::findEquivalenceClasses(Function &F) { in findEquivalenceClasses()
410 unsigned SampleProfileLoader::visitEdge(Edge E, unsigned *NumUnknownEdges, in visitEdge()
432 bool SampleProfileLoader::propagateThroughEdges(Function &F) { in propagateThroughEdges()
536 void SampleProfileLoader::buildEdges(Function &F) { in buildEdges()
579 void SampleProfileLoader::propagateWeights(Function &F) { in propagateWeights()
644 unsigned SampleProfileLoader::getFunctionLoc(Function &F) { in getFunctionLoc()
706 bool SampleProfileLoader::emitAnnotations(Function &F) { in emitAnnotations()
731 char SampleProfileLoader::ID = 0;
732 INITIALIZE_PASS_BEGIN(SampleProfileLoader, "sample-profile",
738 INITIALIZE_PASS_END(SampleProfileLoader, "sample-profile", in INITIALIZE_PASS_DEPENDENCY()
741 bool SampleProfileLoader::doInitialization(Module &M) { in INITIALIZE_PASS_DEPENDENCY()
754 return new SampleProfileLoader(SampleProfileFile); in createSampleProfileLoaderPass()
758 return new SampleProfileLoader(Name); in createSampleProfileLoaderPass()
761 bool SampleProfileLoader::runOnFunction(Function &F) { in runOnFunction()