Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Function

28   template<> char ProfileInfoT<Function,BasicBlock>::ID = 0;
42 ProfileInfoT<Function, BasicBlock>::ProfileInfoT() {
46 ProfileInfoT<Function, BasicBlock>::~ProfileInfoT() {
54 const double ProfileInfoT<Function,BasicBlock>::MissingValue = -1;
60 ProfileInfoT<Function,BasicBlock>::getExecutionCount(const BasicBlock *BB) {
61 std::map<const Function*, BlockCounts>::iterator J =
138 double ProfileInfoT<Function,BasicBlock>::getExecutionCount(const Function *F) {
139 std::map<const Function*, double>::iterator J =
144 // isDeclaration() is checked here and not at start of function to allow
167 void ProfileInfoT<Function,BasicBlock>::
183 void ProfileInfoT<Function,BasicBlock>::addEdgeWeight(Edge e, double w) {
192 void ProfileInfoT<Function,BasicBlock>::
202 void ProfileInfoT<Function,BasicBlock>::removeBlock(const BasicBlock *BB) {
203 std::map<const Function*, BlockCounts>::iterator J =
212 void ProfileInfoT<Function,BasicBlock>::removeEdge(Edge e) {
213 std::map<const Function*, EdgeWeights>::iterator J =
222 void ProfileInfoT<Function,BasicBlock>::
237 const BasicBlock *ProfileInfoT<Function,BasicBlock>::
281 void ProfileInfoT<Function,BasicBlock>::
313 /// This checks all edges of the function the blocks reside in and replaces the
316 void ProfileInfoT<Function,BasicBlock>::
320 const Function *F = DestBB->getParent();
321 std::map<const Function*, EdgeWeights>::iterator J =
366 void ProfileInfoT<Function,BasicBlock>::splitEdge(const BasicBlock *FirstBB,
370 const Function *F = FirstBB->getParent();
371 std::map<const Function*, EdgeWeights>::iterator J =
412 void ProfileInfoT<Function,BasicBlock>::splitBlock(const BasicBlock *Old,
414 const Function *F = Old->getParent();
415 std::map<const Function*, EdgeWeights>::iterator J =
441 void ProfileInfoT<Function,BasicBlock>::splitBlock(const BasicBlock *BB,
445 const Function *F = BB->getParent();
446 std::map<const Function*, EdgeWeights>::iterator J =
478 void ProfileInfoT<Function,BasicBlock>::transfer(const Function *Old,
479 const Function *New) {
480 DEBUG(dbgs() << "Replacing Function " << Old->getName() << " with "
482 std::map<const Function*, EdgeWeights>::iterator J =
504 bool ProfileInfoT<Function,BasicBlock>::
582 bool ProfileInfoT<Function,BasicBlock>::EstimateMissingEdges(const BasicBlock *BB) {
635 void ProfileInfoT<Function,BasicBlock>::repair(const Function *F) {
637 // for (Function::const_iterator FI = F->begin(), FE = F->end();
668 // First iterate over the whole function and collect:
669 // 1) The blocks in this function in the Unvisited set.
671 // 3) The flow that is leaving the function already via return edges.
673 // Data structure for searching the function.
990 errs() << "ASSERT: could not repair function";
991 assert(0 && "could not repair function");
1019 raw_ostream& operator<<(raw_ostream &O, const Function *F) {